Under the Zend Framework, all URLs get mapped to mvc.php which in turn acts as the router. There are separate directories / folders for code in each of the
• model
• view
• controller
and a wide variety of configuration files and libraries used too.
Here's a diagram showing the lay ....
I've often described Well House Consultants as a "mom and pop" company - a small outfit where we provide a niche service (IT Training and a business hotel in Melksham). We make heavy use of PHP on our web sites, and it serves us very well, being quick and easy for us to code and running well on ou ....
I often say to delegates that I train that they could write code that makes the dog's dinner look neat:
Really, that's not a good approach to code writing ... for sure, it can be cleaned up ...
... and you can end up with something sparkling tidy ...
... but why not write it tidy in the fir ....
Part 2 of my "PHP revision" for delegates who will be doing substantial project / systems work. (Part 1 [here]).
Object Oriented techniques give programming languages a practical expandability and robsutness as applications written in them grow in size. Code is separated into classes, with each ....
It's a big step from a few lines of PHP in a website which flashed up "Message of the day" ... to a system which computes results and looks up data dynamically ... to a system which requires pages to be linked together into an application ... to a system which requires access to back end data feeds ....
From the Bath customer panel (of which, somehow, I'm a member ...) here are the services that will be running on Melksham routes (234, 235, 271 and 272) over the holiday period.
Normal days:
Up to and including Sunday 23rd December - normal service
Saturday 29th December - normal Saturday service ....
I have a London meeting at 09:30, and traveling up by train it should be routine, straightforward, worry-free. I would love to have got a bus to the station at - say - 06:50, catch the 07:20 train, change at Swindon and be in London at 08:50 and then catch the tube - 09:15 arrival just a few minut ....
We live in a quiet little town in the English countryside, set way back in time where nothing has changed for many years, right?
WRONG! It never ceases to amaze me how many advanced engineering skills we have in this town - how many innovative and international businesses where the technology you' ....
In any object oriented language, you'll have a number of different objects of the same type, and you'll need to be able to refer to a paricular attribute within a particular object - usually, you'll call a named piece of code (a method) on an object and need to say "on THIS object" ... let me rephra ....