End-to-End ExtJS Application (Part 2)

I just updated my sample end-to-end ExtJS application. As a reminder, I had defined just a few usage scenarios that would keep the application at a very basic level

  1. Browsing a collection of articles stored in a knowledge base repository
  2. Creation, edition or deletion of articles (any user can view, create, edit and delete any articles),
  3. View an article. The article’s visible attributes are
    • Title
    • Body
    • Tags, as a way to connect the article to specific topics
    • Author’s name
    • Date published

What’s new

The main goal for this release was to switch to a SQL Server-based articles repository. As you can recall from Part 1, the articles were being maintained in a file.

The original building blocks

Our building blocks after the update

What’s next

These are the changes I think I will be making in the future

  • Add pagination capabilities to the “articles list” GridPanel
  • Move string to resources file so it’s easier to localize the application
  • Create user extensions for the main components

Downloads

Download the source code for this article: KnowledgeBase.zip

Important: Remember to open your web.config file and enter the correct values for your database connection string before running the sample.

Update: Here’s the script for the only table in the database-based version of the application: Articles_Table.zip.

Enjoy!

About Jorge

Jorge is the author of Building a Sencha Touch Application, How to Build a jQuery Mobile Application, and the Ext JS 3.0 Cookbook. He runs a software development and developer education shop that focuses on mobile, web and desktop technologies.
If you'd like to work with Jorge, contact him at ramonj[AT]miamicoder.com.

Speak Your Mind

*