Re: [web2py] Re: Ractive example
Where are we going? I also didn't had any answer here : https://groups.google.com/d/msg/web2py-developers/x23GReU0McM/5kX42ft-PAAJ Thanks Richard On Fri, Apr 17, 2015 at 10:56 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > No. That simply decides wheher to display the login menu.
Re: [web2py] Re: Ractive example
No. That simply decides wheher to display the login menu. On Thursday, 16 April 2015 13:41:03 UTC-5, Richard wrote: > > Hello Massimo, > > Are you really consider leaving authentication filtering of page elements > to ractive ({{#if (auth && auth.user)}} ...)? > > Richard > > On Wed, Apr 15, 201
[web2py] Re: Ractive example
yes. On Wednesday, 15 April 2015 14:44:27 UTC-5, Richard wrote: > > If I understand to style and create a semantic ui form style I would have > to create new layout and form template? > > forms.bs3.html -> forms.semntaic-ui.html > > ? > > Richard > > Le mercredi 15 avril 2015 15:30:40 UTC-4, Rich
Re: [web2py] Re: Ractive example
Hello Massimo, Are you really consider leaving authentication filtering of page elements to ractive ({{#if (auth && auth.user)}} ...)? Richard On Wed, Apr 15, 2015 at 3:44 PM, Richard wrote: > If I understand to style and create a semantic ui form style I would have > to create new layout and
[web2py] Re: Ractive example
If I understand to style and create a semantic ui form style I would have to create new layout and form template? forms.bs3.html -> forms.semntaic-ui.html ? Richard Le mercredi 15 avril 2015 15:30:40 UTC-4, Richard a écrit : > > Hello Massimo, > > I am looking at w3 right now... I have been ab
[web2py] Re: Ractive example
Hello Massimo, I am looking at w3 right now... I have been able to make it works... I would like to know how your plan to integrate this into web2py... What it needs to be consider relatively stable for user to use it... Does your experiment is sufficiently well thought, it could be generalize
[web2py] Re: Ractive example
so it needs new widgets? (this is what I expected) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to
[web2py] Re: Ractive example
yes it is orthogonal. In fact it uses very little of web2py, almost exclusively the DAL and marginally the web2py template language. On Thursday, 26 March 2015 02:48:05 UTC-5, Tim Richardson wrote: > > > > On Tuesday, 24 March 2015 13:55:25 UTC+11, Massimo Di Pierro wrote: >> >> Please look into
[web2py] Re: Ractive example
On Tuesday, 24 March 2015 13:55:25 UTC+11, Massimo Di Pierro wrote: > > Please look into this: https://github.com/mdipierro/w3 > I could very much use your opinions. I am working on it actively these > days. > >> >> Massimo, the w3 'project': it seems to be orthogonal to bootstrap3 support, so i
[web2py] Re: Ractive example
As part of the documentation, can you please post a video and screenshots with all the new changes? Sorry. On Tuesday, March 24, 2015 at 3:41:56 AM UTC-4, Massimo Di Pierro wrote: > > W3 stands for my lack of creativity in coming up with good names. ;-) > Eventually it will be renamed. > > It i
Re: [web2py] Re: Ractive example
+1 2015-03-25 9:59 GMT+00:00 Michele Comitini : > @Massimo > > please launch a name context ASAP else we get stuck with that name!!! ;-) > > 2015-03-25 5:25 GMT+01:00 Massimo Di Pierro : > >> I think for starters trying integrate a different layout and writing >> instructions about how to do
Re: [web2py] Re: Ractive example
@Massimo please launch a name context ASAP else we get stuck with that name!!! ;-) 2015-03-25 5:25 GMT+01:00 Massimo Di Pierro : > I think for starters trying integrate a different layout and writing > instructions about how to do that would help a lot. > > > On Tuesday, 24 March 2015 15:37:53 U
Re: [web2py] Re: Ractive example
I think for starters trying integrate a different layout and writing instructions about how to do that would help a lot. On Tuesday, 24 March 2015 15:37:53 UTC-5, Richard wrote: > > Would help too! > > On Tue, Mar 24, 2015 at 4:31 PM, Tim Richardson > wrote: > >> this seems like a true path to
Re: [web2py] Re: Ractive example
Would help too! On Tue, Mar 24, 2015 at 4:31 PM, Tim Richardson wrote: > this seems like a true path to the future for web2py and I will help, > after I understand what you are doing ... > > > On Tuesday, 24 March 2015 18:41:56 UTC+11, Massimo Di Pierro wrote: >> >> W3 stands for my lack of crea
[web2py] Re: Ractive example
this seems like a true path to the future for web2py and I will help, after I understand what you are doing ... On Tuesday, 24 March 2015 18:41:56 UTC+11, Massimo Di Pierro wrote: > > W3 stands for my lack of creativity in coming up with good names. ;-) > Eventually it will be renamed. > > It is
[web2py] Re: Ractive example
W3 stands for my lack of creativity in coming up with good names. ;-) Eventually it will be renamed. It is not finished but at a very good stage. The nice part if the fact that the view uses a combination of web2py template {% ... %} and ractive {{ ... }}, form styles are defined clients-side, a
[web2py] Re: Ractive example
Impressive , Massimo! On a quick view, you seem to have wrapped up ractive.js into web2py. What does W3 stand for? On Monday, March 23, 2015 at 9:55:25 PM UTC-5, Massimo Di Pierro wrote: > > Please look into this: https://github.com/mdipierro/w3 > I could very much use your opinions. I am workin
[web2py] Re: Ractive example
Please look into this: https://github.com/mdipierro/w3 I could very much use your opinions. I am working on it actively these days. On Monday, 23 March 2015 18:04:47 UTC-5, Tim Richardson wrote: > > I am really curious to see a web2py app deploying ractive.js, to get a > feel for how an experienc
[web2py] Re: Ractive example
I'd be really curious to see a web2py app deploying ractive.js, to get a feel for how an experienced user gets value from ractive on top of web2py's helpers. Kind of best practice beyond changing the delimiters. For example, do you take a hybrid approach to mark up/add to what web2py does via
[web2py] Re: Ractive example
Leonel, Richard, Thank you for your support :) The big disturbing factor for me was the wrong Ractive.js I took the first I saw, but that is the development code starting with the imports etc Dive into the release and take ractive.js there. Richard Dijkstra p.s. Trying to use Richard D for no
[web2py] Re: Ractive example
I'm so confused with the 2 Richards eheheh. Yes, those were plugins I'm sorry, I should have said something, I thought it would be nice to include them in the example. {{ractive_enabled=True}} {{extend 'layout.html'}}Hello, [[name]]!
var ractive = new Ractive({ el: '#ma
Re: [web2py] Re: Ractive example
It is the default welcome model. even : db = DAL('sqlite://storage.sqlite',pool_size=1) #,check_reserved=['all']) with the check_reserved parameter commented, give the same error On Wednesday, October 29, 2014 9:32:03 PM UTC+1, Richard wrote: > > Web2py complains about reserved word that y
Re: [web2py] Re: Ractive example
Web2py complains about reserved word that you may use in your model... Could you show your model? Richarc On Wed, Oct 29, 2014 at 4:20 PM, Richard D wrote: > With and without these plugins the error occurs. I downloaded them > seperately, after the error to solve nice errors are given that fir
Re: [web2py] Re: Ractive example
With and without these plugins the error occurs. I downloaded them seperately, after the error to solve nice errors are given that first reactive must be loaded before these plugins are loaded, nice coded! btw I just started with the welcome app, no other specific code could cause the error. O
Re: [web2py] Re: Ractive example
Richard, The import of Leonel seems not to work out of the box... These file are not part of Ractive.js.zip : ractive-events-tap.js ractive-transitions-fade.js response.files.append(URL('static','js/ractive-events-tap.js')) response.files.append(URL('static','js/ractive-transitions-fade.js'
[web2py] Re: Ractive example
Richard D again ;) pass missing was my error cleaning up index.html only half. Having added the 3 js file to application I get the error in the js console when reactive.js is run: Uncaught SyntaxError: Unexpected reserved word More specific: on the first line when importing defaults: i
Re: [web2py] Re: Ractive example
Thanks a lot! Richard On Wed, Oct 29, 2014 at 3:56 PM, Richard Vézina wrote: > That why... I was strugling with issue with global since a lot of time > that clarify thing now... > > Richard > > On Wed, Oct 29, 2014 at 3:37 PM, Leonel Câmara > wrote: > >> Well globals in Python are really only
Re: [web2py] Re: Ractive example
That why... I was strugling with issue with global since a lot of time that clarify thing now... Richard On Wed, Oct 29, 2014 at 3:37 PM, Leonel Câmara wrote: > Well globals in Python are really only global to their own module, web2py > templates and controllers are not exactly python modules a
[web2py] Re: Ractive example
Well globals in Python are really only global to their own module, web2py templates and controllers are not exactly python modules anyway, so, it's complicated; just do it in the view and let the template system take care of it. -- Resources: - http://web2py.com - http://web2py.com/book (Docum
Re: [web2py] Re: Ractive example
Thank you Leonel... I don't know why setting ractive_enabled = True from the controller with global not works though... Richard On Wed, Oct 29, 2014 at 3:28 PM, Leonel Câmara wrote: > You should only add to layout.html > > index.html should be > {{ractive_enabled=True}} > {{extend 'layout.htm
[web2py] Re: Ractive example
You should only add to layout.html index.html should be {{ractive_enabled=True}} {{extend 'layout.html'}} I'm guessing the missing pass is a copy paste error because the pass is there. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py
[web2py] Re: Ractive example
Leonel, Adding this to the layout.html and index.html I get the following error: missing "pass" in view Versionweb2py™Version 2.9.11-stable+timestamp.2014.09.15.23.35.11PythonPython 2.7.8: c:\python27\python.exe (prefix: c:\python27)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Traceback (most
[web2py] Re: Ractive example
That should work perfectly fine. This is how I do it, if you would like another example. I have this in my layout.html before {{include 'web2py_ajax.html'}} }} ractive_enabled = globals().get('ractive_enabled',False) if ractive_enabled: response.files.append(URL('static','js/ractive.js'