Published: Monday, January 7th, 2008

So I guess the CakePHP development staff doesn’t take any holidays. Bright and early New Years Day 2008, we’re greeted with a fresh new release of CakePHP 1.2.6331 beta. No, not pre-beta a full blown beta. Needless to say I’m excited about this.

There have been some nice changes which have gone through all through the Christmas season. Guys, I thank you for your dedication. The one major thing I’m excited about is the way that the Form Helper now processes dates and times; there’s no longer a cleanUpFields() function, everything is automatic (or should I say automagic). You’ll have modify your code since the result in $this->data is slightly different. There’s been some stuff deprecated and some stuff added.

The Model::generateList() function has also be deprecated, in favor of Model::find(’list’). It’s not an exact duplicate of generateList() but it gets the job done. Check out the cakebaker for more essential tips for upgrading from CakePHP 1.2 pre-beta to the fresh new CakePHP 1.2 beta.

Enjoy and Happy Baking!

Popularity: 46%

If you're new here, you may want to subscribe to my Full RSS feed. Thanks for visiting!



Published: Wednesday, January 2nd, 2008

I can’t remember where exactly I heard about this web host, but InsaneGB.com sounded like a great deal. You can read their website for more details, but in a nutshell they got PHP 5, MySQL 4, and everything (Databases, Add-on domains, etc) is unlimited except disk space and bandwidth. They give you 5GB for disk space and 20GB on bandwidth per month. Which is great for a free host, if you ask me; heck, they even offer cron jobs.

Testing Their Setup

So I decided to give them a shot. I put up my personal blog on their server. In retrospect, maybe that wasn’t such a great idea, but I did it anyway. At first everything was great. Stuff was fast and everything was popping up instantly. There were some things that most would consider acceptable for a free host.

  • I couldn’t run any PHP ini_set commands

    So there’s no increasing running time for scripts. I guess I would live without that.

  • You can’t open/download any files from outside servers

    This I came across when trying to use some of my Wordpress plugins that automatically install plugins and automatically upgrade the Wordpress installation. Oh, well.



Published: Tuesday, January 1st, 2008

One problem that I’ve always had with finding CakePHP related information over the internet is the multiple sources. I wouldn’t so much mind if all these sources were legit. The thing that pisses me off is those scrapers who scrape the entire CakePHP mailing list. To me, there’s nothing worse than asking a question in the mailing list, then searching on Google for an answer, just to find some idiot has scraped your question from the mailing list. I try to report them when I can, but I just can’t seem to keep up.

Sorry for the rant, back to my point. Sharan over on the CakePHP mailing list has made the process of finding the latest CakePHP information a lil’ bit easier. Using Yahoo Pipes, he’s taken feeds the most popular CakePHP RSS feeds and consolidated them into one giant feed - http://feeds.feedburner.com/cakephp. The great thing is that he’s also taken some of the non-english blog feeds and slapped on some translation. What more could you want?

I’m not sure how much the author values his privacy, so if you want to get in contact with him and/or view the Yahoo Pipes source for this feed, head over to the CakePHP mailing list and search for: “http://pipes.yahoo.com/sharanbrar/cakephp”. If you think that their’s a blog missing, just leave a comment here and I’ll route it to the author.



Published: Monday, December 31st, 2007

After reading about Matt’s Experience with the Zend Framework, I came to the conclusion that one’s choice of a Web Development Framework doesn’t really matter. There are tons of frameworks out there and there’s a good reason for that. People still use them. If no one used a framework it would die a quick and painless death. Different frameworks offer different benefits to different people.

However, I’m willing to bet that First Choice is one of the main factors affecting a developer’s choice of framework. I fell into CakePHP first because I had an initial choice of CakePHP and Code Igniter. I couldn’t quite get CI working quickly enough, so I jumped on CakePHP and I’ve been here ever since.

Something else which solidifies the First Choice method is that the frameworks are sufficiently different that there is a learning curve when moving from one to the other. If you’ve started using one framework effectively, learning another (even to discover potential benefits) is usually not worth the time.

So I say this to you; be confident in your choice of a web development framework. Code Igniter, CakePHP, Symphony, even Ruby on Rails, it doesn’t matter and no one cares as long as you can crank out functional web applications in a reasonable amount of time.



Published: Saturday, December 29th, 2007

One thing that I liked about the jQuery website is that they offer a compressed version of the jQuery script on the website ready for immediate download and usage. This is convenient if you don’t want to go through the few steps it takes to Minify your own javascript code.

Well we now have this same luxury for Prototype and its Script.aculo.us library read for download.

Enjoy folks.

Popularity: 28%



Published: Friday, December 28th, 2007

One of the nice things about CakePHP is that it includes ready to use CSS compression. Granted, compressed CSS can be buggy at times, but for the most part it works just fine.

I've always wondered why no one has included something like this for Javascript, since that's usually the bigger culprit when we're talking about document size. I've tried using Minify in the past. However, it took a lot to get it working right. And I really hate hacking stuff just to work with CakePHP. That, coupled with the fact that I'm a lazy bastard, meant that I gave up the Minify train rather quickly.

Mark Story To The Rescue - JSMIN Javascript Helper

At the time, I hadn't heard about the JSMIN library, which does pretty much the same thing the Minify does, but without the CSS. Luckily, Mr. Story had some vision after his Christmas festivities and cake up with a JSMin Helper for CakePHP. This helper works by Minifying the chosen Javascript. This involves stripping unnecessary characters (line breaks, comments, spaces, etc) from the .JS file.

It also includes functionality to cache the resulting files. What more can you ask for?

Usage:



Published: Thursday, December 27th, 2007

In the last five (5) years another key phrase hit the Web Design scene and hit it hard. SEO or Search Engine Optimization is that phrase. It deals with optimizing the content and code on a website to cause the page to rank better in different search engines. Gone are the days when you slap some keywords and a description in the META tags and call it a night.

Now SEO is an entire business by itself, sometimes completely separate from the design process, so it should not be taken lightly. But, a little is always better than none. So here are some basic tips that you can use to help your pages rank better for your desired keywords.

1. Structure Is Everything - Titles, Headings, etc

As I said before, ye ole' meta tags are less effective. As a matter of fact, some search engines completely ignore them. There are, however, tags that search engines do consider:

  • title
  • h1, h2, h3, etc
  • strong, em, b, i


Published: Wednesday, December 26th, 2007

One thing that has plagued me as a designer for many years is the ability to test my designs in multiple web browsers. Back in the day, computers came with Internet Explorer 5.5 and that's it. Installing a later version would always overwrite the previous one, so it became difficult to test my designs properly.

The Easy Guys - Netscape and Opera

Testing in Netscape is rather easy. You can download and install multiple versions of Netscape and they have no interaction with each other as long as you install them to different folders. That's it.

Opera follows the same process.

A Bit Trickier - Firefox

Firefox is slightly more difficult, but still a piece of cake. Head over to Portable Apps and grab the latest version of Firefox Portable. While you're there, look up the legacy versions that fit your fancy and expand each to a different folder.

These are self contained consolidations of the browsers. Rather than sticking their settings in Documents and Settings/Application Data/, they dump all their settings in their respective folders.



Pages (26): « Previous Entries 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Next Entries »