<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 18:57:20 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Fawad Hassan's Blog: Load More Using KnockoutJS, PHP/CodeIgniter (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/17911</guid>
      <link>http://www.phpdeveloper.org/news/17911</link>
      <description><![CDATA[<p>
In <a href="http://www.ifadey.com/2012/05/load-more-using-knockoutjs-php-codeigniter/">this new post</a> to his blog <i>Fawad Hassan</i> shows you how to combine the <a href="http://knockoutjs.com/">Knockout.js</a> Javascript library that helps you implement a more powerful, MVVM application on top of the <a href="http://codeigniter.com">CodeIgniter</a> PHP framework.
</p>
<blockquote>
Everyone has used social networking sites and almost all of them implement Load More functionality to load additional posts/messages. Load More is actually alternate way of pagination. There are two kinds of Load More functionality. First is to load additional content when the user hits the scrollbar at the bottom of the page. Another kind is to load new content only when user clicks on "Load More" button. Personally I prefer the second one because it reduces the load on server and load content only when user wants it and in this article we will take a look at implementing this second kind.
</blockquote>
<p>
Included in the tutorial are all the steps you need including:
</p>
<ul>
<li>Creating the database and needed tables
<li>Configuring CodeIgniter
<li>Creating a model, controller and view (and ViewModel) in Knockout
</ul>
<p>
This is the first part of the series, so keep an eye out for part two that will include integration with a Twitter feed. If you want to jump to the "good stuff", you can check out <a href="http://www.ifadey.com/demos/14_load_more">this demo</a> or <a href="https://www.box.com/s/d9d6a724f671c5a9586d">download the source</a>.
</p>]]></description>
      <pubDate>Fri, 04 May 2012 11:28:04 -0500</pubDate>
    </item>
  </channel>
</rss>
