Command-Line Fridays
So where have I been these days? In between my six jobs, I’ve decided that instead of updating this blog, I’d drink some beer. However, we’ve run out of beer, so here I am. Which is good for you, because I have a great big awesome announcement:
Command Line Fridays start today!
GUIs are great and all, and they certainly have their place, but for those of us nerds who love our keyboards (I’m the guy on the right), it doesn’t get any better than the old CLI. Read more
CodeIgniter on the Command-Line
So, yesterday, I spent a few hours trying to create a robust command-line interface for one of my CodeIgniter applications. I learned a lot about PHP-CLI. I also came to remember why it’s a bad idea to try and fit a round peg in a square hole.
The thing is, CodeIgniter is a great little web framework. See the key word in that sentence? Yes, you can hack some CLI functionality in, but if you want to start doing fancy stuff like adding multiple levels of interactive menus and such, then its time to rethink what you’re doing.
On the other hand, there are many reasons to create a simple CLI-interface to your web application. The main use would be for running of maintenance tasks and automated CRON scripts. For this kind of task, it’s very easy to create a CLI entry-point for your app.
I am an IT Professional in Tallahassee, Florida with a degree in Information Science.