I want to obfuscate javascript files in my worklight project. is it a good practice to obfuscate the javascript files in a worklight application?. is there a way to do obfuscation using Gulp in worklight application?.
If you want to obfuscate your application's JavaScript code - go ahead and obfuscate.
The following blog post details obfuscation instructions in Worklight-based applications (this includes MobileFirst Platform): Obfuscating JavaScript code in Worklight applications
Related
Is it possible to only use a managed dynamic language such as javascript in a Silverlight application, with no server side compilation before deploying to the client? I'm looking for 0 server side compilation of any code here - would like the entire application to be 100% compiled/interpreted in the browser. I skimmed through the DLR specs but I didn't notice such an option.
Technically the answer is yes. Silverlight is a pure client side technology that runs a cut down, secure CLR in a plug in. The Silverlight API is accessible scripting languages including Javascript, F#, IronPython and IronRuby.
However, it is questionable whether you should progress because there doesn't seem to be any community or support around this. Furthermore, Silverlight is in support mode and you have to consider whether it is worthwhile investing your energy in such a dimly lit corner.
There are a few technology demonstrations by Jimmy Schementi here. Also check out the references in DLR Wikipedia entry. The old silverlight forums used to have an entire subforum dedicated to Javascript and Silverlight. This is now gone. Consider that as a warning if you decide to progress in this direction.
A few years back, there was an SDK that included a working IronPython and IronRuby with Silverlight, some demos and build scripts. Look for Chiron, which packages scripts and xaml into a single .xap (zip) file. This is in the DLR. There were some cool examples which demonstrated a python and ruby interpreter running in the client side in a Silverlight plugin.
Alternatively, you can develop most of your application in a typed language and then expose parts of it to javascript via a Javascript bridge. The MSDN has some short write up on how to do this.
Is it possible to embed all .net dependencies to the final exe file because I want it to run on every windows machine even without preinstalled .net?
Use ClickOnce, and setup the dependencies, so that it installs the prerequisited .Net framework.
ClickOnce is good for dealing with the deployment of your application.
To embed all .net dependencies you can use ILMerge or, even better, this approach by Jeffrey Richter (which is recommended from inside the ILMerge website too).
I am not sure about the lagality of this but you can possibly use reflection to get the code from the parts of the .NET framework which you are using and re-create them as your own classes. Then use those classes when building your application.
Edit: I am not sure that you can reflect the entire .net framework though.
I started working on Ext JS, but the building process has always been a headache to me as I always used notepad..
Can you suggest some tools which help me build the Ext JS applications easily....
Initial GUI Setup (if you're feeling lazy!)
Ext Designer
IDE for further development
Aptana Studio or CodeRun (online) or eCoder (online)
Bug testing during development
Firebug
Debugging the final layer of polish
YSlow for Firebug
I'm usually a fan of Eclipse, but Check out PHPStorm, it has better colouring, works well with libraries and does refactoring.
Try Aptana Studio + Firebug. Plus a handset of each type you intend to code for.
Also, see this link for an answer to a similar question:
"Debugging" ExtJS script
TextMate? It's really a matter of personal preference.
I recommend Textpad - I've been using it for 12 years now.
Spket IDE is powerful toolkit for working with JavaScript Framework like extjs.
You can also use Eclipse and Spket plugin for developing better javascript code. Visist http://www.spket.com/ for more details.
For me in particular it's about Sony Ericsson W715.
What languages can I use and what environment do I need?
A tutorial recommendation would also be nice.
Well, without more information as to what your applications are supposed to do, I would also recommend J2ME, especially given that SonyEricsson has additional useful proprietary APIs that are available to their partners.
You can also target the web browser on the phone by having a server send dynamic HTML and javascript code.
Flash Lite is also an option.
Recent SonyEricsson phones contain the capuchin technology: Write the GUI in Flash and the application engine in J2ME. That could be worth a look, depending on the skills of whoever is working on your applications.
They have a developer page..
http://developer.sonyericsson.com
Your only option would be J2ME. I recommend using Netbeans with the Mobility Pack for the task. Download the Java version, that includes Java ME.
Here is a tutorial on the net. I am sure you can find many more.
You should use J2ME (Java Micro Edition).
Would anyone be kind enough to share about your experience using KLone in a web project? Mostly, in what context are you using it?
Their home page mentions that:
KLone is a fully-featured, multiplatform, web application development framework, targeted especially for embedded systems and appliances.
However, to what extent if any is it useful for general purpose web dev?
Thanks