Hi there! Welcome to our blog. Don’t forget to sign up for our free RSS feed. We Triple Dog Dare Ya! And thanks for visiting!These are my links for November 23rd from 20:40 to 21:06:
10 Principles of the PHP Masters - NETTUTS - Ten principles to live by, from not trusting your users (hey, [...]
Tags: advice · ajax · business · code · coding · css · design · development · free · howto · javascript · library · opensource · php · programming · reference · resource · rss · script · software · tddm · tutorial · tutorials · web · web2.0 · webdesign · webdev · webdevelopment · wordpress
My new (brief!) intro to CodeIgniter is now available over at IBM DeveloperWorks. The article walks you through a very fast setup (less than one hour) of a one- or two-page web site (or landing page). It shows you how to set up a model, a controller, and various views, and how to store information [...]
Tags:
(I’m on a roll here, folks. Sorry for all the notices. We had a number of last-minute changes in the code, and the chapter examples didn’t get updated….and when you look at it 300 times, you just start missing stuff.)
On page 102 the search() function contains this group of code:
if ($this->input->post(’term’)){
$search['results'] = $this->MProducts->search($this->input->post(’term’);
}else{
…
The [...]
Tags:
On page 110, there is this code in the function updateCart:
if (count($fullproduct)){
if (isset($cart[$productid])){
$prevct = $cart[$productid]['count'];
$prevname = $cart[$productid]['name'];
$prevname = $cart[$productid]['price'];
The second $prevname should be $prevprice, like this:
if (count($fullproduct)){
if (isset($cart[$productid])){
$prevct = $cart[$productid]['count'];
$prevname = $cart[$productid]['name'];
$prevprice = $cart[$productid]['price'];
Bookmark:
Tags:
On page 87 (chapter 4) we have the following example code:
$home['mainf'] = $this->MProducts->getMainFeature();
$skip = $home['mainf']['id'];
$home['sidef'] = $this->MProducts->getRandomProducts(3,$skip);
$data['main'] = $this->load->view(’home’,$home,true);
The code should instead be the following:
$data['mainf'] = $this->MProducts->getMainFeature();
$skip = $data['mainf']['id'];
$data['sidef'] = $this->MProducts->getRandomProducts(3,$skip);
$data['main'] = ‘home’;
$this->load->vars($data);
$this->load->view(’template’);
Bookmark:
Tags:
Many of you who know me know that I’ve been trying to follow the precepts of GTD (getting things done) and in particular, this idea that you can get to Inbox Zero. Inbox Zero is Merlin Mann’s approach to email management that involves a certain action-based zeal–get that sucker down to ZERO items.
Now, this doesn’t [...]
Tags:
I show you how to build a microsite manager with CodeIgniter.
Tags:
Good Times at iPhone DevCamp Austin.
Tags:
Join us Thursday August 7th, 6:30 pm at the Dog & Duck.
Tags:
My Professional CodeIgniter book from WROX is in the book stores now.
Tags: