6

now i am trying to learn about sencha extjs new version. Does anyone know any tutorial of how to make a project without sencha cmd?

Thank you in advance.

2
  • Asking for links is off topic, SO requires you to show the code you've tried. Commented Nov 4, 2015 at 18:22
  • What is the problem to use Sencha CMD? It is very easy to set up an app with this. Commented Nov 5, 2015 at 5:36

2 Answers 2

3

@sonseiya First all.. Sencha CMD it is most usefull tool for sencha apps, not only will generate you app, your MVC structure,models,stores but also will compile for IOS, Android, WINDOWS, focus on use "Universal App" way, sencha CMD will put all your code in one single file and will be ofuscated, cool ha!

Now.. to answer your question, yes it is posible, sencha cmd uses the microloader an script to do smart stuf based on you browser.. but for your case, you need to use old way: ext.onready and create script tags on your html header.. for example:

<html> <head> <title>Ext JS </title> <link rel="stylesheet" type="text/css" href="path/ext-all.css" /> <script type="text/javascript" src="path/ext-all.js"></script> </head> <body> <script type="text/javascript"> Ext.onReady(function() { Ext.Msg.alert('Alert'); }); </script> </body> </html> 

Note: you must to use explicity requires because there are not microloader that is in charge of read all dependencies.

Sign up to request clarification or add additional context in comments.

Comments

0

yes I know how some good tutorial : Ext JS 5 Sencha Cmd is really awesome and powerfull tool, but creating an application from scratch is really good for learning. Basically this tutorial works good enough for Ext JS 6 as well. I hope it helps

1 Comment

Link is dead (guess that shows why it is good practice to post answers, not links)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.