Our Recommendation

Showing posts with label applications. Show all posts
Showing posts with label applications. Show all posts

Monday, December 13, 2010

Cloud Expo New York 2011: building applications in the cloud (java .sys - con .com)

Cloud Expo 2011 New York $800 savings here!

Ajax.org, they include the browser is the future. Therefore they have always seen Web opened as a robust platform for application development. In the meantime, JavaScript makes his return. Combine these two ideas and you get Cloud9 IDE. Cloud9 IDE hopes the IDE for the JavaScript built by developers JavaScript developers. JavaScript applications run online purposes, then why should not you expand your online application too?

In their session at the 8th International Expo of clouds, Lieke Arends, among Ajax.org, business development manager Rik Arends, co-founder and CTO of Ajax.org, will discuss the benefits of developing in the cloud (including several developers most likely don't know).

Explore sponsorship & exhibit Cloud Expo!

Speaker Bios:
Lieke Arends is among Ajax.org Business Development Director. She has always had a particular interest in the development of the Internet and closely follows the movements of the market. For Ajax.org, it focuses on the development of business and communications. She studied at the College in Boston and Paris and has a Masters degree in the University of Amsterdam European policy.

Rik Arends is co-founder and Director Ajax.org technique. A C++ developer with more than 15 years of experience in 3D computer vision and video, he developed the engine software behind video mixing based on a browser, projections of the stage and MultiTouch computer simulation used by Coca-Cola and Nokia. Immersed in declarative as techniques with an emphasis on performance and borders, Arends focuses on web environment angles of JavaScript and C++. You can find him on Twitter: @ rikarends

A Faculty of Top Keynotes, sessions and delegates from top rock star!
Clouds Expo 2011 New York, 6-9 June 2011 at the Javits Center, New York, New York City will be characteristic of a rock star Conference faculty and key players in the industry of clouds technical sessions in the world.

The growth and success of Cloud Computing will be exposed to the next Cloud Expo conferences and exhibitions in New York, 6-9 June and Santa Clara, 7-10 November 2011.

Recent exposure of clouds at the Santa Clara Convention Center in Santa Clara, CA, was the largest Cloud Computing conference ever produced, more sponsors, exhibitors and delegates all other clouds of year-round events combined!

New York four-day event will attract more than 10,000 delegates from 48 countries and more than 600 sponsors and exhibitors a 120,000 square foot show speech!

All major layers of cloud ecosystem will be represented the 7th and 8th International Cloud Expo - infrastructure players platform providers and those providing applications, and they all will be here to speak to sponsor, exhibit and network.

"Cloud Expo announced 24 February 2007, the day, the term"cloud computing"was invented," said Fuat Kircaali, founder and President of SYS-CON events, Inc. "Cloud has become synonymous with 'It' and 'software' in two years, and this event has become the new PC Expo, Comdex and InternetWorld our decade." By 2012, more than 50,000 delegates per year will attend Cloud Expo. »

Sponsorship opportunities
Cloud Expo New York 2011
Expo 2011 New York "show prospectus" sent clouds. Sponsorship, exhibit and keynote opportunities may be obtained Carmen Gonzalez email events (at) sys - con .com or telephone 201 802 3021.

Early registration options
Cloud Expo New York 2011
Expo cloud delegates can pre-register Cloud Expo New York 2011 with $800 + savings here.

On the activities of the SYS-CON Media
SYS-CON Media (www.sys-con.com) since 1994 connecting business clients through a stream of full content and technology at www.sys-con.com - featuring more than forty targeted areas of Cloud Computing Security Web - combine with large-scale market conferences produced by SYS - CON events. Internationally recognized company brands include inter alia the Cloud Computing Expo (www.CloudComputingExpo.com), Virtualization Conference & Expo (www.VirtualizationConference.com), Government IT Conference & Expo (www.GovITExpo.com), Cloud Computing intensive (www.CloudComputingBootcamp.com) and UlitzerLive! New Media Conference & Expo (http://events.sys-con.com).

Clouds, clouds Expo East Cloud Expo West, Cloud Expo New York, Silicon Valley Expo Cloud, Cloud Expo Europe clouds Expo Tokyo Expo Cloud Expo Prague, Cloud Expo Hong Kong, Cloud Expo São Paulo are trade-marks and trade-marks and/or registered (the 85009040 serial number) cloud Expo, Inc..

Liz is drafting Ulitzer.com, where she covers emerging technologies, including Cloud Computing and virtualization, as well as mergers and acquisitions strategies of "new media" as described in the Ulitzer Live online! umbrella. You can send your news releases via e-mail lizmcmillan.ulitzer.com.

Friday, December 10, 2010

Using application HTML5 cache to create offline Web Applications (java .sys - con .com)

HTML5 brought the application, a new feature that allows to make web applications and sites available offline cache. The new standard also provides a simple way to preload some or all of your web application assets (HTML files, images, CSS, JavaScript and so on) while the client is always online. In this process of caching files are stored in a cache for the application, where they sit ready for further offline use.

Compare this to regular browser, in which the pages that you visit are cached in the cache of the browser based on the rules of server and configuring client-side caching. But even if web pages are cached normally, it does not provide a reliable way to allow you to access the pages while you are offline (by plane, for example). In addition, an application cache can cache pages that have not been visited and are generally not available in the regular browser cache. Preloading files can even speed up the performance of your site, if you use course bandwidth to download these files at the outset.

Regularly caching can lead to undesirable results while you're offline.
The mechanism that makes available web applications offline is simple: create a manifest file lists the assets of your application and the reference in an attribute manifest in html elements (text) of your web pages. Simple sounds? This is the case. Don't forget that there are some common misconceptions about how offline web apps work and any caching of the browser are now for you, you can get a few surprises (tricky) when you try to debug and test your web applications (online and offline). This article explains what it takes to fend for themselves, so you don't have to learn the hard way. This article also covers some lower-level object and event features that you can tap application cache. Sounds good? Say great start!

Note: a startup files that comprise a web application offline sample set is available at: http://tech.kaazing.com/training/offline/peter-lubbers-html5-offline-web-apps-presentation-code.zip

Fundamental principles
Let's start with the basics. Consider a web application that has a few web pages: a page index, a CSS file, images and JavaScript files. This web site may be made available offline in less than five minutes (once you get it blocking). Here's how:

Open your favorite text editor, create a text file and save it with the extension .manifest. For example, offline.manifest.
Add the following directive in the first line:
CACHE MANIFEST
List the files that you want to make available offline (one row per file), as shown in the following example:

CACHE MANIFEST
index.html
cache.html
Resources/IMG/HTML5.PNG
Resources/CSS/html5.css
Resources/js/HTML5.js

Note
: files must be referenced in the manifest file. Full URL is allowed as well.

Open files HTML that you want to make available offline (index.html and cache.html in this case) and add the manifest attribute to the html elements as follows:

Configure your server to be used with the correct mime type .manifest files (this is covered more in detail later) will to index your site. The page load, and to store the files locally, most browsers will ask if you want to make the files available for use in offline mode. The browser will then be analyzed the manifest file and download all of the assets specified in the file. Note: Unlike implementing caching regular browser, you haven't actually visit each page to load in the cache.Go application offline and continue to browse and enjoy your site.

Notification of storage offline browser

Peter Lubbers is documentation and training Kaazing Director where he oversees all aspects of documentation and training. He is co-author of the book Apress Pro HTML5 programming and taught HTML5 training courses. A follower of the HTML5 and WebSocket, Peter often speaks at international events.

Prior to joining Kaazing, Peter worked as an architect information at Oracle, where he wrote many books. It also develops solutions for automation documentation and two of his inventions are patented.

Originally from the Netherlands, Peter served a special forces commando in the Royal Dutch Green Berets. In his time free (ha!) Peter likes to run ultra-marathons. He is the 2007 and 2009 ultrarunner.net Series champion and three times winner of the Tahoe Super Triple marathon. Peter lives in the Tahoe national forest and likes to operate in the foothills of the Sierra Nevada of Lake Tahoe (preferably in only once!).

Thursday, December 9, 2010

Android (daringfireball.net) pre-Installed applications

How to Speed Up Your Old or Sluggish Android DeviceWhether you're resisting the temptation to upgrade to newer, faster hardware, or a year's worth of use has made your Android phone feel slow and laggy, here are some ways to make your older phone run a bit smoother.


This guide provides a number of tips you can use to speed up your phone, and while not every tip will apply to you or your phone, you should find at least a few tips in here that will. Whether you've rooted your phone, overclocked, flashed a new ROM, or none of the above, you'll be able to take advantage of a number of the tweaks below to get your phone from sluggish and glitchy to quick and smooth.


Everyone's phone is different, too, so note that some of the more advanced tweaks may take a bit of trial and error on your part. I've experienced good things with these tweaks on my Motorola Droid (which, yes, had gotten pretty darn sluggish and glitchy, even for a barely year-old phone), but I'll note where a different approach to a specific tweak will help owners of older or more underpowered phones. Users with newer phones (like the Droid Incredible or Galaxy S) may not need these tips as much, but I've heard from several sources that even speedy phones like those have benefited from these tips, so they're worth playing around with no matter what phone you have.


There are a lot of great tweaks out there for rooted phones, but there are a ton of really simple things you can do to speed up your phone, even if you haven't done any hacking whatsoever.


How to Speed Up Your Old or Sluggish Android Device
We've talked about the benefits of other home screen launchers on more than one occasion, but I can't stress how great of an upgrade this can be. As always, I'm a huge proponent of LauncherPro, as it will not only bring you a noticeable speed increase upon installing it, but it also has lots of advanced features we can tweak to boost our speed even further (more on that later). Of course, ADWLauncher is also very popular, and the Android Market is rife with other options.


I'm going to write the rest of this tutorial from the perspective of a LauncherPro user, since from what I've seen, it has the most speed-boosting options, but you should be able to find many of the settings I mention below in other launchers, too—I'll note where a few of them are along the way, but you may have to do some poking around of your own depending on what Launcher you're using.


If you have an HTC phone with the exclusive Sense UI and you'd rather not ditch it for something like LauncherPro, that's fine—you can still put this tip into practice. While some phones, like the Motorola Droid, come with a mere three five home screens, many (including most HTC phones) come with up to seven. While this is pretty handy if you like lots of icons and widgets (which I'll mention again in a moment), they can really take up a lot of memory on your phone, which can cause jerky animations, lag, and force closes.


How to Speed Up Your Old or Sluggish Android Device


In our guide to organizing your Android home screen, we mentioned the two philosophies behind home screen usage. It's fine to have lots of home screens, icons, and widgets, but if your phone isn't performing up to your standards, you may have to compromise and try using fewer home screens (or at least find a middle ground). I went down from seven to three home screens and haven't looked back—the jump in performance was pretty incredible.


If you're using LauncherPro, you can pick your number of home screens by hitting the Menu button on your phone, tapping Preferences, then tapping Homescreen Settings. If you're sticking with your stock launcher, you may not have the option to actually decrease the number of home screens, but you can still benefit by removing some icons and widgets from two to four of your home screens. It probably won't give you as big of a benefit as getting rid of the screens entirely, but those widgets can still suck up tons of memory, and deleting them from your home screen should make your phone run noticeably smoother.


How to Speed Up Your Old or Sluggish Android Device
When we discussed the myth of Android task killers, we mentioned that one of the real problems with slow phones is running poorly coded apps—apps that use up too much CPU in the background. Previously mentioned Watchdog is still a great way to keep track of those apps: if something is constantly running in the background, it may be causing some of the performance hits on your device. Unless it's something you can't live without (and are thus willing to live with any slowness it might cause), uninstall it and find an alternative.


Note that some of the worst offenders in this category are apps that come pre-installed on your phone. Unfortunately, you need to be rooted to uninstall these, but we'll talk about that in a bit.


It's also worth mentioning that even if an app doesn't misbehave (heck, even if you don't run it at all), it can cause slowdowns on your device. Believe it or not, the more free space you have in your phone's internal memory, the faster your phone can write to the disk. If you aren't sure how much free space your phone has, you can check it by going to Settings > SD Card & Phone Storage to see. You can also see which ones are taking up the most space by going to Settings > Applications > Manage Applications, hitting Menu, and sorting them by size. If you find you aren't even using an app that's hogging space, you might as well uninstall it—no point in keeping it around just so it can slow down your phone.


How to Speed Up Your Old or Sluggish Android Device


Your other option is to use the ever-handy Apps2Sd to move some of those apps off your phone's internal storage and onto your SD card. By default, the developer of a given app usually decides whether an app will install to your SD card, but with the App 2 SD app, you can do it yourself. Just pop open the app, and you'll get a list of apps that are on your internal storage that have the ability to move to the SD card. Just move them over to free up space.


If you really want to dig into your system's settings (or you compromised on that "use fewer home screens" tip), there are a few more advanced tweaks you can make to your launcher that should help it run a bit smoother.


How to Speed Up Your Old or Sluggish Android Device


If you're using LauncherPro, hit the Menu button and go to Preferences > Advanced Settings > Memory Usage Settings. While you can tweak the Advanced Settings to your liking, the easiest way to take advantage it to use one of LauncherPro's many Memory Usage Presets. These presets tweak different settings to fit the needs for different people and different phones. You can read more about these settings on the LauncherPro blog, but here's what you really need to know:



Starting with version 0.6.1, there is a new option in the preferences called "Memory usage". Right now there are three modes; light, medium, and high.

Light mode is basically what 0.6.0 uses, and it's made for users that have 5 or more screens, a lot of widgets/icons (or many full-screen widgets), 3D drawer, etc.Medium is the default, it should work best for most users with a moderate-to-high amount of widgets/icons.High mode doesn't try to optimize memory usage. It's very much like the early versions of LauncherPro, so it should give the best performance. If you don't have a lot of widgets/icons on your screens, you should try this setting.

Note that there are now more than three presets, but the general premise remains the same. If you're still filling up your home screen with icons and widgets, you might want to try out a setting on the low end of the list. If you've taken my advice thus far, I can tell you High mode will give you a pretty nice performance boost.


How to Speed Up Your Old or Sluggish Android Device


One great thing about LauncherPro is that if you go to Preferences > Advanced Settings and check Display Memory Usages, you'll be able to see how much RAM is being used at any given time. This is a good way to tell whether you have RAM to allocate to these different things, or whether the amount of RAM is too small to let LauncherPro keep trying to use it all up.


If you're using ADWLauncher, you won't have nearly as many choices, but I would still recommend going into ADW's settings, hitting System Preferences, and playing around with a few of the features there like Scrolling cache and System persistent, which should perform similar tasks (albeit not as well as LauncherPro or CyanogenMod's similar settings, which I'll talk about in the section for rooted phones).


If you've taken the plunge and rooted your Android device, you have a few more options available to you that should help you eke some extra speed out of your device. Note that these are a bit more advanced (as would be expected with root-only options), and require a bit more care, so be sure to backup your phone before you make any huge changes to it in case anything goes wrong.


Still one of the best reasons to root your phone is to install a custom ROM, not only for the neat features it brings but for the speed increases it can bring your phone. We've gone through the details of installing custom ROMs before, so I won't go too deeply into it here, but I do recommend it if you need some speed increases, especially if the ROM is based off a later version of Android than your phone currently has. Lots of phones are still stuck with 2.1 and earlier, and while some ROMs can run a bit slower than stock Android on some phones, the speed increases Android 2.2 brings likely outweigh them.


How to Speed Up Your Old or Sluggish Android Device


Many ROMs are built for speed and stability, and while you'll get a great performance boost from them, I've found that even with a ROM like CyanogenMod I've been able to eke some good performance out of my phone (especially by tweaking some of CyanogenMod's advanced features). So don't think that you have to choose a ROM like Bugless Beast just because you have an old phone. Of course, trying a few different ROMs is always a good idea to see what works best for you.


How to Speed Up Your Old or Sluggish Android Device
A surefire way to get a speed boost out of your old, underpowered phone is to overclock it. We've also discussed this already before, so we won't get too deep into it here, but I will remind you that to overclock, you'll need to install a custom kernel. These are specific to your device, so you'll have to do some googling for compatible overclocking kernels to find one that's right for you. Generally, kernels are organized by two things: voltage and clock speed. The higher clock speed you choose, the more likely you'll need a higher voltage kernel (which, by the way, will drain battery faster). As long as you're not going overboard with the overclocking, you should be able to get by with a low or standard voltage kernel without a problem.


How to Speed Up Your Old or Sluggish Android Device
If your phone came pre-installed with all sorts of applications that you don't need, you can unisntall them with an app called Titanium Backup. Once you've downloaded it, just open it up and hit the "Backup/Restore" button at the top of the screen. Tap the app you want to get rid of. You'll probably want to back it up first, in case it ends up being integral to your phone's operation, but once you have you can uninstall it from the same screen. Alternatively, you can just freeze the app, which won't free up space on your phone's memory, but will keep it from running in the background and slowing your phone down. Note also that, like all these root-only options, you could seriously mess up your phone if you go too crazy, so maybe a full-phone backup is also a good choice here.


This is one of the most difficult tweaks to perform on your phone, because it varies so much from person to person what works best. Furthermore, some ROMs may not have these settings in their preferences—you may have to do some terminal work to enable them. I'll go through what they are, and point out their location in the CyanogenMod ROM since it's the most popular and widely available, but if you don't have them in your ROMs settings you may have to do some googling to find out how to tweak them. That said, here are some of the handier features.


How to Speed Up Your Old or Sluggish Android Device


Compcache: Compcache is essentially virtual swap space in your RAM. In a nutshell, it gives you "more" RAM, but it's a bit slower than regular RAM because it takes CPU to compress and decompress packages that are swapped into it. This is one of the most debated features: many find that it helps things like the home screen load faster; others prefer to keep it off. Try it both ways and see what works for you. New versions of CyanogenMod also allow you to choose how much RAM compcache sets aside as virtual swap space, so you can play around with that as you so choose.


JIT: JIT is a Java compiler available in Android 2.2. Enabling it won't give you a big speed increase as far as small apps, loading the home screen, and other such niceties, but it will likely give you a big speed boost in intense applications, like games.


Lock Home in Memory: This is similar to the LauncherPro memory features we discussed above, as it attempts to do exactly what its name implies: keep your home screens in memory so that it doesn't have to keep redrawing them all the time. I'd recommend enabling this if you have the memory for it.


VM Heap Size: This is one of the more interesting settings. the VM heap size is the maximum amount of memory an application is allowed to allocate. Resource-intensive apps will require a larger VM heap, while simper apps don't need as much. You'll want to play around with this setting, but you should be able to tell after going through the other settings what setting you'll want here. If you allocating tons of memory to LauncherPro, or your have JIT enabled for resource-intensive applications, you might want to try 32M. If you're trying a more minimalistic approach to everything, you might find 16M or even 12M boosts the speed of your phone considerably.


With all these settings, try changing just one at a time and see how your phone responds over the course of a day or two. Everyone's settings will be different; there is no one size fits all here. Depending on your phone, the apps you use, how you've set up your home screens, and other tweaks you've made, your phone will respond differently to different settings. So, if you're dedicated to messing around with them, go for it—otherwise, you'll probably just want to leave them at their defaults (which are set on a per-model basis, for what it's worth). Also note that if you start messing with these settings, you never know what might happen, so many developers won't let you submit bug reports if you've changed the defaults. And, of course, always always always make a backup.


There's no doubt some of these tips are easier than others, but no matter who you are, there should be some tweaks here that help you out. While everyone's phone is different, it's likely many of you have found certain tweaks more effective than others, too, so share your own tweaks and the results you get with the above with each other in the comments.

Send an email to Whitson Gordon, the author of this post, at whitson@lifehacker.com.