Hi, my name is Lee.
I'm a writer, an engineer,
and a technical trainer.
I create fixes & I fix headaches...
Welcome to my dev blog.

Native Sencha apps with Ext JS 6 and Cordova / PhoneGap

Posted on in Cmd Cordova Ext JS 6

Last time I played with Cordova, I developed Sencha Touch apps. Been there, done that. Sencha’s new mobile framework, is Ext JS 6. With Ext JS 6 you can create desktop applications or mobile (tablets or phone) apps. And.. you can create universal apps. A universal app, means one Ext JS 6 code base, for […]

Read more »

How to switch Sencha Cmd versions from the command-line?

Posted on in Cmd

Did you know that you can very easily switch between multiple Sencha Cmd versions from the command-line? With the release of Sencha Cmd 6, it's actually very easy, and you no longer, need to manually open your system variables or .bash_profile file. With the following command you check how which versions are installed: View the […]

Read more »

Help! I have to present. How to rock it?

Posted on in Sencha

Public speaking. Whether it’s at a (tech) conference, a training for a group of people, or an internal presentation for your colleagues or boss. It can be scary. Since I work for Sencha, I’ve spoken for a crowd, now maybe a hundred of times. I’ve developed myself a real “speaker voice”. I speak loud from […]

Read more »

Asynchronous JavaScript: Promises

Posted on in Ext JS 6 Uncategorized

JavaScript is single threaded, causing code to execute from top to bottom, so two bits of code cannot run at the same time. For example, you might download a JSON file from an (external) server and you’d have to wait until you retrieve that file. Instead of blocking the thread, there are ways you can […]

Read more »

Django Template extending

Posted on in Django Python

In this tutorial I will describe how you can extend from Django’s templates, and create your own. 1. Create a templates folder in the root of your site. 2 visit the website. Create a static folder in the root of your site. 3. Enable the templates folder in your root settings.py file: TEMPLATES = [ […]

Read more »

Setup a Django Project with a MySQL database.

Posted on in Django MySQL Python

This tutorial requires Python 2.7. First make sure virtualenv is installed: $ pip install virtualenv To set up a virtual environment for your project, use: $ virtualenv myproject To join the environment: $ source myproject/bin/activate Install Django: $ pip install Django Create a Django project. $ django-admin startproject mysite By default Django will make use […]

Read more »

Mac OSX error: Sauce Labs – Error fetching PAC

Posted on in Environment

I'm using Sencha Test together with the Sauce Labs browser farm. In order to see all the various browsers in my Sencha Test Studio, I have to setup a Sauce Labs Connect tunnel. You can download it from here: https://wiki.saucelabs.com/display/DOCS/Setting+Up+Sauce+Connect Extract the zip, and place the contents of the folder under this location: /Users/username/bin/SauceLabs/sauceconnect/ Create […]

Read more »

Advanced Cmd: How to integrate Ext JS with Maven

Posted on in Environment Ext JS Ext JS 5 Ext JS 6 Uncategorized

This last article, will show you, how you can integrate Ext JS with tools like Maven. Please understand, Maven is not a required Sencha setup, though it is possible to build your Sencha projects with Maven. About Apache Maven Maven is a build automation tool used primarily for Java projects. Maven addresses two aspects of […]

Read more »

Advanced Cmd: How to modify Sencha builds

Posted on in Cmd Environment Ext JS Ext JS 5 Ext JS 6

This guide, will discuss builds, and how you can modify it, with Apache Ant. About Apache Ant integration in Sencha Cmd. Sencha Cmd is build with Apache Ant. You don’t need to have Ant installed on your machine, Sencha Cmd has that dependency for you, while installing Cmd. (Sencha Cmd is delivered as a JAR […]

Read more »

Advanced Sencha Cmd: Dealing with a multi Ext JS app infrastructure

Posted on in Cmd Environment Ext JS Ext JS 5 Ext JS 6

This guide will describe how to deal with an infrastructure, that contains multiple Ext JS apps. It will discuss: Local workspaces How to split builds How to modify file paths and output settings About Workspaces To support these, Sencha Cmd defines the concept of a “Workspace”. A Workspace is simply a folder that ultimately contains […]

Read more »