Nice work Arron On Sunday, March 31, 2013 11:07:19 AM UTC-4, Nutron wrote: > > Correct. My implementation provides simple classes (some of which are > extended from or contained in the clientcide lib - the tab class for > example is over there). But you can skip the Behavior layer if you want to > just do pure JS and do `new BootStrap.Popup(myElement);` if you want. > Further, if someone wanted to create a 1:1 mapping to the jQuery syntax, > they could do that and still invoke my classes that actually draw the > popup. Just write something that matches the jQuery API but instantiates > these classes. > > I'd love if it my implementation - with or without Behavior.js - were used > and contributed to by others. A jQuery-style API layer would be totally > welcome. > > On Sun, Mar 31, 2013 at 5:56 AM, Rolf Langenhuijzen > <plenty...@gmail.com<javascript:> > > wrote: > >> Hi Josh, >> >> That link doesn't have everything, or am I not seeing it all? There are >> multiple files still empty. >> Also, notice that the code is not super clean, for example: >> https://github.com/GPTechnologySolutions/mooboo/blob/development/js/bootstrap-togglebuttons.js >> This one has Event.Mock included at the bottom.. if you're quickly trying >> to pull this stuff in you might end up with errors. Also it doesn't wrap >> things inside their own scope. >> >> If you want this, I'd suggest going with Piotr's code and add stuff to it >> that you need, so others can benefit too. >> Perhaps fork from GPTechnology repo, update code, send pull request and >> also add to Piotr's repo. Then you have a collabo space with clean/good >> code that is maintained ;) >> >> Personally I use Aaron's Behavior which is really awesome; you have clean >> html markup with small chunks of javascript "attached" to it. This works >> really nice with the Bootstrap he's made for Mootools (I think there's also >> some things in from Dimitar) already, plus it's easy to add you own things >> or customise some default "Bootstrap" plugins. >> Yes, using Behavior requires more time, but imho it's worth it, so when >> you have some time, check it out: https://github.com/anutron/behavior >> >> Btw, using the Aaron's Bootstrap for Mootools doesn't add another layer >> of framework; https://github.com/anutron/mootools-bootstrap >> It doesn't require any Behavior code or knowledge, just check the UI >> folder, it's plain Moo code. >> >> Rolf >> >> >> >> On Sunday, March 31, 2013 7:21:43 AM UTC+2, Josh wrote: >>> >>> Just a note, I just found another version just now that has everything. >>> Slightly different implementation, but want us to refrain from reinventing >>> the wheel. >>> >>> https://github.com/**GPTechnologySolutions/mooboo<https://github.com/GPTechnologySolutions/mooboo> >>> >>> On Saturday, March 30, 2013 10:01:50 PM UTC-7, Josh wrote: >>>> >>>> Hello piotr_cz, >>>> >>>> I am a designer at Kunena.org. We ran into a similar situation with >>>> Bootstrap at Kunena.org for our next Kunena 3.0 version. We really liked >>>> the semantic markup Bootstrap offered and wanted to take advantage of that >>>> in Joomla 3.0 and in Joomla 2.5. However we did not want to introduce a >>>> library, in this case jQuery, that was not part of the default Joomla 2.5 >>>> install. I did the "Tab" conversion from jQuery to Mootools based on the >>>> current Joomla implementation so our tabs could work with Bootstrap >>>> markup. >>>> The problem we ran into though was for all other features in Bootstrap we >>>> needed to rewrite all Joomla default JS files, and some of these files are >>>> third party JS features which makes this approach very difficult. >>>> >>>> I searched for many weeks for a suitable build of Mootools for >>>> Bootstrap. I came across Aaron's version as well, however like you I felt >>>> it was on the heavy side with the extra layer of another framework that >>>> was >>>> created. So we were in a similar situation where we would have to rewrite >>>> all Bootstrap jQuery JS to Mootools JS. I am very glad someone has >>>> started >>>> this initiative. I really like to see a minimal version of Mootools for >>>> Bootstrap as well. I would really like to work together to get this >>>> accomplished. We are a little busy with our release at the moment, but I >>>> am sure we can find some time to accomplish this. >>>> >>>> On Friday, March 15, 2013 1:21:58 PM UTC-7, piotr_cz wrote: >>>>> >>>>> Hi there. >>>>> As you are probably aware, Joomla since version 3.0 is using Bootstrap >>>>> and jQuery in it's core. >>>>> Developers are not forced to use these, but are the default templating >>>>> tools (MooTools 1.4.5 is still available, but being slowly phased >>>>> out). >>>>> >>>>> Since I use Joomla, MooTools and responsive layouts, I though I'll try >>>>> to rewrite Bootstrap plugins for MooTools. >>>>> >>>>> The reason why I decided to not use Aaron's version (Mootools- >>>>> Bootstrap) was to replace jQuery with minimal effort, just by >>>>> replacing javascript plugin files in original Bootstrap package (ie. >>>>> using system plugin for Joomla). >>>>> >>>>> So far this worked out fine for smaller project. >>>>> If anyone is interested, take a look at https://github.com/piotr-cz/** >>>>> Mootools-Bootstrap-plugins<https://github.com/piotr-cz/Mootools-Bootstrap-plugins> >>>>> >>>>> >>>>> >>>>> At the moment this is a proof-of-concept. Most plugins were rewritten >>>>> to pass the unit tests (which have some false positives) and not >>>>> really used anywhere. >>>>> >>>>> The plugins were rewritten by replacing jQuery-specific functions (not >>>>> by refactoring classes) by purpose: to easily implement upstream >>>>> commits. >>>>> >>>>> Let me know what you think or if you find this helpful. >>>>> >>>>> piotr_cz >>>>> >>>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "MooTools Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to mootools-user...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >
-- --- You received this message because you are subscribed to the Google Groups "MooTools Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mootools-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.