VoiDeT 02.09.10 // CakePHP // (4) // 323 views
A site i was working with was using pagination quite extensively with lots of records and associations. This was producing unnecessary high load on the database and wait times on the production site. Caching had to be done. Unlike normal returned data from finds etc. Paginated data can not be cached as easily, as the paginate [...]
VoiDeT 10.29.09 // Ideas // (0) // 19 views
Well it’s been a long time since I’ve posted pretty much anything on my pages of wisdom here. Which pretty much indicates that I’ve been busy. Very busy, and loving it. I’ve been buried in books and code. My previous employer got me back off the job market and has been prepared to take me [...]
VoiDeT 08.26.09 // CakePHP // (5) // 2,738 views
If you have just woken up from a 10 year long coma, you might realise that the internet has been dumbed down to 140 characters and services that offer “URL Shortening” are quite widely used. Well today, coma awakened or not, I will be writing out a basic tutorial which will give you an understanding [...]
VoiDeT 07.30.09 // Work // (0) // 4 views
VoiDeT 07.07.09 // CakePHP // (6) // 101 views
I first got into CakePHP roughly 3-4 months ago. It was a result of me dropping the Python & Django books and running back to the PHP world, which I was already familiar with. I simply didn’t have the time to wrap my head around Python, Django, what a framework was, what MVC was and [...]
VoiDeT 04.08.09 // CakePHP // (0) // 408 views
Hey everyone. Not so much a tutorial here, but more so a snippet of code to help some of you out. My problem was with the CakePHP tree component. The way that the tree organised data in CakePHP works is through establishing a neighbour like system, where the elements are located through analysing not only [...]
VoiDeT 02.26.09 // CakePHP // (0) // 49 views
My net is capped at a lame speed of 6kbs. That’s what happens when you try to enjoy content on the internet and live in Australia. So when i’m trying to get some documentation for my CakePHP project i end up waiting like 5minutes for the damn page to load. Instead i found that you [...]
VoiDeT 02.26.09 // CakePHP // (0) // 74 views
If you have been reading the blog lately you will of noticed that I have changed my development path from Django using Python to CakePHP, tada, using PHP. I spent quite alot of time attempting to elarn both Python and the Django framework together. Much like learning Ruby on Rails or another language and framework [...]
VoiDeT 02.22.09 // CakePHP // (0) // 67 views
I love buying books. Taking one look at my bookcase makes this quite obvious. I do have quite a large selection of computer related books. I find that by reading into the subject matter, especially for programming, before acting on ideas or tasks provides a person with the tools and knowledge to get stuff done. [...]
VoiDeT 02.21.09 // Web Design // (0) // 27 views
Coming Soon, Built with CakePHP
VoiDeT 02.17.09 // CakePHP // (1) // 626 views
This problem arose while i was trying to get a random phrase from a database into the <title> HTML elements across all views. Being fairly new to CakePHP i was overwhelmed by some people’s solutions to accessing models site wide. However they forgot what CakePHP is based on, MVC. Breaking this system will leave you [...]
VoiDeT 02.13.09 // CakePHP // (2) // 62 views
VoiDeT 02.13.09 // CakePHP // (0) // 81 views
Using the Time Helper is much like using the HTML helper. Remember when you created a link?
So after adding the Time helper to the PostsController :
var $helper = array(‘Html’, ‘Form’, ‘Time’);
You will need to edit the date in view.ctp:
Date Published:
to:
Date Published:
Yay!
More CakePHP tutes to follow as i go along!
VoiDeT 02.12.09 // CakePHP // (0) // 57 views
At the end of chapter 4 there is a challenge:
You may have noticed that I left the commentstable out of the tutorial for this chapter.This was to allow you to try
building a “has many”relationship for the postsand commentstables on your own.In this exercise,associate
comments with posts by using the appropriate relationship,and test the association using the [...]
VoiDeT 02.11.09 // Books // (0) // 48 views
If you’ve been following my blog you would of noticed i am quite the django fan.
Well i give up trying to learn a language with a frame work. So i’m trying my hand at the popular cake php