CodeIgniter 2.0: First Look at Reactor
If you are a PHP programmer then you have undoubtedly heard of the CodeIgniter (CI) framework at least once. First released in 2006, by EllisLab, CI has grown into the lightweight, fully functional and easy to use application framework of choice for developers across the web. A big milestone was reached two weeks ago with the release of version 2.0 and there has never been a better time to kick the tires and take it for a spin.
CodeIgniter 2.0 Released
The wait is over, CodeIgniter 2.0 has been released!! Apparently this happened last Friday and I simply didn’t notice until now. This release is exciting for 2 reasons, first it brings with it a shit load of new features and fixes and second it introduces CI Reactor which is a community driven branch of the framework. Theres a lot to digest and get excited about so check out the blog post for yourself and get coding!
Make Phone Calls with Code Using Twilio
Web applications are better than old school applications that get installed on your hard drive because you can access them from anywhere using the web. They do however suffer from the same limited communication channel as typical software because they can only interact with users via the computer. Users provide input via the keyboard and the app provides output via the screen. Wouldn’t it be cool if we could take advantage of other communication channels like phone and text messages to communicate with our users? Well now we can with the help of Twilio. In this post I’ll walk you through building an application that can make phone calls and send text messages using the Twilio API.
Review: CodeIgniter 1.7 Professional Development
Along with being a Zend Certified PHP5 engineer I’m also a strong advocate for application frameworks (CodeIgniter specifically). That’s why I was pleased when Pact approached me about a month ago to write a review of their new book about CodeIgniter (CI): CodeIgniter 1.7 Professional Development. Aimed at experienced PHP developers with a solid footing in object oriented programming, the book provides a detailed overview of the CI framework from an absolute beginners perspective. Chocked full of code samples and tips/techniques on how to leverage CIs tools this book is a great resource for anyone new to the framework looking to quickly get up to speed.
CodeIgniter 1.7 Professional Development
For you CodeIgniter fans out there, Packt released a new book last month called CodeIgniter 1.7 Professional Development. I got word this morning that my review copy is in the mail so keep your eyes out for my thoughts on this book in the coming weeks. From the summary it looks like it covers a wide range of topics from beginner to advanced so I’m excited to take a look. If interested, head on over to the Packt website to read a sample chapter on database interaction.
Facebook Connect Library for CodeIgniter
Just a brief follow-up to the post series I did a while back on Implementing Facebook Connect with CI. Today, Elliot Haughin continued his tradition of releasing helpful CI libraries and published a new library for implementing Facebook Connect using CodeIgniter. Haven’t had a chance to review it personally yet but I would imagine it’s just the thing to make implementing Facebook Connect on your CI site easier. Check it out!
Building Applications using CodeIgniter (Part 4) – Code Templates
Last July I wrote a post entitled “What does your code say about you?” In that post I discuss the importance of writing clean well formatted code. It’s vitally important, even if you are the only programmer working on a project, that you document and format your code because you may be the only programmer now but who knows about 6 months or a year from now. Plus, as a programmer, the code you write is a direct reflection on you as a professional. So far in this series I’ve discussed my typical application structure, configuration and helper files when developing apps using CodeIgniter (CI). In this final post I’ll review creating code templates for quick consistent development.
Building Applications using CodeIgniter (Part 3) – Helpers
So far in this series we’ve discussed framework/application structure and configuration information. The next thing I always add to new applications is some common helper files I’ve developed and that come in handy in most projects. CodeIgniter (CI) helpers are very flexible tools to assist with common tasks throughout the app. If it doesn’t belong in a controller and is too small for a custom library then a helper might be just what the programmer ordered.
Building Applications using CodeIgniter (Part 2) – Configuration
The framework that you use to build your application will end up being the foundation of your program. Everything that your program does will revolve around how that framework works. Things like naming conventions, file paths and settings are dictated by the framework. But if you have chosen a good framework, like CodeIgniter (CI), you will be able to manipulate how that framework works and the tools it makes available to you by modifying it’s configuration information. In the first post I talked about application file structure. Now that the structure is solid I’m going to look at how I configure the framework so that it works the way I expect.
How-to Ensure a Secure Connection Using PHP
Image via Wikipedia When submitting sensitive information over the web it’s important to ensure that the requested page is being accessed via an HTTPS encrypted connection. I’ve come across some forms that don’t check whether a secure connection has been made or not. In other words, you can delete the S from HTTP and instead of redirecting the user back to the HTTPS connection the form is just displayed unsecured. This is a BIG NO NO… as a programmer you cannot rely on the visitor, or even other developers who would be linking to the form, to request a form securely. In this post I will review how you can ensure that your users are accessing certain pages using a secure connection.
