.

End-to-end ExtJS application (Part 2)

April 12, 2008. Posted by Jorge

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 from the Downloads page.

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 (544.00 bytes). Enjoy!

 

   E-mail   Permalink    Comments(7)   Trackback

Related posts


Comments


Shankar

April 21, 2008 06:59

Great Job! Excellent way to summarise EXTJS especially when one is seriously comtemplating to implement REST model like ASP.NET MVC. The article has reinforced my thinking on Implementation.



miamicoder.com

May 30, 2008 09:22

Pingback from miamicoder.com

How to Build a Real-World BlackBerry Application 2


Martin

September 2, 2008 16:56

Can we get the database to import into mssql?

Thanks for the great app to learn EXTJS Smile


Jorge

September 3, 2008 17:36

Martin, I just added the sql script at the bottom of the article.


dvsingh

September 30, 2008 08:04

good and helping


Reza

December 10, 2008 23:50

What should i do if i want to build a web with extjs ?


tiffany

June 15, 2009 02:11

I have read it .good!

Add comment


  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview



July 4, 2009 01:24