jsLex 1.2 Beta offers a wide variety of tools that can be used to optimize a complete web application or just individual resources. Why optimize your Web application? There are three reasons that make Optimization a priority for an organization:
Increased User Experience
Companies like Gomez, KeyNote or BrowserMob can tell you what the user experience of your site is. In many cases you will need to make improvements to the your site in order to create a better User experience. Using jsLex it is easy to optimize the front-end performance of your Website. jsLex can increase your Websites performance by increasing your grade in all 13 areas that YSlow! grades your site against.
| Optimization | Grade (Before) | Grade (After) |
|---|---|---|
| 1. Make fewer HTTP requests | F | C |
| 2. Use a CDN | F | A |
| 3. Add an Expires header | F | B |
| 4. Gzip components | A | A |
| 5. Put CSS at the top | B | A |
| 6. Put JS at the bottom | F | A |
| 7. Avoid CSS expressions | A | A |
| 8. Make JS and CSS external | n/a | n/a |
| 9. Reduce DNS lookups | A | A |
| 10. Minify JS | F | A |
| 11. Avoid redirects | A | A |
| 12. Remove duplicate scripts | A | A |
| 13. Configure ETags | F | A |
| Overall Grade | F (42) | A (94) |
| See for your Self | Click to open application | Click to open application |
Save on Cloud Deployment
As people move applications to the Cloud. There will be a high visibility of the cost for applications running in a Cloud environment as people look to justify it against running them on their own hardware/systems.
This is where RockstarApps and Web optimization comes in. Application deployments within a Cloud are typically priced in the following ways.
- CPU time - usually some prices per hour. Amazon prices EC2 $0.10 an hour for a “small” unix machine. Click here for the full price sheet.
- Storage Space - Simple Storage Service by Amazon - $0.150 per GB – first 50 TB / month of storage used. Click here for a full pricing sheet.
- Bandwith - CloudFront Amazon’s CDN - $0.170 per GB. Click here for a full pricing sheet.
- # of Requests - CloudFront Amazon’s CDN - $0.012 per 10,000 GET requests. Click here for a full pricing sheet.
| Metric | Before | After | Reduction | Saving |
|---|---|---|---|---|
| 1. Requests | 93 | 17 | 81.72% | 547.06% |
| 2. Size | 233(KB) | 156(KB) | 33.05% | 149.36% |
| 3. Time | 37.49(ms) | 1.68(ms) | 95.52% | 2231.55% |
| See for your Self | Click to open application | Click to open application | ||
Greener Websites:
A lot of companies are looking to become Greener, whether your doing it to save on greenhouse gases or as a way to create market awareness; jsLex can help you accomplish your Green initiative. By reducing the number of resources, decreasing their size and moving them closer to the end-user; jsLex can decrease your sites environmental footprint.
Summary:
Increasing User Experience, Greener Sites, and Price reduction in cloud deployments are completely aligned. Using tools like jsLex will mean you can get an unassisted triple play (rare occurance in baseball) on every application.
- Decrease cost of application deployments
- CPU Time - limited impact.
- Storage space - small impact.
- Bandwith - Significant impact.
- # of Requests - Significant impact.
- Increase Application Responsiveness
- Making sites Greener
Below are a list of feature that can be accessed in the lastest release of jsLex:
- Resource Optimization - Instead of having to rely on just ant files and command lines, jsLex gives developers wizards that they can access via Eclipse and Aptana making tasks such as; JavaScript and CSS concatenation, creation of sprites and compression of JavaScript and CSS as simple as right clicking on a file. Click for more information...
- Web Site Optimization - Resource optimizations is just the first step in creating a highly optimized Web application. jsLex can optimize a complete Website, by going through every Web page and optimizing it and it's resources. This means less intervention and work by developers and more optimization of the final product. Click for more information...
- Cloud Deployment - Clouds and CDNs offer those looking at optimize Websites a great way to distribute the static resource within a Web application to servers that are closer to the end-user. This means that these resource can be fetch quicker. The other benefit of using a CDN is it allows the browser to fetch the resource using another connection, which also results in faster page loading times. Click for more information...
- Amazon WS Tools - Amazon's Web Service platform has quickly become a popular way to deploy applications. Rockstarapps Amazon Tools give developers access to the functionality that makes interacting with CloudFront, S3, SimpleDB and Simple Queue Service quick and easy. Click for more information. Click for more information...
- JavaScript Profiling Tools - Provides developers with a complete picture of the performance issues with-in their Ajax application. By auto injecting profiling markers with jsLex's ant task or Eclipse wizards, don't need to modify their code to track down bottlenecks, minimizing coding errors. Click for more information...



