I’ve been on the beta testers for the new version of Sencha Architect (formerly Sencha Designer) for the past few months and have really enjoyed learning it and it’s features (both old and new). Much of the app is very discoverable (meaning you don’t really need directions to figure something out), however there are some parts that are quite hidden or not obvious. On of these is previewing a JSON
feed that you will hook up to either a model or store. In this post, I’m going to show the steps to do that. I’m now hooked on it.
I’m using the “Contact"s” example provided for download by Sencha. Notice that when you load the project, assuming you have your Project URL’s setup correctly (Preferences), the store is automatically loaded.

If the store does not automatically load, you can right mouse button on the store and choose “Load Data” as shown in the picture below.

This will refresh your JSON feed and show the new data. Finally, to preview the JSON feed itself, click on the icon of an eye as shown in the first picture. This is the “Preview Feed” command. When you do that, you will see the following:

I’m hoping Sencha takes the next step and gives us an option to “Auto Field” this data and simply create fields for every field in a record. That would complement the “Auto Column” feature (for another post) in the GridPanel Sencha Architect Design window.
Hope this helps!
Let me start by saying three words. “CRASH AND BURN”. Well, I guess that makes it sound much worse than it really was, however I have to say that I don’t enjoy when create a brand new project, press “Run” and it crashes with a funky license error. Especially when I’ve come from out of town as an INETA speaker to talk about developing in Windows 8 with HTML5 / CSS3 and JavaScript to the Central California .Net Users Group. People have high expectations! I had done about 10 practice run through on the AmTrak train on the way to Fresno and no time did I have an issue. First time in the actual meeting and the demo gods struck! Here is the screen I was greeted with:

Or, for the jpg-challenged:
Error 2 0xC0020012 : While preparing to install the b5d701c0-28f8-415e-a986-ebae057cc7c5_1.0.0.0_neutral__tp1tpcm9wdwpy package, the system failed to register the windows.licensing extension due to the following error: <Error message string not found>. Application5
I still don’t know what caused this, but I’m sure I’ll find out. This is my third time doing this presentation and usually that means there will be a fourth. For those that don’t know what I did, basically, I built a Silicon Valley Code Camp Speaker Viewer. Below is a picture of that running on my Samsung Build Tablet as well as my introduction to the session PowerPoint slide.
Let’s home next time goes smoother.


For those that are interested, here is my PowerPoint slides and my Visual Studio 2011 Metro HTML5/CSS3/JavaScript Project.
PowerPoint Slides SessionInfo.pps