Forum Moderators: coopster
This indicates to me that an MCV implementation is better suited to OOP ... problem is that I've been a purely procedural guy and don't know if I can spare the time learning the OOP side just yet.
So, can an MCV framework be accomplished efficiently using the procedural route (and if so, can someone sticky me a url that I can take a look at?) or is OOP the only way to go?
Neophyte
SourceForge [sourceforge.net], phpclasses [google.com], Google Search [google.com].
In any case, I wish you luck! :)
OOP is to procedural
as an
external css class file is to the html code MSWord produces
I've learned that it's not about style, it's about levels of order. I also used to prefer to write my own code all the time, because it seemed that learning to use someone else's took me more time than writing it myself. I've now learned the error of my ways and see the benefit of being part of a coding community that uses "conventions", and is regularly enhanced.
OOP is not really that hard, and makes a lot of sense intuitively if you've coded for a while. As I learned I kept saying WOW!, I wish I new this before.
I recommedn you read some tutorials on OO PHP, and then read the Code Ignitor manual. See what you think. In coding I think the community approach, like in real life, always beats out the go-it-alone approach.
Basically, I want to do this myself so I know what's going on ... and I've been interested in learning PHP/OO for a while but am terrified by the (perhaps perceived) learning curve I'll no doubt have to undergo.
After reading a bunch about it (in generalities) it appears that OO is the way to accomplish my task as well as move into larger applications as time goes by.
But, like my very first skydive many years ago I'm both eager and apprehensive. I'm really a graphic designer (23 years now) by trade but enjoy coding and have learned that I need to extend my skillsets just to keep the bills paid as I'm an american expat living and working in Southeast Asia.
My locale is another problem for me - there's not much around here in the form of user-groups from which I may ask the most basic of questions to keep my head straight on this new track. That being said (and yes, I did google "php oo tutorials" and other variations of the same) can anyone recommond any very basic on-line tutorials on OO which is gentle on jargon and rich in leading beginning learners like myself by the hand? The search results I came across made my eyes start to glaze over.
Neophyte
Here's a few:
Classes and Objects (PHP 5) [us3.php.net]
The PHP Anthology Volume 1, Chapter 2 - Object Oriented PHP [sitepoint.com]
Google Search [google.com]
Best of luck!
you're really trying to wind me up aren't you ;)
I'll leave you to your little OOP chat
by the way, anyone ever seen Annie get your gun [google.com]? hehe