On Thu, Jan 6, 2011 at 2:46 PM, Greg Brown <gk_br...@verizon.net> wrote:

> > How do you launch application like
> > org.apache.pivot.tutorials.effects.CollapseTransition with
> > DesktopApplicationContext?
>
> java -cp ... org.apache.pivot.wtk.DesktopApplicationContext
> org.apache.pivot.tutorials.effects.CollapseTransition
>
> > 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.
>
> You can use the Eclipse plugin to easily launch Pivot applications from
> within Eclipse:
>
>
> http://cwiki.apache.org/confluence/download/attachments/108483/org.apache.pivot.eclipse_2.0.0.jar
>
> You can right-click on any class that implements Application to launch it
> as a desktop app.
>

I was running application that way. If you teach something to busy newbies,
that is the way to go, should not rely on more complicated environment
settings.



>
> > 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.
>
> Not entirely sure what you mean. All of the demos and tutorials are
> developed first as desktop apps, then deployed to the web.
>

The current Pivot site does not provide such development steps. Just
providing final web based application.


>
> > 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.
>
> This is more of a documentation issue than anything else. I think your
> complaint is that the documentation focuses too much on BXML rather than
> pure Java examples. That may be true, but as I said, with limited time you
> have to focus on the things that will have the most impact, and it's
> generally easier to read and understand a BXML example than a Java one.
> Also, after reading the BXML Primer, you can easily figure out how the
> markup maps back to Java.
>

Good document and sample code are both important. Even there is a good
document, it is far from sufficient. People just want to copy and paste from
sample code.



>
> > 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.
>
>
> Cool. Why don't you create a Google Code project for it?
>
>
>
I may do so, but it would be nice if Pivot support this as the sub(?)
project.
I mean it don't have be mine, but some CRUD support should be a part of
Pivot as other frameworks do.

-- 
Cheers,
calathus

Reply via email to