Summer Sale! All accounts are 50% off this week.

osgaldor's avatar

Request for Jeffrey

Hi Jeff:

I love your content. I have been enjoying your PHP for beginners series on YouTube. I'm an experienced developer of Java, VB.Net, Ruby, and Python. I'm even in the planning stages of creating a new programming language myself. I started with web development in the 90's with HTML 3. I actually used to write markup in notepad until I discovered HTMLKit 282 that has since become my favorite. I have done some work with PHP, but I am far from your "GrandMaster Yoda" level, though my apprenticeship is in progress I hope. I have developed a Database abstraction using a PDOKey class that reads database credentials in from a .ini file using dependency injection to instantiate the Singleton Database instance. I am something of an old school purist who would rather re-invent the wheel than use an off-the-shelf framework. I like your approach in the PHP for beginners series with the Notes app, and I would like to ask if you would consider making a more intermediate/advanced tutorial series on building a custom MVC framework from scratch. I'd particularly like to see how you would approach creating controllers and models using abstract classes and homebrew templating.

I realize this is a big ask, so I'm hoping you will take pity on a lowly padawan and give me some insights from the higher path you tread.

A big fan and fellow Florida Man

Rev. Osgaldor J. Storm, D.D.,D.M. Bascom, FL (stormybear on YouTube)

0 likes
4 replies
jlrdw's avatar

You can actually see all of this already by looking at the framework. Not laravel but the framework. https://github.com/laravel/framework

Everything that makes laravel work is there, but you have to look at some of the symfony framework components as well as the framework uses some of them. Plus any other included in composer.json.

I built a custom framework several years ago and keep it updated, you have to keep up with PHP change logs.

I haven't messed with it in a while since I am doing a lot of python now. But your post reminded me to update it again.

osgaldor's avatar

I'm looking through that repo and I'm not finding core classes like Controller or Model could you give me a hint where to look?

Storm

osgaldor's avatar

I'd love to look at your custom framework. Link?

OJS

Please or to participate in this conversation.