PUM 2.x – Sencha ExtJS Client Code

… after working hard on the server-side code generation for Gemstone, we switched to the client-side code generation for Sencha ExtJS5 library. We use this library in our browser clients – therefore more work was needed to help the Javascript developers with their code base and give them the possibility to react much faster to model changings.

We already created the model definitions for Sencha, we now write these model definitions into the file system within our Sencha project structure.

For all API-operation definitions we create JS-functions which simply ends up with calling “Ext.Ajax.request” … and return the values.

In addition to these “simple” Ajax calls we also create code to define a suitable “data store”, a data structure central to the whole data-management of Sencha. By using a “data store” you enable your application to create, update, reading and destroying of objects on the server side.

After doing this we will return to the Gemstone generator and we have to create the support for “data store” API calls on the server side.

This entry was posted in Smalltalk and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s