this post was submitted on 19 Dec 2024
1 points (100.0% liked)

PHP: The latest news in the PHP world

5 readers
1 users here now

Share and discover the latest news about the PHP ecosystem and its community. Please respect r/php's rules.

founded 1 year ago
MODERATORS
 
The original post: /r/php by /u/samuelgfeller on 2024-12-19 16:20:08.

I'm excited to share this project I've been working on for the past 5 years. I quit my job to focus all my time and energy on learning how to build a lightweight, agile, full-size project.

Code: https://github.com/samuelgfeller/slim-example-project

Documentation: https://samuel-gfeller.ch/docs

I wanted to get my hands dirty in a real project without constraints other than learning as much as I could. So I decided on some basic features that lots of projects typically use such as Validation, Authentication, Authorization, Localization, Users managing resources, Testing, Dark Theme etc.

My goal was to touch as many things as possible and do them cleanly at least once, so that they can serve as templates in my future projects.

So for every little part of this project I did a lot of research, trial and error and carefully chose what worked out the best for me.

The most important priority besides performance was simplicity and intuitive code. In 5 years I still want to understand what I've written (:wink SRP) and hopefully everyone else can also quickly understand my code.

As I progressed I remembered me starting out and being frustrated with tutorials and documentations that either don't really help in a "real-world" context or that require a lot of base knowledge.

I wanted to share everything, so I wrote a documentation with the most simple words that I could find breaking down complex concepts into practical examples without leaving out crucial details that seem obvious to experienced devs but are not for beginners.

Feel free to ask me anything!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here