28 Feb

Killer Applications with CakePHP, JQuery and Adobe Air

CakePHP, Latest Developments, jQuery

Have you ever wished to program desktop applications for your own web app? If you are like me, that is, most of the lazy web programmers… you never put your hands on any desktop language. Even though all of us knows what flexibility can be given to a web app if we develop its desktop based client.

I came across a new development framework, Adobe AIR, which lets you build cool desktop based application simply with web technologies. If you are good at HTML and AJAX you can easily start with this new framework. I was surprised to see that there are so many applications already using this. After just 3 hrs of experimentation with this, I started loving this new tool. It is very cool. Some advantages which impressed me are:

  • Real Fast: I built a stock market monitoring tool in just 3 hrs. It didn't look like I had to learn something new, everything went smooth. It was like developing AJAX enabled HTML pages and testing them in browser. Once you're done, you simply create xml configuration files, copy a JS from framework, compile it, and you're done.
  • Use your favorite JS Library: This is an amazing feature. My personal favorite is JQuery and I use it in almost every project. Please note: you have to have the latest version of JQuery to get it working with Adobe AIR. They recently patched for Adobe AIR only. I already wasted 30 minutes in solving security issues.
  • Cool CSS Extensions: Check this out.
  • Easy Debugging: Any errors/exceptions appear in command window.
  • Easy Drag and Drop: Super-easy functions like dragstart, drag, dragend, dragenter, dragover, dragleave, and drop.

Check out my stock market tool, just a basic version:

Everything is linked to a backend application which runs on CakePHP. Login function (UsersController::login) returns session_key to the desktop application if login is successful.

JavaScript:
  1. function process_login()<br />
  2. {<br />
  3. $("#status").html("Logging in...");<br />
  4. user=$('#user').attr('value');<br />
  5. pass=$('#pass').attr('value');<br />
  6. $.get("http://localhost/StockBack/users/login/"+user+"/"+pass, function(session_key){<br />
  7. if(session_key=='false')<br />
  8. {<br />
  9. $("#status").html("Unable to login");<br />
  10. }<br />
  11. else<br />
  12. {<br />
  13. $("#status").html("Logged in successfully");<br />
  14. $("#login").hide("slow");<br />
  15. $("#panel").show("slow");<br />
  16. }<br />
  17. });<br />
  18. }

(Sorry for posting code like this but my code editor in wordpress sucks – if anyone knows a good one, please recommend me)

To start learning, some important links are:

Developing Adobe AIR Applications with HTML and Ajax

Adobe AIR Quick Starts for HTML

Adobe AIR Language Reference for HTML Developers

The Adobe AIR HTML documentation set (a ZIP file) is available for download here:

http://www.adobe.com/go/learn_air_html_docs

23 Feb

Cloudo.com – Opening new doors on web

Latest News

Has anyone heard of this brand new web desktop service which was under development from last 3 years? Basically, this service lets you open all application on web browser which you can open from your computer. They have an amazing website and presentation to their application.

Tons of other web desktop applications are listed here, but this one looks better and simple in UI.

I can think of new level of connectivity between me and people I know. I could use these things in several ways:

  1. It's a free service and you got nothing to lose.
  2. If you are geeky about your stuff, you can access your docs, photos, music etc. from your computer or your mobile easily.
  3. Share & Collaborate with your friends just with 2 clicks.
  4. Supports wide-range of applications like Paint, Word processor, Games and loads of them.
  5. Also supports 3rd party developers to build and develop for this Web Desktop, which means you can enjoy a lot of flexibility.

This is how the application is designed:

I've signed up to their service and.. lets see when it comes out of alpha. I'll be excited to use it as it is definitely going to be great tool for my business.

The future is WebOS after all.

- Abhimanyu Grover

11 Feb

Business Processes using Artificial Intelligence

Best Practices, Latest Developments

Business growth and expansion is in every entrepreneur’s soul. Most of them come out with good ideas and suggestions to grow their businesses, but in today’s competitive world, one can not rely on man to perform all the tasks. Automation of the industries is a very genuine step to fulfill the dreams of expansion of the business. I have seen numerous cases, where the business, with lot of help from automation, grows at a very fast pace.

The automated industries are getting the fruits, in a long term, in following ways

• Time saving
• Higher Efficiency
• No human error
• Low operational cost

The use of artificial intelligence is one of the most unconventional thought in today’s world. Artificial Intelligence leads the industry to get the boom in production and output is maximized in least inputs.

The cases of automation can be seen in today’s world in most reputed organizations. We recently helped a data entry company, in automating their data entry process. Before automation, they faced lots of problems with the human errors, low efficiency, high operating costs, in form of salaries. The pitfall deteriorates the working conditions and leads the organization into defalcation.

We came up with an excellent idea to import the concept of artificial intelligence by the means of automating the data entry process and achieved the output by 10 times with no extra costs and no labor costs.

Another case of artificial intelligence is used in Maruti Udyog Pvt Ltd, for providing the colors to the body parts with help of robotic arms. This provides the uniform color to the body parts and a higher quality has been achieved in it.

Artificial Intelligence is now days used in many companies and all of them are diverting their processes to make the best output and hence, best profits.

The concept will rock the world with its leverage and provide large profits to entrepreneurs in all perspectives. The pros of the process are much higher than the cons. The only limitation in the process is its high initial cost.

“The greatest obstacle to discovery is not ignorance - it is the illusion of knowledge”. Daniel J Boorstin.

The quote explains the whole dilemma of the today market growth, where we are running behind every illusionary idea to get the success without seeking for the available option in form of Artificial Intelligence.

- Sandeep Sinha

Hire us

Contact us to get a free quote on your project.