vForums Support > Programming & Coding :: Programming Discussion :: > Cacheing, PHP framework
Cacheing, PHP framework - Posted By Dylan (dylan) on 21st Feb 08 at 12:28am
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?
Re: Cacheing, PHP framework - Posted By Paddy (artemis) on 21st Feb 08 at 12:54am
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