Capistrano and PHP
Capistrano loves PHP also! When I say Capistrano to most PHP developer they think Ruby on Rails right away. This is mostly the case because Capistrano got it’s fame from the Rails community. Capistrano has been good to thousands and thousands of Rails developers so why can it do the same for a PHP developer [...]
Codeigniter Views
Multiple views! Did you know you can load multiple views in a Codeigniter controller method? I have always believed it was one view to one action, but that is not the case! CodeIgniter will intelligently handle multiple calls to $this->load->view from within a controller. If more than one call happens they will be appended together. [...]
Skoot PHP Framework
Skoot a micro framework This small but powerful PHP “micro” framework is a result from another project. I started using a “micro” framework called NiceDog. NiceDog is a very cool little one file framework that is super simple to use and get started with. It lacks the basic needs such as a database layer and [...]
Caching Driver CI 2.0
With the latest release of Codeigniter, they added whats called “Caching Driver” allowing you to now use Memcache without going to a separate library as detailed in an older post: Memcache with Codeigniter. They now also support File based caching, Alternative PHP Cache (APC) Caching and Dummy Cache. CodeIgniter features wrappers around some of the [...]
Quick and Easy Way To Do Autocomplete
Auto complete forms are now becoming essential to every day web development and knowing how to build such a tool will in some cases make you a hero! In the tutorial below i will be using PHP and jQuery. jQuery offers its own tool for this common problem in the jQuery UI library.
PHP/MySQL after 2010-005
After applying Security Update 2010-05, some users have reported PHP and MySQL problems, including an inability to connect to MySQL databases. Apple reports that the following procedure resolves the database connection issue: In the Terminal type sudo nano /etc/php.ini (Terminal will ask you for your password) Change: mysql.default_socket = to: mysql.default_socket = /tmp/mysql.sock Press Ctrl-O, [...]
phpArmory for WoW
phpArmory is a PHP class library. It allows php software developers to easily access data from the World of Warcraft Armory website. This is useful because the Armory website contains up-to-date and official details on characters, guilds, and items in World of Warcraft.
PHP 5.3.3 Backwards incompatible change
Methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn’t affect non-namespaced classes. namespace Foo; class Bar { public function Bar() { // treated as constructor in PHP 5.3.0-5.3.2 // treated as regular method in PHP 5.3.3 } } Update from [...]
var_export in PHP 5
So var_export(mixed $expression [, bool $return = false ] ) outputs or returns a parsable string representation of a variable.
Data Filtering
Time to leave $_GET and $_POST in the dust! In fact, you probably shouldn’t use $_GET and $_POST anymore. Since PHP 5.2, there is a new and better way to safely retrieve user-submitted data.
Paulette Greene
One of the latest project i have done for SCI is for a client named Paulette Greene. They are a large realtor shop here in the DFW (Dallas/Fort Worth) area.
Query Strings in Codeigniter
In some cases you might prefer to use query strings URLs and not the pretty URLs. CodeIgniter optionally supports this capability which can be enabled in your application/config.php file.
PHP5 Method Chaining
One improvement over PHP4 to PHP5 is something called method chaining and enables us to do pretty cool things like…
Nice Dog Framework
I just came across this mico php framework a few nights ago. When i say “micro” i mean micro, this framework is one file!



