On Thu, Jan 6, 2011 at 1:22 PM, Greg Brown <gk_br...@verizon.net> wrote:
> > The current Pivot samples does not provide good desktop application. > > Sure they do. You can launch any one of them via DesktopApplicationContext. > > > Many example cannot execute without browser unless we write some extra > code > > to provide Application class. > > That is incorrect. In most cases, an Application can be launched either via > BrowserApplicationContext or DesktopApplicationContext without any changes. > How do you launch application like org.apache.pivot.tutorials.effects.CollapseTransition with DesktopApplicationContext? There might be someway to execute them without creating a new class, but it would be more convenient if there is already executable Java class to run from Eclipse environment. in particular tutorial which meant for beginners. > > If you want to emphasize such Java desktop usage scenario, it is better > to > > enhance these sample/source/tutorials. > > The tutorial applications are meant to serve as "live" demos within the > documentation. We would not be able to do this if they were packaged up as > applications - we'd have to rely on screen shots, which is much less > effective. > I think it is OK to provide internet/browser version. But there should be another version for desktop application developer. Also I felt these presentation is suppressing the advantage of pivot to develop web app first as ordinal desktop application (easy to debug), then deploy to web. > > > Also if desktop application is more focused, the full advantage of Java > > language, e.g, static type checking, generics, annotation, (some builder > > style declarative approach) to be employed in Pivot. > > I don't see the distinction. Pivot already takes advantage of these > features, and they apply regardless of whether the application is deployed > via the web or desktop. > The current focus on BXML makes it difficult to employ these Java features. If I did not develop BXML2Java converter, such generic library development would have been more difficult. > > > Pivot lacks basic CRUD pattern which is supported in other frameworks. > > As I provided some sample CRUD code using generics, there are potential > that > > Pivot can provide a easiest framework to develop rapid (yet reasonably > > sophisticated, and maintainable) GUI front-end. > > If these library are more provided(not just individual features which > must > > be combined to develop actual application), Pivot will be more > attractive. > > Pivot is a volunteer-driven effort with limited resources. If you believe > that this is a gap that should be filled, please consider submitting a patch > for it. > I already created a basic CRUD sample library. GenericTableView, GenericForm, GenericCRUDPane, etc. Although these are not accessing DB now, I think if other people join this pivot CRUD project, it would be nice. > > G > > -- Cheers, calathus