Things tagged with Practices and Habits
-
Using bitmasks to indicate status
Oct 25 2008
At some point or another we’ve all had to make a data model that involved various flags to indicate different statuses / modes for an object. Often the schema for such a data model may end up looking like
-
Code Completion for CakePHP in Eclipse
Oct 04 2008
Eclipse is widely popular, robust and powerful IDE. It supports PHP through the PDT project . PDT gives you some good PHP related development tools, including code completion & code templates to help you save some time.
-
Providing Contextual Form Help with Mootools
Sep 25 2008
I like many webdevelopers build a lot of forms. Forms are the bread and butter of web applications, and while making forms is getting easier for developers, users often still have a hard time with them. In these circumstances it is necessary to give them a help above and beyond ‘password’.
-
Creating gracefully degrading javascript and enabling progressive enhancement
Sep 21 2008
Creating gracefully degrading Javascript and CSS is pretty simple these days. I’m sure this has been written about a million times over as well. However, I thought it would be worthwhile to share how I do it as well. Mainly, because in addition to AJAX and effects I use Javascript as a way of enabling different CSS selectors for elements.
-
Github hooked up
Sep 13 2008
As I post more and more code here, I’m finding it tedious to update all the various .zip files of code as I make changes. So I’ve taken a page from Tim and Felix and made an account at gitHub. This makes it easy for me and you to find the newest revision of whatever you may be looking for.
-
Reducing requestAction() use in your CakePHP sites with fat models
Aug 15 2008
When bakers first start using CakePHP there is a tendency to use
requestAction()more often than it should be. OftenrequestAction()gets used to pull in common elements like recent posts or new comments, or to make menus. This makes sense in a way as it keeps the comments code in theCommentsControllerand all is well.
Search
Recent Posts
- Using bindModel to get to deep relations
- New home, new sideproject
- Using bitmasks to indicate status
- AclExtras Shell
- Getting a new Oven, Migrating from CakePHP 1.1 to 1.2
- Code Completion for CakePHP in Eclipse
- CakePHP RC3 released and CakePHP 1.1 new release
- Book Review: CakePHP Application Development
- Providing Contextual Form Help with Mootools
- Creating gracefully degrading javascript and enabling progressive enhancement