Pages

Saturday, February 20, 2010

Vaadin The new generation User interface with Web

hi friends !!!!!!!!!

Recently i have been through a new java framework for the browser based technologies.
With very powerful GUI support and application development support.
  Vaadin is a Web application framework for Rich Internet Applications (RIA). In contrast to JavaScript libraries and browser-plugin based solutions it features a server-side architecture, which means that the majority of the logic runs on the servers. AJAX technology is used on the browser side to ensure a rich and interactive user experience. Vaadin is a big collection of UI components. There are server-side components like Button, Table, and Tree that you use to compose the application user interface. The components use events, listeners, and data binding to communicate with each other and the business logic. Vaadin is a robust architecture for rapid application development. The component-based architecture together with the data binding features help you to build applications that are easily modularized and refactored as needed.

The framework is completely based on Google's GWT library. In the early days it was called ITMill Toolkit later it was renamed to Vaadin.

There a lot of features that you will find interesting about vaadin some of them are listed below with there context:

One of the most prominent features of Vaadin is the ability to use Java (using a Java EE platform) as the only programming language, while creating content for the web. The framework incorporates event-driven programming and widgets, which enables a programming model that is closer to GUI software development, than traditional web development with HTML and Javascript.

Vaadin utilizes Google Web Toolkit for rendering the resulting web page. While Google Web Toolkit operates only client-side (i.e. a browser's JavaScript engine) – which could lead to trust issues – Vaadin adds server-side validation to all actions. This means that if the client data is tampered with, the server notices this and doesn't allow it.

Vaadin's default component set can be extended with custom GWT widgets and themed with CSS.

From application developers point of view, Vaadin is just one JAR-file that can be included in any kind of Java Web project developed with standard Java tools. In addition, there is an Eclipse plugin for easing the development of Vaadin applications as well as direct support (and distribution through) Maven.
Vaadin applications can be deployed as Java Servlets to any Java server, including Google App Engine. Applications can also be deployed as Portlets to any Java portal, with deeper integration to Liferay Portal.
There are a lot of demos given on the Vaadin web site you can find the power of vaadin by following the link below VaadinTunes actually it is a advance layout designing example given on there web portal its not really working mp3 player.
Even though through this you can think of the power of the framework.

this just gives a preview of it in the demo section you can find a full version of the address book application.
The sampler section provides you with all the GUI based examples with there codes. These codes you will find like other simple java swing programs . You can use the eclipse plug-in to develop the vaadin applications or most popular of the java editing tool is the NetBeans that can also be used but it would require a little bit of the extra work .
Even now they have provided the NetBeans plug-in too. Finding on the net would be better.

Every thing that you need to know to develop the vaadin application you will be easily finding it on the vaadin web site and also take there 5 minute video thats very nice for a beginner .

Like vaadin there are other frame works developed by different vendors a brief description of them will be good before making the comparison among all the frame works.

Historically, Vaadin has been compared to Echo and ZK frameworks that use similar of server-side programming model. The server-side APIs are quite similar providing both events and GUI components, but the client-side (i.e. web browser) interaction differs in the way that Vaadin uses Java programmed GWT widgets, while ZK is jQuery based, and Echo has its own implementation. Currently, the most frequently compared frameworks include Adobe Flex, Google Web Toolkit, Apache Wicket and ICEfaces.
For C++, the Wt toolkit offers similar capabilities.



 I am also working on this framework and aim to make an IDE for java as like that of my first post Bespin .
Following are some URLs that you will find interesting 

there officail web site: http://vaadin.com/home 
NetBean and Vaadin integration: 1)   http://vaadin.com/wiki/-/wiki/Main/Getting%20Started%20on%20NetBeans


2) http://netbeans.dzone.com/news/vaadin-develop-pure-java-web
 

Thursday, February 18, 2010

Bespin Code in the Cloud



Hi all you techie people there!!
Have you ever thought of coding your java program in you browser . May be within few years you will see some IDEs that are in the browser . Even if the fulll fledged one but you can find Bespin an interesting one .



Bespin is a Mozilla Labs project aiming to create an open extensible and interoperable web-based framework for code editing.
The name is thought to be based on Bespin, the fictional gas giant from Star Wars which relates to a cloud computing nature of the project.
Bespin encourages a more shared environment where data can be accessed from any machine. This allows developers to collaborate on projects through a unified interface accessed through a web browser, no matter where they are physically located. The application is available to anyone after free registration on the website.
Bespin currently supports syntax highlighting for HTML, CSS, PHP, Python, C#, C, Ruby, Arduino and JavaScript.

As is shown in the figure there are alot of features that you can make use of for not that fast as the Pro IDEs provide you with but at least of a simple editor.

You can freely use this and also integrate this in your web site .It is simply developed in Javascript and the JQuery library .Being a freeware you can edit the code and if you have much command over the language then modify it according to your needs .

You can just start it by following the given link below
https://bespin.mozillalabs.com/
Just sign u there which is just a minute matter and you are in the cloud and start coding .


This is the preview window of the code you can run the commands from the command prompt and do much more its on you to explore it now

the link below gives the video of basics
http://vimeo.com/3195079