Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an extjs sandbox?

Tags:

sandbox

extjs

I was interested in knowing about extjs sandbox but wasn't able to find much about it on web. Could someone tell or point to some relevant resource as to what an extjs sandbox is and how does it work. Thanks in advance!

like image 644
rush Avatar asked Feb 20 '12 15:02

rush


People also ask

What is the use of ExtJS?

Ext JS is a popular JavaScript framework which provides rich UI for building web applications with cross-browser functionality. Ext JS is basically used for creating desktop applications. It supports all the modern browsers such as IE6+, FF, Chrome, Safari 6+, Opera 12+, etc.

What is ExtJS framework?

Ext JS is a JavaScript application framework for building interactive cross-platform web applications using techniques such as Ajax, DHTML and DOM scripting.

Is ExtJS any good?

Ext JS is a common choice for most enterprise-grade projects. Why? It allows you to save time on development and make the process easier, there are no compatibility issues, many multiplatform advantages, and you get great support services from Sencha.

Is ExtJS popular?

The simple fact is that Next. js has become so popular mainly because it solved an age-old issue developers had with JavaScript rendering in the browser itself. By doing a lot of the work on the server side, the overall end user experience is greatly improved – but at the same time, Next. js still allows that CSR.


1 Answers

An Ext JS sandbox is simply a different name on the top-level namespace.

Normally, all Ext JS code falls under the "Ext" namespace, so you would refer to classes as Ext.Element, Ext.MessageBox, etc. The sandbox (specifically, the Ext JS 4 sandbox) uses "Ext4" instead (as in Ext4.Element), so you can use multiple versions of Ext JS alongside each other without worrying about naming collisions. Sometimes they play well together, often times they do not, so you can't go adding Ext4.Elements to an Ext.Panel (at least, not without considerable effort).

The Ext JS distribution includes files listed as sandbox that you would reference in your project along with your standard files.

Check out the Sandbox example on the Ext JS docs page to see it in action. You need to use your browser's debugger to view the source and scripts, though.

like image 79
Eric Avatar answered Sep 28 '22 19:09

Eric