First off you may ask, why would we need plurals in our locale files when we are defining everything our self? Well its quite simple, it is used within the Time helper (relativeTime(), etc) and can be used in conjunction with __n(). Well here is the proper way to do it. Continue reading...
Forum
The Forum is a CakePHP plugin based on the popular bulletin board system. Bundled with all basic features, simply drop into your application.
Entries for CakePHP
About a week ago I talked about automatically sanitizing your data before its saved. Now I want to talk about automatically stripping HTML from your data before its saved, which is good practice. Personally, I hate saving any type of HTML to a database, thats why I prefer a BB code type system for this website. Continue reading...
I recently needed the ability to display a list of feed items, but the catch was I needed them to be combined from multiple feeds, a feed aggregator. Its really simple, the script is a CakePHP Component that will take a list of feeds and aggregate them into a single array based on their timestamp. It works with RSS 1.0 (RDF), RSS 2.0 and Atom 1.0 and has the ability to cache its results. Continue reading...
So if you are like me and hate having to sanitize or clean your data manually within each action, and was hoping there was an easier way, there is. Simple combine the magic of the Models beforeSave() and the powerful strength of Sanitize::clean(). Continue reading...
For the past month I have been talking about CakePHPs lack of a built in uploader component or mechanism, and how I wanted to build one. Well I went ahead and did that, and now its available. The Uploader is primarily used as an all purpose file uploader and was built to not interact with a model/database. Here is a quick rundown of the plugin. Continue reading...
Popular Entries
Topics
- CakePHP (60)
- Code (19)
- Entertainment (2)
- Gaming (4)
- HTML & CSS (1)
- Javascript (6)
- jQuery (7)
- MySQL (1)
- Other (11)
- Personal (15)
- PHP (24)
- Plugins (5)
- Programming (9)
- Resources (13)
- Reviews (1)
- Tutorials (46)