vForums Support :: Programming & Coding :: Programming Discussion :: Cacheing, PHP framework - View Topic
| |
| Dylan Junior Member
Posts: 136 Status: Offline Gender: Male Joined:
pmwwwmsnaimxfire | Cacheing, PHP framework (21st Feb 08 at 12:28am UTC) | | Alright time to ask some more questions
Caching, I know vforums uses it and I'm not really sure what it is, I think it's where you store some information in a text file instead of constantly querying the database. or is there other ways. Like for general settings on a website(name, banner, images...) I could cache them in a file and just select them out of there?
PHP Framework, Artemis referred me to a framework call cake. But I don't really understand what a framework is? I see things like $this->username-> something to that effect? What is that doing, accessing a class? Do you guys make your own frameworks or use a preexisting one?
| |
|
| Paddy Full Member
Insane Clown
Posts: 288 Status: Offline Gender: Male Location: Buffalo, New York Age: 34 Joined:
pmwwwskypeaimgtalk | Re: Cacheing, PHP framework (21st Feb 08 at 12:54am UTC) | | A framework is a set of programming structures that allow a programmer to do oft-repeated tasks in a more simple way, to keep the definition basic.
For example, in cakePHP, I have way of accessing the database without writing out all the code, but by using shortcuts. It also automatically makes my URLs 'pretty'.
Most of them are class based, yes.
~Artemis | |
| |
| |
|