Creating web applications with CodeIgniter (CI) is quick and easy because CI handles a lot of the typical application requirements right out of the box (like session management, database abstraction and file uploading). I’ve developed a number of applications with CI now, including BadgeTracker and Sign-Up-Sheet.com, and while CI does handle the repetitive stuff it’s still up to you to create a scalable and easy to update application. Over the last couple of years I’ve come up with a pretty solid structure and set of files that I use whenever I’m building a new app and in this series I’m going to show you what I do so you can get ideas for your own apps.
For those of you who havn’t given CI a try yet or are just starting out, Chris Cornutt wrote a nice intro. article for this months issue of php|architect magazine. Check it out!
The folks over at EllisLab have released CodeIgniter 1.7.0. The highlight of this release appears to be a brand new validation library as well as a number of other enhancements and bug fixes. Check out the change log for more information then download the latest. On another note, I know it’s been quiet here for the last month or so. I have been trying to get BadgeTracker 4.0 in shape for an early November release so I’ve been heads down coding. More soon…
It seems to be the “in” feature of most modern web apps today. Giving your users the ability to create a custom URL that they can use to access their account like http://chickenbbq.sign-up-sheet.com. From a feature stand point its nice because it’s another way users can customize your app to their specifications. From a developers perspective however it can be a bit challenging to implement if you don’t know what your doing.
Image by mathowie via Flickr SPAM… a nasty little four letter word. Could mean tasty meat in a can or could mean junk e-mails and form submissions clogging your server and taking up space in your inbox. We are all familiar with it and are engaged in a constant battle to stop it. In this tutorial I’m going to show you how to implement a popular 3rd party CAPTCHA service with your CodeIgniter application.
I wrote a post the other day asking if any developers would be interested in getting together and writing a tutorial series for CI. The discussion has generated some interest, so now I’m trying to see what users would like to see built. I think that if we define what we will be working on we might be able to generate some more interest from developers. Head over to the discussion and voice your opinion.
With the new version of CodeIgniter on the horizon I think it would be cool if we could get a group of developers together and build a tutorial series based on using CI to build a large scale web app. I think this has been attempted before but I’m not sure if anything has ever been produced as a result. So far the idea has gotten some positive feedback on the forums but no developers have indicated that they would be interested in participating. If this is something you would like to see done or if you would like to participate, head over to the discussion and let me know.
I just read a post on Sitepoint where the author, David Peterson, commented on a talk he saw Rasmus Lerdorf give. For those of you who don’t know, Lerdorf is the father of PHP and is still involved in it’s development. In this talk, Lerdorf decided to talk about PHP frameworks and why the majority of them are bloated and try too hard to be all things to all people. Anyway, in his talk he mentioned that he liked CodeIgniter specifically because it’s “faster, lighter and the least like a framework“. This is pretty high praise and I couldn’t agree more. I’m not sure I would say that CI is least like a framework because it certainly acts like one, but it is a lean mean programming machine! If your interested, head on over to Sitepoint and check out the whole article.
For those CI fans out there that don’t follow Elliot Haughins blog, he released an awesome project yesterday called Inferno. The idea here is to create a version of CI that has a bunch of third party code libraries already installed and ready for use. This could equate to a big time saver for those among you who use a lot of third party libraries in your CI applications. So far the package includes the following libraries: TarzanAws – Amazon Web Services, Akismet API and Simplepie RSS Parsing but he is looking for recommendations on what else to include. Download the code for yourself and check it out!
PDF files rock! Some of the programs used to view them could use some work, but the file format itself is real handy. As a programmer I have found PDF’s to be most helpful when generating reports that need to be printable. I know we are all supposed to be doing our part to make our offices “greener” and use less resources like paper. But some things just need to be printed (especially when your talking about the financial and legal industries). When generating reports in PDF format you suddenly have a lot more control over layout and design than you do with plain old HTML and CSS (although much progress is being made with print style sheets). You can create some really nice reports on the fly that your users can view, save for later or e-mail to their co-workers for review. In this post I will show you how I generate PDF reports using CodeIgniter.