My New Site - 25/04/2006 03:27 GMT
I don't know how many of you have been to my previous site (thrasher7.net), I never used it and it was just a WordPress install. But I've now started a new site: mikevalstar.com.
Some people I chat with on IRC have asked me to teach them how to use PHP in a "proper" way; templates, database abstraction, and reusable code. I had tried just some IRC "classes" but timing wasn't good for everyone. I've been working on this idea for a few months and have come up with a plan on how the site will work and grow. The site is a tutorial in and of itself; the tutorials written on the site will be the site itself. Right now the site is extremely bare, mostly because at this point it's just a "hello world" script.
I think this will be a great way for people who wish to learn PHP to learn it using proper techniques in a real world enviroment. Because this code is live, I won't be able to half-ass anything, so everyone should get a proper understanding of every aspect of a complete PHP-based website.
Comments
Templates are NOT a "proper" way in PHP. PHP once was designed to negotiate the gap between code and HTML. If you want to seperate both of each other, better use Perl or Python.
johnny.sas.upenn.edu/~kazdan/210/web_script.html
wiki.python.org/moin/PythonInWebPage
the only language I know of that instils templating by default is ASP.NET; templating is best-practice in ALL webpage languages; weather it be a pre-built system or a custom one you SHOULD use one. For the project I'm writing I use a pre-built system because it is intended for the small web-developer.
I hope there will be an offline version of the lessons avaliable for download
-Jeremy
Lesson 0004 has a small error in "Changing the template", as you can't see the curly braces unless you click the link...
Besides that, keep up the good work. You're definately one of the coolest persons I "know" (gentoo-wiki, gentoo-portage and now PHP lessons... wheew...)
