Synchronizing Sencha Architect and Sencha’s CMD Compiler

image.png

Phil Strong has an excellent article on how to update an existing Sencha Architect (SA) project so that it will work with Sencha’s CMD compiler.  Basically, the problem is that SA and CMD do not agree on where the app.js should be by default.  This article will give you a recipe to do a file/save as from SA and then turn that new directory with the SA project into a place where you can, from the command prompt say: “sencha app build production” or “sencha app build testing” to generate a completely optimized version of your web app for deployment. For those that don’t know what either is, Sencha Architect is an awesome tool that Sencha started working on literally 4 years ago and finally released about a year ago.  It’s a beautiful tool … Continue Reading

Adding Logout Button To NavigationView TitleBar in SenchaTouch 2 and Sencha Architect

image.png

  You would think this would be easy to do in Sencha Touch.  That is, you have something like what I have below, a conference presenter list, and you want a logout button on the title bar. It turns out it’s not obvious.  Thank goodness for a comment in the SenchaTouch Doc comment section from @dgotty the solution presents itself. The actual class definition is as follows: Ext.define('CCApp.view.PresenterNavView', { extend: 'Ext.navigation.View', alias: 'widget.presenternavview', requires: [ 'CCApp.view.Presenter' ], config: { autoDestroy: false, items: [ { xtype: 'presenterlist' } ], navigationBar: { … Continue Reading

Using Sencha ExtJS 4.2, Sencha Architect 2.2, Add CRUD to REST client for calling Microsoft WebAPI server

image.png

Three Part Series (Part 3)   Building a Simple REST Controller with Microsoft Visual Studio 2012 and WebAPI Using Sencha ExtJS 4.2 and Sencha Architect 2.2, Build a Simple REST client (to feed WebAPI server) Add CRUD to REST client for calling Microsoft WebAPI server   In the first two posts, we built a Microsoft WebAPI REST service, then we built the client side ExtJS app to process the GET request of the service (populate the grid panel), now let’s do the other 3 parts of CRUD (insert, update and delete).  We will not build out the WebAPI side because that would involve adding some kind of persistent storage to the server (which is another topic I did not want to … Continue Reading

Using Sencha ExtJS 4.2 and Sencha Architect 2.2, Build a Simple REST client (to feed WebAPI server)

image.png

Three Part Series (Part 2)   Building a Simple REST Controller with Microsoft Visual Studio 2012 and WebAPI Using Sencha ExtJS 4.2 and Sencha Architect 2.2, Build a Simple REST client (to feed WebAPI server) Add CRUD to REST client for calling Microsoft WebAPI server   Our goal here is to create a very simple ExtJS grid panel that works with the Microsoft Visual Studio 2012 WebAPI project build in the previous post. So, first thing to do is fire up Sencha Architect 2.2 (SA 2.2).  Choose for the project type ExtJS 4.2 and you will get a blank canvas.  Drag a Viewport on to the canvas, then, in the Viewport drag a Grid Panel out.  You should have something … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: