What webapps / tools would you recommend for a productive frontend web dev workflow on Chrome OS?
I currently use Sublime Text 2 with LiveReload on my Windows PC.
You have today a lot of options. Here are just a few:
Cloud9, an IDE for JavaScript, Python, PHP, and Ruby. Cloud9 uses the HTML5 FileSystem capability and AppCache to sync files, so you can even code offline.
Neutron Drive seems like a good option with a close integration with Google drive and lots of languages its support.
ShiftEdit - which give you many options to develop in your language: PHP, Ruby, HTML, CSS and JavaScript and then by using (S)FTP you can save your work to Dropbox or Google Drive.
Kodingen is another IDE that includs: Code Editor, Cloud Hosting, Database Administration and collaboration
Codey - Easy to use code editor for HTML, PHP, CSS, JS.
Akshell - Server-side JavaScript development and hosting platform. They got some git integration built in their IDE.
eXo Cloud IDE - an IDE that support: HTML/CSS/JS and PHP/JAVA/RUBY and many more options.
For more, here is an 'old' post I wrote on this topic when the first Chromebook was launched.
CodeAnyWhere a code editor in a browser with an integrated ftp client, and all popular web formats are supported (HTML, PHP, JavaScript, CSS, and XML).
goormIDE - an opensource IDE based on node.js for JavaScript, Python, PHP, JSP, C/C++, JAVA, Ruby, Go, Dart, and so on. it provides beta-version in opensource via github.com and beta-service on goorm.io, now. if you want this, just type 'npm install goorm -g' for your local machine.
Check out Caret if you like Sublime Text. It's a packaged app, no connection required.
Related
Does Google allow to load its libraries on a headless browsers? I am running tests with PhantomJS but they are failing because it Can't find the variable: google, but if I run the tests in Chrome they all pass.
Yes, Google JavaScript libraries run1 on PhantomJS. It's the way they come to PhantomJS that's troubling sometimes. Most web servers disabled support for SSL v3 because of the POODLE vulnerability, but PhantomJS <1.9.8 uses it as a default.
You either need to pass the --ssl-protocol=tlsv1 --ignore-ssl-errors=true commandline flags to PhantomJS when you run it or you can update to a newer version such as 1.9.8 or 2.0.0.
1 That's not exactly true, since PhantomJS 1.x also doesn't implement Function.prototype.bind which many web sites use and which might stop the execution of some JavaScript.
I created .exe file from .jar file .Now my client demands to run the application without installing jre in the sytem.I have heard that with bundled jre it is possible ...but i dont know how to bundle jre with .exe file..
The JavaFX is working on this. Here are the up-coming features in Java SE 7 u10:
https://blogs.oracle.com/talkingjavadeployment/entry/packaging_improvements_in_jdk_7#3
https://blogs.oracle.com/talkingjavadeployment/entry/packaging_improvements_in_jdk_7
I have used VMware ThinApp to do exactly what you are trying to do. It does cost money, but works extremely well. It allows you to roll up all the dependencies your application uses into a single executable that can then run on vanilla installations of Windows. It can be used for a lot more than just Java, and it does so by recording the changes you make to a system after installing your application + the JRE for example, and then wraps up all of those changes. It certainly simplifies application deployment, since the applications are now portable. I've even used it to roll up Visual C++ redistributables, and .NET as well. This certainly increases the size of the executable, but it's also convenient knowing the application will run successfully. See more info at http://www.vmware.com/products/thinapp/overview.html.
The open source Launch4j allows you to produce an exe with an embedded JRE. This SO article also discusses this topic. Caveat: I've had very good success with Launch4j, but never used the embedded JRE feature.
A client is having me convert an HTML5 video web application that I've already built into an AIR app.
The end users are going to need this to work with no internet access, so I MUST include a LOT of video files with the installer. This works fine on my machine, but my client can't install it because the .air file is too large and they don't have enough RAM. We'll need this installed on a number of laptops that aren't super powerful.
My SDK is up to date and we're using AIR 3.1.
Has anyone else run into a similar situation? Is there any workaround? For instance could I either include both the installer and the .air in a zipped folder, then have the installer move the video files to the appropriate location, or use AS to have the installer download the files (they will have internet access when installing).
I'd recommend you not to include heavy video files into your application. Downloading assets from web is a descent idea, I use same technique for several museum touchscreen apps.
So here's workflow: on startup app tries to connect to "assets server" and request list of files to download. It can be list of all the files, or list of files that have been updated/added since timestamp that you pass with your request. Then you download them to File.applicationStorageDirectory. Not to have mess in that directory I put all of them to "cache" subdirectory.
In case there's no internet connection for some reason when you install that app, you can have all that "cache" folder on your memory-stick/externalHD so you can manually perform that downloading process.
If you use Greensock's LoaderMax: I've written a simple URLStreamLoader that extends LoaderItem, handy for downloading files. Can share that.
The problem is quite obvious: the Adobe AIR provided installer for deploying your application is lacking.
However, Adobe recently released a new feature for deploying Adobe AIR apps: "runtime captive bundle" (Windows or OSX).
Which means 2 important things:
You receive an .exe which no longer requires an user to have Adobe AIR runtime installed (and no more incompatibilities when targeting multiple Adobe AIR runtimes).
You are no longer provided with an installer, and you have to find your own (which solves your problem halfway).
Target bundle when "compiling", and then just use a better installer (Windows or OSX) - think you are just deploying a normal application (worked for me:) ). There are too many installers arround to mention.
Your installer of choice + bundle compiling, together solve your offline installation requirement and the memory exhausting issue.
Packaging a captive runtime bundle for desktop computers
I want to start doing web development with Eclipse. Not Java, tomcat, axis2, or anything else anymore complicated than basic XHTML / JS / CSS development, at this time.
Problem 1: I realize that it can edit those files, but its trying to manage my HTML docs as part of "my workspace", and all I want it to do is manage the files as part of my local www server HTdocs directory.
Problem 2: I would like to edit WYSIWYG-style, if possible. I tried installing a plug-in for that, but I wasn't able to get w4 toolkit to function properly. This would really help me to speed up development, I think.
Follow-up:
I've installed WTP and its dependencies (except for the tests portion, which had install problems due to dependencies that were seemingly irreconcilable).
You can link a folder in your workspace to somewhere on your filesystem. So in your case you could create a folder in your Eclipse project called "html" and link it to your Apache htdocs folder.
You should try Aptana Studio. It's available either as a stand-alone install (based on Eclipse) or as an Eclipse plugin. It has a good reputation for Web App dev.
Why not start with a web design software? Once you have the web pages laid out the way you want them, you can add them to your web application in eclipse. Eclipse is great for application development. Even though it can handle some page builder needs, it's probably not as good as a web design tool. In your case, you end up having to install plug-ins for page building.
Eclipse is software for coding, it's not designed for WYSIWYG editing. If you want WYSIWYG, you should use Dreamweaver or suchlike.
If you want to use Eclipse for what is good for, coding, the main alternatives are Web Tools Platform which is quite basic and could be already pre-installed depending on what version of Eclipse you got, and Aptana Studio. which is quite bloated.
I have recently installed Eclipse Galileo with the PHP Developers Tools. I plan to install the Flash Builder 4 Plug-in to do ActionScript development as well.
I want to use Eclipse to both create an ant build script and execute it to compile ActionScript docs from an ActionScript 3 code library.
The problem is that when I try to run a build.xml file (which every site that answers the ant build questions says it should handle automatically) I never see an option to run it as an Ant Build, not can I find any way to associate XML files to Ant in the Preferences or External Tools dialogs.
I;ve seen numerous tutorials on build Ant build files, but never anything about running the actual build script.
Try to install "Eclipse Java EE Developer Tools" component. It's in "Web, XML, and Java EE Development" of "Galileo - http://download.eclipse.org/releases/galileo" repository.