Re: Javascript in Horde6
Michael J Rubinsky <[email protected]> Tue, 29 Nov 2016 16:46:12 +0000
| Newsgroups | gmane.comp.horde.devel |
|---|---|
| Message-ID | <20161129164612.Horde.2YeqIzRL63viFbG1tFX2zDf@h4.theupstairsroom.com> |
Quoting Ralf Lang <[email protected]>: > Am 29.11.2016 um 13:53 schrieb Michael J Rubinsky: >> >> Quoting Diana Hille <[email protected]>: >> >>> Hello, >>> >>> I am developing a new Horde-Application and I'd like to ask a question >>> about dynamic view. Is it possible to implement an application solely >>> based on jquery and smartmobile or is it necessary to use both prototype >>> and jquery? >> >> >> If you want to implement only the mobile view, then you can use >> jquery. Our traditional/dynamic views both rely on prototype.js. >> > OK, so there is no plan to change this when dropping the "traditional" > mode for upcoming releases. Definitely not before Horde 6. For Horde 6 we can, of course, open up discussion for this. However, it is very unlikely that we would *drop* prototypejs from our code. Providing jQuery.noConflict may be a solution, however. The few times I wanted some jquery UI widget, I ended up just re-implementing it in prototype :) > Current documentation says "This is generally not accepted upstream." > > > Diana's app is a very simple human resource planner with a kronolith > backend and currently reuses smartmobile's js widget code. It loads > jquery even outside of smartmobile view and then uses a workaround when > doing jqueryisms for iterating objects etc > > https://wiki.horde.org/Doc/Dev/HordeAjaxApplications > > > var $j = jQuery.noConflict(); > > Maybe we need to convert this to prototype-ish routines when drawing the > dynamic/desktop view or implement something which fits both situations. > > -- > dev mailing list > Frequently Asked Questions: http://wiki.horde.org/FAQ > To unsubscribe, mail: [email protected] -- mike The Horde Project http://www.horde.org https://www.facebook.com/hordeproject https://www.twitter.com/hordeproject -- dev mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
smime.p7s
(application/pkcs7-signature, 2 KB) - not displayed