Skip to main content

ExtJs starting new project - INTRODUCTION



Once you are done installing sencha cmd(DOWNLOAD LINK) and unzipping the framework-SDK (DOWNLOAD LINK) then you are all set to start working with Ext JS and creating projects.

Now let's start creating a new project before creating make a directory you need to manage all files into and then fire up command prompt and give this command

sencha -sdk frameworkpath generate app AppName directorypath

change the framework path to the path you extracted all the files and directory path to where you want all your project files to be and then run this command it takes up some to start copying some files into your project directory to get started with all the files that you need is auto generated.

when you are done you can see a couple of files residing in your project directory. now to run your project you need to run this command from your project directory 
sencha app watch

You are all set to build up your ideas and start your project now!

So in Ext JS you will have 3 different areas for the universal applications

  1. Shared app area    - application root
  2. Classic app area    - for classic applications templates /classic/src/view/main/
  3. Modern app area   - for modern application templates /modern/src/view/main/
All the applications that you develop on ExtJS are based on MVVC

Model: is where you write all your business login as classes and this will always be written independently on the application's interface.

View: is where you write all your interface code which is where the end user of the application gets interacted with for using the system.

View Controller: is where you write all the connections between the view and the models.

so the entire application is written dividing into the above three categories. 



Comments

Popular posts from this blog

Reasons not to buy Akaso action camera if you are from india

Recently I made a full review of the action camera I brought after doing a ton of research and time. Having used it for a couple of months I feel extremely glad that it meets up to my expectations. But recently, I accidentally tipped off the camera without an external case and it cracked my lens. This, in turn, added a shady spot on my phone or video and I cannot use that anymore (Some phones of the cracked lens below)     I immediately mailed the akaso team to ask if there is anything they could do but unfortunately, this was their response. Oops, that was not what I was expecting and then I asked them I could get any details of the replacement parts or anything like that so that I can order it online. But that didn't happen it took a lot of time for them to respond me back(I have been bugging them on Facebook and email).  But after some time they left me with this response which I had no other choice but to accept. After getting the 50%re...

Best and free NTFS tool for mac

Early recently I had my internal memory of my mac stocked up and I had to rely on storing my excess data onto my external hard disk which most have to do as we do not have an option otherwise to increase the internal storage of the machine itself. I pulled up my external hard disk and boom to my wonder it doesn't have the write permissions as it's of `NTFS` format. So after a quick search, it was evident that there are a lot of software that can mount my NTFS drive namely Microsoft NTFS for Mac by Paragon Software Microsoft NTFS for Mac by Tuxera But there all are restricted and you can use it for a limited period of time and they had hefty prices to pay for, So instead after a long search and trying out various tools here are my list of best picks for the free software available that will definitely help you out. easyuefi ~ ntfs-for-mac  ~ I myself been using it for a while now. mounty I will be updating the list every time when I find new software availabl...

Changing python version in gitpod

I have always had this problem modifying using a particular version of python on gitpod. Until I knew this simple trick to switch between the python versions. If you have not heard of gitpod its time for you to use it as running code online instead of local machine helps you when you have a CPU intensive processes and there are a lot of free to use online web apps that enable you to start with using powerful CPU and extends to GPU and TPU as well. I will be sharing a blog post soon on all the free tools you could use to boost up your productivity. So if you are already using gitpod and want to switch between python versions its simpler than you think Run this to check all the python versions available:    pyenv versions So to install a new version of python you simply have to run this:   pyenv install 3.7.6 (Or whatever version you want) That will basically download and install. Now you need to make sure to configure it for the existing workspace, t...