Now that hybrid touch pc’s / tablets, like the Windows Surface Pro, got popular, I often hear people asking me, if it’s possible to create Ext JS apps for Windows tablets? Ext JS 6 has support for Windows 10. The classic toolkit supports IE8 and up, and the modern toolkit supports the Edge browser. It even contains a Windows mobile theme!
Sencha recently announced the Angular 2 and React bridges.
These are great solutions for Angular 2 or React developers, which make use of the robust Sencha components. (For what’s worth; the Angular and React frameworks don’t contain components. These are just single page app frameworks which sets up the architecture pattern.
What’s new in Ext JS 6.2 is the Material Design theme for the modern toolkit, row body plugin for grids (for example to create grids within grids), pinch to zoom and premium components such as the Calendar Component and Pivot Grid (both for classic and modern toolkit), Exporter plugin (export Grids and PivotGrid data to CSV, XML, HTML, or Excel format) and the new D3 wrapper component. Today, I like to talk more about this component.
This guide, will discuss builds, and how you can modify it, with Apache Ant.
Often I get the question if it’s possible to generate a PDF from a Sencha app. Well yes that’s possible, but not with Ext JS code only. Though, Ext JS has an exporter, to export grid/pivot data into an XML or Excel file, and you can export charts to images. Out of the box we can’t generate PDFs from full Sencha apps, with the framework.
What you will need is an additional script, often these solutions are handled on the backend, but there are also solutions which can do this client-side.
In part 1 of this series, I described what a universal app is and how it’s created in Ext JS 6. Now, I’ll show you how I built my application.
Back in 2011, I wanted to create an app. I love music, and I am a huge fan of Spotify. I love that I can listen to a huge database of songs. The only thing that always bothered me was that I had to manually search for songs. That’s fine when I’m using my laptop, but it’s not so great when I’m walking or biking, and I use Spotify on my phone. Typing on a virtual keyboard is just not fun.
So, I created a Sencha Touch app that could connect to my LastFm account (an online database that can “scrobble” and save music that you’ve listened to). My app lists all the music I like, and with one button tap, I can play the song in Spotify.
Maybe you have experienced this before. You meet with a client (or worse your boss ;) ), he explains what kind of application he wants, and then he asked you the big question: How long will it take?. Being realistic (and add a little more time on top of that), you say: “a month!”. “A month? It’s just an application with 3 screens. I was thinking tomorrow.” You know, software in a day.
It’s what’s Cordova/PhoneGap is for mobile. A native wrapper, a native shell/project with a browser inside that runs your app. Thus, if you can create web apps, you can create native desktop apps. You can create native apps for Linux, Windows 32 & 64bit and Mac OSX.