for example:
each directory will contain one gwt module (plugin), main gwt module
(plugin manager) will load plugins and use them.
to implement following, gwt module_a should be able to access module_b
api during runtime... and currently this is not possible, right?
Your strategy would mean methods which are not used by a given app are
still loaded. That's wasted bandwidth. That will result in jokes like
the digg homepage, which downloads 3MB worth of javascript, half of
which is never used.
Marco
On May 16, 11:08 pm, Andrej <ahars...@gmail.com> wrote:
On May 17, 11:58 am, cignini <cign...@gmail.com> wrote:
> I retain that is a good solution for a client application that must be
> web based.
You mean like how GWT produces client apps that are web based?
Marco
Let me explain:
GWT supports the idea of plugins, project separation, and isolation of
modules extremely well.
It's just that the gwt COMPILER takes all these separated things and
efficiently packs them into as small a monolothic javascript file as
it can manage. Consider it a web-page load optimizer on steroids. The
end result is completely irrelevant for programmers; the only major
difference is that GWT forces you to distribute your libraries and
plugins as source. If you think there's a market for that when the
penalty is 10x larger JS files, go right ahead, but... just no.
Everything you mentioned is possible in GWT *NOW* without your idea of
a plugin system.
the only major
difference is that GWT forces you to distribute your libraries and
plugins as source. If you think there's a market for that when the
We are thinking to distribute this project as opensource but this is
not a one day decision ;-)
Marco
p.s. to Reiner: think we didn't understood ourselves: I agree on what
you said!...but the specs of our project doesn't include dimension of
compiled JS (at least at the moment).
On May 17, 3:13 pm, "Andrej Harsani" <ahars...@gmail.com> wrote:
> Hi Marco,
> Do you have any documentation of your gwt plugin framework?
>
> Yes plugin architecture is very usefull. good non-web examples are eclipse
> or firefox.
>
> I need it because I want to allow 3rd party developers to create plugins
> into my new
> GWT application.
>
> A.
>
> On 5/17/07, cignini <cign...@gmail.com> wrote:
>
>
>
>
>
> > I retain that this is a good solution because separate
> > responsibilities in different plugins permits to simplifies team work
> > development and large reuse of plugins in different situations.
> > A view that display contents of a User contained in one plugin used in
> > an application A that performs some activity is reusable in an
> > application B in just simple few clicks.
>
> > Marco
>
> > On May 17, 12:11 pm, Reinier Zwitserloot <reini...@gmail.com> wrote:
> > > On May 17, 11:58 am, cignini <cign...@gmail.com> wrote:
>
> > > > I retain that is a good solution for a client application that must be
> > > > web based.
>
> > > You mean like how GWT produces client apps that are web based?
>
> --
> Best regards,
> Andrej Harsani
> Quality Unit
I think that for the amount of work it would take, it would create a
huge benefit to a lot of developers in:
1) separation of logic
2) initial startup complexity and load time (deferred loading of
modules)
3) some users might not need all of the plugins, therefore actually
saving them bandwidth
4) security - some users might not be allowed to see all of the
plugins (or even the obfuscated source for them)
-krispy
Marco
-krispy
main question is if something like this is possible at all (because of
one of the main
compiler design goal - js optimalization),
and if yes if they plan to do it.
a.
On May 17, 4:40 pm, krispy <cplum...@integrity-apps.com> wrote:
-krispy
http://code.google.com/p/google-web-toolkit/issues/detail?id=620
I've added a link to this topic and a comment - I think they tried to
discuss the idea before but too many other things were going on then.
-krispy