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

  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

Speaking Wednesday, February 27 About SPA apps and WebAPI in Mountain View Microsoft Office

  ASP.NET’s WebAPI and SPA’s (single page apps) are all the rage! In our brave new world, many web apps are now Single Page Applications written in JavaScript. Basically, this means that instead of having lots of static and/or dynamic pages generating lots of HTML, we now often have an html page that has just a few lines. Those lines would be just some basic header files, a css file included and a couple JavaScript include files. There are several JavaScript frameworks that support this scenario: Sencha’s SenchaTouch and ExtJS, as well as Dojo, Yahoo’s YUI and others immediately come to mind. In this presentation, we will focus on what the back end ASP.NET server can look like to support these kind of applications, and how to … Continue Reading

What Makes Sencha’s ExtJS Library So Powerful

For those that don’t know much about Sencha’s ExtJS JavaScript library, let me just simply describe it as a toolkit that helps you design applications that run on the web with minimal HTML knowledge (though a reasonable amount of JavaScript knowledge is important). What is inspiring me to write this post right now is just how darn clever those guys are who architected the toolkit.  I have not much used the forms part of ExtJS until now, I’ve primarily used the data grid and all the layout panels. So, as I’m learning the form tools I keep running into things they have built in that just make so much sense.  Let me describe just a few by example.  Below, I’m going to paste my current form which I’m working on which is just a … Continue Reading

Sencha’s Architect’s Perfect Storm, Easy To Use and Incorporates Hand Written Code Gracefully

Introduction Wednesday night this week, our local meetup (happening at Sencha’s headquarters in Redwood City) is featuring the Sencha Architect engineers who are here from all over the world for a get together.  Personally, I’ve been using Sencha Architect (SA) for well over a year now and am hugely impressed.  Yesterday, for the first time I felt a need to go beyond what SA offered and for the first time decided to “override” an ExtJS object (store in this case) with my own code.  It’s now a trick I own!  Explanation of why we did it, what we did, and what to look out for if you do it yourself in the future.   Why We Did It As many of you know, in addition to being the primary organizer of Silicon Valley Code … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: