PDA

View Full Version : How to get started... please help !



TarekAHF
3 Nov 2009, 2:11 AM
Dear All,

I am new to ExtJS and Ext WGT. I am a developer on .NET Platform, and I can develop Web Services and related components.

Today, I received a request to create a report showing the Laboratory Summary (count) by Test Name for the last n months for a give number of Lab Test Names.

The user must be able to provide the filter parameters: the Period (last n months) and the list of Test Names to show the count of such tests.

I have already developed the SQL Server Stored Procedure, and I am about to develop the .NET Web Service, XML, JSON or REST Interface which will be implemented by a Library such as ExtJS, Ext GWT or YUI Library.

The report should be initially very simple and looks like a normal grid/table. I expect for the next version, they want to get a drill-down feature to list the name of staff who requested a given Laboratory Test by clicking on the row on the table.

I am not exactly sure how to proceed forward, basically, what I need to do to provide the Data to the consumer part, should I provide it in XML, Web Service or Json ....etc.

I can implement this requirement very quickly using SQL Reporting Services, but kind interested in developing it using ExtJS or GWT, but still not quite sure what is the added value, when compared with SQL Reporting Services.

What is the main difference between ExtJS and Ext GWT ?

Appreciate your feedback on this.

Tarek.

uniring
3 Nov 2009, 4:11 AM
Take a look at the samples page (http://www.extjs.com/deploy/dev/examples/samples.html) and see the source code of the xml grid example (http://www.extjs.com/deploy/dev/examples/grid/xml-grid.html).

Also take a look at the api docs (http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel).

If you need to learn ExtJS basics go here (http://www.extjs.com/forum/showthread.php?t=66423).

The main difference between ExtJS and EXT GWT is that the JS version runs from Javascript and the GWT runs at the Google Web Toolkit (java).

TarekAHF
3 Nov 2009, 4:22 AM
Take a look at the samples page (http://www.extjs.com/deploy/dev/examples/samples.html) and see the source code of the xml grid example (http://www.extjs.com/deploy/dev/examples/grid/xml-grid.html).

Also take a look at the api docs (http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel).

If you need to learn ExtJS basics go here (http://www.extjs.com/forum/showthread.php?t=66423).

The main difference between ExtJS and EXT GWT is that the JS version runs from Javascript and the GWT runs at the Google Web Toolkit (java).
Thanks a lot. Your answer was very helpful to me.

How do you compare YUI Library with ExtJS ?

How do I choose ?

Tarek.

uniring
3 Nov 2009, 5:05 AM
Well, I never worked with YUI but when I was deciding what JS framework we will use in a new project some time ago, when I never used ExtJS too, I took ExtJS because it had more controls, they were more powerful, every one had a lot of options and well, the documentation is very clean and the samples page gets you started very fast.

Also I like the design of ExtJS components and a lot of questions I had were solved looking at the forums (I mean the community is large and active).

I don't went so far using YUI to say that YUI don't have some of the features I said, just pointing what made me use ExtJS instead of YUI some years ago.

Really the most important thing made me use ExtJS was the clarity of his samples and documentation in front of the complex and obfuscated YUI page.

TarekAHF
5 Nov 2009, 1:51 AM
Thanks a lot. I started with the Learning Center for ExtJS and it is a killer ...! (I mean of course great ). I agree with you regarding YUI...

I completed the HTML setup Page instructions, and I got error that "console" is not defined. I did some research and figured out that I am using IE8 and FireBug is not supported. So, I found out that IE 8 has built-in JS Debug Tool (F12) similar to FireBug and it does a great job. FireBug Lite for IE is not good enough.

I decided to stay with IE8 built-in JS debugger in order to reduce the time I need to learn and install new things.

I have the following questions, and hope to get help, to reduce the time I need to do research so that I can learn ExtJS more quickly ;)

- How I can use the debugger tools (like the console object) of IE8 from my Javascript code ? Same like the example where it is using console to print debug messages.

- Since I am based on .NET 2.0, I found in the manual of ExtJS that I can use AjaxPro, Json.Net ...etc to help me in developing the server side works of ExtJS. Is my understanding correct ? So, I need such .NET libraries to help me access my Data on the Server, and Return the result in Json or supported format for ExtJS ? And same applies for posting back to the server ? So, if .NET Framework 3.5 does support such requirements, then there is no need for me to use such libraries (AjaxPro, Jayrock ...). Appreciate your clarification.

Tarek.