I know that it doesn't sound a great idea at first sight, but let me
explain my reasons:
- First of all most of the things we currently do using Dojo can be
easily replicated and be more agnostic without it. Actually some of
them, like pagination on tgext.crud are already available since a few
releases even in the plain HTML version.
- Many tg+dojo bindings are currently unmaintained and have issues,
like using Sprox+Dojo and tgext.crud+dojo
- On tgext.crud dojo has been disabled by default as wasn't working
to many people, probably related to tw.dojo somehow but as it seems
that even tw.dojo isn't getting much love recently no one had time to
fix it.
- It seems that there is no one interested in maintaining those parts
of code, they are broken since around 8 months ago and they still are.
- We don't have enough resources to be able to maintain multiple
versions of the same tools (crud with and without dojo) and doc
(tutorial using and not using dojo).
If we want to improve the Widgets/FrontEnd/JavaScript layer of TG as
Christoph Zwerschke was suggesting at the last metting cleaning up the
currently frontend related parts of tg might be a required step and
even if we choose to use Dojo as our foundation for the frontend part
I doubt that the current dojo related code might be useful as a
starting point.
What do you think?
As far as I understand, tgext.crud makes use of sprox.dojo which uses a
Dojox.grid.DataGrid via tw.dojo (Dojox is to Dojo what TGExt is to TG).
I think the main problem here is that tw.dojo is pretty much a dead
project - download links do not work and its successor tw2.dojo has not
been released yet and seen no updates for 2 years either. Meanwhile,
Dojo has evolved quite a lot, and there are already two successors
(dgrid and gridx) for the old Dojox grid
(http://www.sitepen.com/blog/2011/10/26/introducing-the-next-grid-dgrid/).
So, I agree that it's best to disable Dojo support in tgext.crud.
Ideally, tw2.dojo and tw2.jquery will be updated, then Sprox will be
updated to use the new Dojo dgrid and alternatively jqGrid, and then
tgext.crud will be made configurable to use plain HTML, dgrid or jqGrid.
But that's a long way to go, and though it sounds interesting, I'm not
sure whether I'll have enough time this year to work on such stuff. I
currently see myself working more and more on client side code and am
not so much using server side frameworks such as TG or TW any more.
-- Christoph
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to turbogears-trunk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en.
I think that boils down to that somebody needs to bring tw2.jquery back
into shape. Another idea would be to make use of Bootstrap (for
http://twitter.github.com/bootstrap/) - it could be included as part of
the default quickstart app and/or its jQuery plugins could be provided
through a tw2.bootstrap as an alternative to jquery.ui.
-- Christoph
-- Christoph
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to turbogears-trunk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en.
The HTML and CSS files of Bootstrap can be used without the jQuery
Plugins. They could be used instead of our current quickstart templates.
The jQuery plugins are only an addition to that, I understand them as an
alternative to jQuery UI.
In think we have decided to support jQuery as default JS library, but
jQuery itself provides no widgets. jQuery UI would be a natural choice,
but it's a bit limited and developing slowly. Bootstrap plugins are an
alternative, also jQuery Tools, Kendo UI, Ninja UI (all jQuery based).
-- Christoph
-- Christoph
--
You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com.
To unsubscribe from this group, send email to turbogears-trunk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en.