meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vaadin:start [2009/10/04 16:28]
hevi
vaadin:start [2009/10/22 11:11] (current)
hevi
Line 1: Line 1:
 +~~NOTOC~~
 +
 ====== Vaadin Coding ====== ====== Vaadin Coding ======
 +{{ :vaadin:vaadin-logo-ok.png}}
 for [[:vaadin2009:start|Vaadin Code Camp 2009]] for [[:vaadin2009:start|Vaadin Code Camp 2009]]
  
 Generally go to [[http://vaadin.com|vaadin }>]] site, lot of information is there. Generally go to [[http://vaadin.com|vaadin }>]] site, lot of information is there.
 +
 +====== Coding References and Links ======
 +  * See IT MILL vaadin pages  http://vaadin.com
 +    * [[http://vaadin.com/tutorial|Tutorial]]
 +    * [[http://vaadin.com/book|Book]]
 +    * [[http://vaadin.com/api/|API]]
 +
 +
 +====== Short Coding Notes ======
 +**CTRL+1** (Quick Fix) to give choices to fix code under cursor. Be careful although to select **right** things, like packages, usually **com.vaadin.***.
 +
 +**CTRL+SPACE** to complete names.
 +
 +**/?restartApplication** in end of browser URL field to refresh vaadin servlet in tomcat to make changes effective.
 +
 +**WebContent/WEB-INF/lib** is the place store additional **.jar**:s.
 +
 +**Keep code formatted and clean** on eclipse file **CTRL-A** and **CTRL-SHIFT-F** to format code automatically.
 +
 +====== Monday Demo =======
 +  * {{:vaadin2009:goodnews.zip|GoodNews Sample Code}} and two jar's are neeeded as well to put them into MyProject/WebContent/WEB-INF/lib folder:
 +    * https://rome.dev.java.net/ **rome-1.0.jar**
 +    * http://www.jdom.org/dist/binary/ and jdom-1.1.1.zip. Open zip and take **jdom.jar** from jdom/build folder.
 +    * OR on eclipse
 +      * Create vaadin project GoodNews
 +      * File->Import, General->Archive File, select goodnews.zip and finish => GoodNews/GoodNews/ folder is created
 +      * Move files from GoodNews/GoodNews/WebContent/WEB-INF/lib/ to GoodNews/WebContent/WEB-INF/lib
 +      * Move files from GoodNews/GoodNews/src/com/example/goodnews to com.example.goodnews
 +      * GoodNews/GoodNews can be deleted
 +
 +
 +
 +
 +======= Data storage =======
 +  * For simple "key=value" case use [[http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html|Java Properties file]] 
 +  * [[http://en.wikipedia.org/wiki/Db4o_%28object_database%29|db4o]] is is also simple solution without annotations
 +  * If you are targeting Google App Engine use JDO or JPA and  read: http://code.google.com/appengine/docs/java/datastore/
 +  * For Java-based SQL storage [[http://db.apache.org/derby/|Apache Derby]]
 +
 +====== Contributed components/widgets ======
 +  * http://dev.vaadin.com/svn/contrib/
 +  * http://dev.vaadin.com/svn/incubator/
 +
 +====== Uilder code search ======
 +  * http://uilder.virtuallypreinstalled.com/search
 +
  
 ====== Coding Software ====== ====== Coding Software ======
 Information to set coding tool chain is found from vaadin book section [[http://vaadin.com/book/-/page/getting-started.environment.html|Setting up the Development Environment]]. Information to set coding tool chain is found from vaadin book section [[http://vaadin.com/book/-/page/getting-started.environment.html|Setting up the Development Environment]].
  
-Toolchain+[[wp>Toolchain]]
   - [[http://java.sun.com/javase/downloads/index.jsp|Java 2 SE 6.0]]   - [[http://java.sun.com/javase/downloads/index.jsp|Java 2 SE 6.0]]
   - [[http://www.eclipse.org/downloads/|Eclipse IDE for Java EE Developers]]   - [[http://www.eclipse.org/downloads/|Eclipse IDE for Java EE Developers]]
   - [[http://tomcat.apache.org/|Apache Tomcat 6.0 (Core)]]   - [[http://tomcat.apache.org/|Apache Tomcat 6.0 (Core)]]
-  - [[http://www.mozilla.com/en-US/firefox/upgrade.html?from=getfirefox|Firefoz 3.0.7 or newer]] +  - [[http://www.mozilla.com/en-US/firefox/upgrade.html?from=getfirefox|Firefox 3.0.7 or newer]] 
-  - +  - [[http://getfirebug.com/|Firebug 1.3.3 or newer]] 
 +  - [[http://vaadin.com/download/|vaadin]] 
 +  - [[http://vaadin.com/eclipse|vaadin Eclipse plugin]] 
  
-====== References and Links ====== 
-See IT MILL vaadin pages  
-  * http://vaadin.com : [[http://vaadin.com/tutorial|Tutorial]] [[http://vaadin.com/book|Book]] [[http://vaadin.com/api/|API]] 
  
-====== Questions and Answers ====== 
-Usually most fastest and easiest is discuss questions and problems directly with other groups, but if you have difficult problems without direct answers add them here.