-
15 Mar 2011 3:05 PM #1
[Feature Request] Ext + NodeJS integration is almost available!
[Feature Request] Ext + NodeJS integration is almost available!
I noticed this in Loader.js:
How about having the property isNodeJS available directly as a property of the Ext package, in order to use code like:Code:var isNonBrowser = typeof window === 'undefined', isNodeJS = isNonBrowser && (typeof require === 'function')
That would be of a great help to determine, e.g., which proxy should be used depending whether you're in the server or in the browser.Code:if (Ext.isNodeJS) { //Server-side specific code }
I'm glad to see that Sencha has some plans about Ext being used on the server side as well! I can't wait to use a full and consistent MVC stack both server- and client-side.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Feature Request: "before" handler for Ext.[Ajax | Connection].request
By xaka in forum Community DiscussionReplies: 12Last Post: 17 Feb 2010, 12:28 AM -
Integration with YUI compressor - feature request
By dolittle in forum Sencha CmdReplies: 2Last Post: 19 Dec 2008, 7:28 AM -
TreeLoader: new feature request and patch to add this feature
By osantana in forum Community DiscussionReplies: 3Last Post: 12 Jun 2008, 9:42 AM


Reply With Quote