Archive for category web apps

Book Review: Code Igniter for Rapid PHP Application Development

Code Igniter for Rapid PHP Application DevelopmentIn this book, author David Upton walks you through use of the Code Igniter framework, which is essentially PHP’s answer to Ruby on Rails. I’ve been a avid user of Code Igniter since I discovered it last year, which is a nice waypoint for anyone trying to understand model-view-controller architectures and not wanting to make the move over to ROR quite yet.

The angle of this book is taken from a first time CI developer, but one with some knowledge of both PHP and web development in general. The initial chapters begin by exploring why you’d choose to use CI and some of its benefits over straight PHP code (such as saving on code reproduction or easing development burdens), though doesn’t really offer any real comparison of features of other similar frameworks. A traditional chapter on setup of CI is also included, (though I think at 4 pages could have perhaps been merged with another!).

The book then proceeds by tackling the subject at the core of CI, ‘model-view-controller’ and how this relates to traditional methods of programming. David breaks down how CI is structured very well and gives suggestions of how applications built within it should be designed to be successful. Some of the example code savings at this stage are somewhat minimal over a standard approach, but I think David conveys how these rack up throughout a web app. Useful chapters of how active record and CRUD can be used to ease DB interaction and also how views can be organised to avoid repitition complete with examples should allow any new CI developer to get to grips with it very quickly.

The later chapters quite extensively cover more “geeky” complicated subjects (using objects and namespaces, localisation, getting CI to interact with other services) which might be a bit much for a hobbyist user, but it gives some room for learning for others. The book also includes some good descriptions of how to make the most of the testing and profiling features which CI has out of the box to debug some of the larger web applications that you might undertake (Both features which I’ve previously been unaware of).

The use of friendly language is a welcome change from other texts, but I think in places it does get in the way a bit of the particular functionality which is being talked about. The constant reenforcement of the MVC throughout will be welcome for new converts, but my own practical experience suggests this might be better bent in places. A number of the descriptions of features provided in the book are at the CI site, and I think what might have helped this book is if a single larger running example led the way to describing each of the features.

At the moment, this is the only CI book available and it does well at covering the large featureset CI has. For a seasoned CI veteran it won’t bring any revelations, but if you’re new the framework it will serve you extremely well at getting your head round what makes it shine.

[Disclosure: This book was given freely by PackPub for review within the Cardiff Geeks group.]

Tags: , ,

4 Comments

First Cardiff Geek Meetup

The Cardiff geeks will be having its first ever face to face on Wednesday 17th October from 7pm at Cafe Floyd, just opposite the castle. Props to Dan Zambonini for organising the venue.

This is an informal, introduction between us all. If you’re a geek, or interested in chatting with us about what we and you are passionate about, make sure you get over there!

No Comments

FOWA Roadtrip Cardiff

Yes, yes I know I already posted about the FOWA Roadtrip in Bristol, but I live in Cardiff and have friends and colleagues in Bristol too. I promise I didn’t just head there for free drinks once again. This time the Carson Systems team had pulled together some funky little FOWA Roadtrip badges that they handed out on the door, rather than the stickers at Bristol. I’d previously learned that Ryan’s wife, Gillian had taken a MSc in Cardiff and it seems the same is true of Lisa Price too. I had a really interesting conversation with Lisa about how Future Publishing (whom she previously worked for) produced one of my favourite mags (PCFormat) back in my adolescence. (I actually still own all the magazines I bought for like 3 years and harbour plans to ship them back to Future in Bath, along with all the CDs).

Anyway, it was grand that those who were involved in the web app scene in Cardiff finally made it to an event together, and our newly formed Cardiff Geeks group is already scheming to stage another meet up for geeky people. (It’s a good label, it’s a nerd you don’t want to be).

1 Comment

Which would you rather introduce yourself with?

Last night I attended the FOWA Roadtrip in Cardiff, which was great. Unfortunately my “business” cards were a little lacking, due to me making a rather late order from moo and having to put something together by hand for the interim. They instead arrived today, about 14 hours too late. I felt like writing “beta” on hand hand-made ones or something…

Which would you rather introduce yourself with?

3 Comments

Cardiff Geeks

I’ve long wondered why there doesn’t seem to be much happening in terms of community of the web professionals in wales. There is a vibrant collection of people sporting different skill sets in the area, yet as I can see not a lot of chat amongst everyone in between different groups. On a whim, I decided to create a facebook group “Cardiff Web Geeks” to try and get people to come out of their shells and actually participate in a bit of discussion about tech topics in wales. I’ve invited a bunch of people who might be interested and hopefully we’ll be able to organise some sort of chats and discussions at meetups, rather than having to cross the border back to England and sponge from our friends over there. (Each one of those return trips costs…) If you are interested in what’s going on with people and the web in Wales, I’d invite you to sign up and participate in what hopefully could be built into a nice valuable community in our local area.

[Update - We now have our own website! Rock on!]

No Comments

Sharing too much?

I’ve heard a couple of rumours this evening that google may be launching a facebook app that allows your friends to see your search trends over time via your facebook mini feed. There’s some discussion over on facereviews.com that anything like this exists, but for me it raises an interesting question about how much information people are willing to share within their own “social networks”. Would I be comfortable with everyone knowing what I was searching for? Probably not at all – I don’t want everyone to be clued in to all those random tee sites I’m able to find. Probably nobody would really be interested, so whats the point anyway?

Google Facebook App
Image taken from Google Operating System

It also brings to mind an idea that I’ve been toying with for sharing how links between pages are made, where details of hyperlink clicks are captured to some repository somewhere. This would make it it possible for users to have a series of heatmaps upon any page to display details of common links that other users choose to follow from one page to another, and common routes accross the net to particular pages. Similar issues for whether or not takeup would occur, or the information is indeed useful to everyone exist also.

No Comments