December 4, 2009 - 3 comments

Creating an App from Scratch Source Files and Giveaway Winner

Posted by Jason Lengstorf in Development

Chris and I have packaged up the source code and PSD files for our Colored Lists web app and put them up on a splash page that includes navigation to the whole series.

Creating a Web App from Scratch Homepage

Also, we selected the five random winners for the book giveaway: congratulations to Bryan, gemmes, Gaston, An, and Mike Henderson. They'll be receiving a free copy of PHP for Absolute Beginners. If you didn't win a copy, you can still save on the ebook with the discount code PHPXBRZQXSIKG (good through 12/31/2009).

Next week we'll add a Part 9 to the series that will go over some of the bug fixes and security patches that were pointed out.

Published by: Jason Lengstorf in Development

  • Gary

    Thanks again Jason for an excellent series.

    I took the source code today and tried to replicate the site. Everything works great, except that it does not retrieve my list after I log out and log back in. I checked the db and all the data is there, it's just not being pulled into the page for some reason. I noticed someone else in Chris's comments experienced the same thing. Any thoughts?

    btw – Missoula is great! I'm originally from Great Falls and lived in Missoula from 1988-93 while at UM. We get up there every few years to visit friends and enjoy the outdoors.


  • @Gary:

    If the list items aren't showing up, check your database. If the items are saving, but not displaying, try running the query from getListItemsByUser() in — see if that fails; it might be an inconsistency in your DB tables.

    If that's not the problem, try setting the onSuccess and onError callbacks in lists.js to see if the AJAX calls are failing somehow. If you've got Firebug installed, you could just use console.log() to avoid a bunch of annoying alert boxes.

    Please let me know what you find! Thanks!

  • Hi Jason. Thanks for this tutorial. I tried to run the coloured list application on my local host before testing on a live server, upon copying it to my htdocs folder and trying to view on the browser, it gave me the following error:-

    Warning: require_once(inc/FirePHPCore/FirePHP.class.php) [function.require-once]: failed to open stream: No such file or directory in D:xampphtdocsColoredListscommonbase.php on line 13

    Fatal error: require_once() [function.require]: Failed opening required 'inc/FirePHPCore/FirePHP.class.php' (include_path='.;D:xamppphppear') in D:xampphtdocsColoredListscommonbase.php on line 13.

    Please any advice on what to do?