Entries filed under 'Php'

Refresh Cambridge October: PHP Frameworks

Filed under Refresh-Cambridge, PHP on 8.10.07

Another month, another Refresh Cambridge evening, which this month was all about PHP frameworks.

I kicked off with an explanation of MVC and looked at the positive and negative aspects of the most popular frameworks, before diving into a lengthy demonstration of using CodeIgniter to build a simple ‘latest news’ page. My slides are on SlideShare if anyone’s interested, although obviously there’s no interactive demo available there!

Read the full entry... | Comment [3]

Porting Active Record to CodeIgniter

Filed under PHP on 20.09.07

While I may still call myself a web designer, I very rarely dive into Photoshop these days—in fact, for the last year or so I have been almost exclusively dealing in either JavaScript or PHP. My productivity in the latter has been greatly enhanced by my adoption of the CodeIgniter framework for large projects, such as the bespoke CMS I recently finished building for local agency Digital Spoke.

Read the full entry... | Comment [4]

Code Igniter redux - I'm an idiot

Filed under PHP on 14.05.06

Since my last post complaining of problems with Code Igniter, I finally tracked down the cause – PEBCAK as per normal.

Pay better attention to errors

In my frustration at what I thought was an online vs. offline configuration problem, I didn’t pay too much attention to the error message I was getting; on closer inspection, it turned out to be a line of a method of the database class that I wasn’t using in my function – weird, right?

Read the full entry... | Comment [4]

Code Igniter hates my server

Filed under PHP on 8.05.06

I spent the weekend getting to grips with Code Igniter, the relatively new PHP web-app framework from pMachine (creators of Expression Engine) – and I’ve got to say I’ve never developed an application so fast!

Read the full entry... | Comment [4]

Building a simple PHP shopping cart

Filed under PHP, MySQL on 21.11.05

Update 21/11: I’ve added a demo and downloadable .zip file at the end of the article.

Update 07/12: Thanks to Greg and Rob Shan Lone for spotting a bug in the cart update code – I’ve now fixed this and updated the demo and .zip file; thanks guys!

Read the full entry... | Comment [113]

|