Does anyone know a good production scale open source project written with GWT and the MVP pattern. I am flip flopping on a few approaches to design and wanted to see if I could find a project that tackled similar issues.
My answer comes a bit late, but I hope it can be useful. The largest example of a GWT application using MVP that I've found is Apache hupa. It uses gwt-presenter.
How about gwt-mvp-sample ? :)
Related
I'm new to the whole Spring and JPA world, and I'm trying to set up a project so I can work on a small project I thought for learning purposes. I find this whole setting up very frustrating because of all the configuration it requires.
What I want to do is setup a Spring 3 MVC project and a have the entities in a separate JPA project (with Hibernate as the vendor), but I couldn't find any step-by-step tutorials or something like that to help me get started.
I'd really appreciate if you point me to a simple tutorial.
I suggest you start here, IMO he has the best beginners tutorials
I finally got something to work (it's not easy coming from Visual Studio where everything is pre-canned, out of the box for you :) )
This URL did the trick for me: http://viralpatel.net/blogs/2010/06/spring-3-mvc-create-hello-world-application-spring-3-mvc.html
However, I did have a couple of snags before it worked, even with that. The first was that I didn't have commons-logging.jar in my WEB-INF/lib folder, and the second was that I didn't have jstl.jar in the same. For the first, I had to look in the spring release itself, and for the second, I had to look in the tomcat distribution.
Hope this helps.
The process is best explained in step-by-step form:
http://www.sandeepsachan.com/helloword-demo-spring-mvc-3-0-eclipse.html
Links to any sample gwt project using requestFactory, activites and places?
Thank you.
I found this post from David Chandler very helpful. It discusses a sample project (source code here) using Request Factory, Objectify and Activities and Places.
The project is also discussed in this Google I/O talk. The difference from the original project is that in the talk they use GWTP for the MVP part. You should check out GWTP also as it really simplifies developing with MVP.
My experience with the roo plugin for GWT and GAE wasn't very good. It wasn't very mature when I looked at it (around March 2011), but maybe things have changed since then. For example you had to compile from trunk, as the latest stable version had some bugs, and even then a many to many relation between entities wasn't supported. Documentation was kind of scarce also.
The MobileWebApp sample from the GWT SDK ?
http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/samples/mobilewebapp/
I'm looking for resources to learn how to use effectively Eclipse forms within an Eclipse RCP application. I was trying to use the newest SWT Window Builder plugin on Indigo but building forms this way doesn't really work for me eg. cannot put anything inside expandable composite etc. (I have Swing background with Netbeans designer) and I'm new to SWT.
All I can find so far is this quite old tutorial from 2005.
Any help, point to good tutorial/book/source code sample will be highly appreciated.
I've found http://www.vogella.de/ to be invaluable.
Not much changed actually since the old 2005 tutorial so it's still very usable.
Check these out in addition too:
Eclipse Forms: New in 3.3
DeveloperWorks article on making forms Web-like
Cheers,
Max
I've also got the hint to start with vogella but after the first 2 topics I realized It's to hard to start with.
What helped me much more was to create each example/sample project and look for the source. Once you understood how all works you can lookup at vogella what you exactly need.
We are in the process choosing a new GUI platform. Ive been looking at subj. but are a bit confused. Could someone please refer to at tutorial or blog that makes a qualified comparison.
Thanks.
Nikolaj G.
We've used SmartGWT for a couple of projects and it's ok but there are tradeoffs:
PRO:
Makes it easy to write a web app that looks and works like a rich client GUI.
Don't have to know any Javascript. SmartGWT coding is pretty similar to Swing coding, which is good if you already know how to do that.
CON:
Unless you do a lot of work tinkering with the look and feel, your app won't look very web-like, it will look like a rich client app running in a browser. You may not care about this.
It's a pretty heavyweight library which has to download large .js files to get going.
We found it difficult to control the layout of form controls precisely, but that might just be our inexperience.
I think you should fully understand what GWT does and what your projects needs are first and foremost. There wont be a source that will adequately compare them for your specific needs.
Start with the wikipedia http://en.wikipedia.org/wiki/Google_Web_Toolkit
Here is a comparison of SmartGWT vs GWT
http://www.theserverside.com/discussions/thread.tss?thread_id=60186
If interested in AJAX RIA Frameworts, below analysis is for you
Before starting new GUI for our new project arrival, I made some research.
Here are my findings (remove spaces from "http: // "; bcoz stackoverflow is preventing me to do so :)):
Prototype framework favorable links:
http://en.wikipedia.org/wiki/List_of_Ajax_frameworks
http://www.javabeat.net/articles/12-comparison-of-ajax-frameworks-prototype-gwt-dwr-and-1.html
http://www.devx.com/AJAXRoundup/Article/33209
Dojo framework favorable links:
http://blog.creonfx.com/javascript/dojo-vs-jquery-vs-mootools-vs-prototype-performance-comparison
jQuery framework favorable links:
http://blog.creonfx.com/javascript/mootools-vs-jquery-vs-prototype-vs-yui-vs-dojo-comparison-revised
Test speed of different RIA frameworks:
http://mootools.net/slickspeed/#
More comparasions:
http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks
http://jqueryvsmootools.com/#conclusion
Out of all these findings I started using SmartClient 5. Initially we faced some issues but as SmartClient matures I find it interesting in many terms:
1. APIs doc help and examples
2. Flexible controls
3. Forum
Today I am working on SmartClient 8 and few on my GUIs are in production running successfully. Actually the great help with SmartClient is that you find every thing at one place. No need to dug many other sites that is hard to do for any other open source RIA framework.
So my choice is no doubt SmartClient.
Thanks
Shailendra (shaILU)
I am just starting to develop some application using Eclipse RCP. I was able to hack out a prototype by reading some tutorials. Although I was able to hack out some working code, I found myself shaky on some of the RCP concepts like:
What is a page? I see a lot of getActivePage() API calls, so I am assuming there can be multiple pages am I correct?
In the IWorkbechPart API there is an API called getSite(), which is being use a lot, but I am not sure what is a "site"
The above are just a sample of questions I am having, so it would really help me if someone can point me to some articles explain these type of concepts (I did google around without success).
I would also appreciate it if someone can point me to some articles that can educate me on how to write clean RCP code; kind of like the "Effective Java" for RCP.
You may want to check this as well:
Take a look at the JavaDoc for the Interfaces, they are well documented and give you an idea of the terminology. For example:
What is a page?
Look at the Javadoc at org.eclipse.ui.IWorkbenchPage
called getSite(),
Look at the Javadoc at org.eclipse.ui.IViewSite