[web2py] Brainstorming

2014-06-15 Thread Massimo Di Pierro
Often Angular comes up on this list. I tried it and I was un-impressed. Instead today my favorite client-side stack is based on these: - jquery.js - sugar.js - ractive.js - semantic-ui (css & js) Have you tried sugar, ractive, and semantic-ui? What is your opinion? Massimo -- Resources: -

[web2py] Bug with upload widget when using digitally signed URL's?

2014-06-15 Thread Michael Beller
I'm trying to secure file downloads. I use user_signature=True for an action that generates an edit form that includes an upload field. The upload widget generates a download link but the link appends the file name arg after the signature var. I'm using: crud.settings.download_url = URL('dcou

[web2py] Re: Brainstorming

2014-06-15 Thread Niphlod
I was sincerely impressed with how many things you can do with Angular, but the learning curve is too steep. Then I tried knockout...much better in terms of learning curve, and its methods to map json objects (resultsets) with view-models couples nicely with web2py.but the templating lacks t

[web2py] validator - asking it to do some more

2014-06-15 Thread 98ujko9
# table definition db.define_table('vehicle', Field('manufacturer','string'), Field('name','string'), Field('vin','string',length=32,unique=True), Field('year','string'), Field('colour','string'), Field(

[web2py] Re: Brainstorming

2014-06-15 Thread Anthony
Have you tried React.js (from Facebook). I haven't tried it but have read good things. Supposedly somewhat similar to Ractive. Also seems to be more active (Ractive has had no commits for a month and seems to have limited user group activity). Anthony On Sunday, June 15, 2014 9:39:21 AM UTC-4,

Re: [web2py] Re: Brainstorming

2014-06-15 Thread António Ramos
If you check the popularity of angular ractive react etc at github you have a winner: ANGULAR!! Big community, videos ,books etc And JOBS!! Em 15/06/2014 17:19, "Anthony" escreveu: > Have you tried React.js (from Facebook). I haven't tried it but have read > good things. Supposedly somewhat simi

Re: [web2py] RapydScript / RapydML - impressive

2014-06-15 Thread António Ramos
I was hoping this would be a hot topic but... Em 09/06/2014 15:32, "António Ramos" escreveu: > interesting read from RapydML. > > > {% extends basic.html %} > > For those unfamiliar with it, the above line includes HTML from basic.html > inside of the current page. This is a useful technique to

Re: [web2py] Re: Brainstorming

2014-06-15 Thread Michele Comitini
ractive.js author's ideas about the philosophy of the framework and more, are nicely writte in a blog. Many interesting points that were brought up here are discussed in depth there. http://blog.ractivejs.org/ mic 2014-06-15 18:19 GMT+02:00 Anthony : > Have you tried React.js (from Facebook).

[web2py] websocket_messaging and security

2014-06-15 Thread Khalil KHAMLICHI
Hi Everyone, We used websocket_messaging.py in our application extensively. We did not modify any of its code, we used it as it is out of the box. Before deployments on a cloud server, has anyone any suggestions about securing this websocket server ? for example : - allow connections only to lo

[web2py] Re: Brainstorming

2014-06-15 Thread samuel bonill
Angular is very easy to learn... #1 http://campus.codeschool.com/courses/shaping-up-with-angular-js/intro #2 www.*ng*-*book*.com El domingo, 15 de junio de 2014 03:34:25 UTC-5, Massimo Di Pierro escribió: > > Often Angular comes up on this list. I tried it and I was un-impressed. > Instead toda

Re: [web2py] Re: one more web2py e-commerce app :)

2014-06-15 Thread Sarbjit
Hi Adi, I visited the nammuhats.com, its a fantastic site. I just want to know whether you are using woocommerce plugin (wordpress plugin) in this site or using woocommerce template in it? Can you give some pointers on how to adapt woocommerce plugin to web2py app. Thanks Sarbjit On Thursday,

Re: [web2py] RapydScript / RapydML - impressive

2014-06-15 Thread Massimo Di Pierro
actually I did not know about this and this is really interesting. The problem I had with coffeescript was it was hard to debug because errors would reference the generate JS and not the source. How does radyscript handle tracebacks? On Sunday, 15 June 2014 13:24:28 UTC-5, Ramos wrote: > > I wa

[web2py] Re: Is there an issue with my web2py install? "can't pickle function objects"

2014-06-15 Thread Nguyen Minh Tuan
I am having this issue too! Server : CentOS 6.5 Apache : 2.2 Python : 2.6.6 Web2py : 2.95 So, I think this error caused by Apache config. Look into error log file, I found msg like : "...*client denied by server configuration*: /var/www/web2py/wsgihandler.py ..." I've changed in httpd.conf file

[web2py] Re: Brainstorming

2014-06-15 Thread Massimo Di Pierro
I have used Angular for a project and it was a nightmare. I soon moved to ractive and did not regret it. Angular forces a scope and, for example, promises can only live within the scope. That means you cannot use Angular promises in your own library unless you put all the code in the scope. I c

[web2py] Re: force mobilize

2014-06-15 Thread HarryE
Put request.user_agent().is_mobile=True in db.py marți, 21 februarie 2012, 13:12:20 UTC, Scott Benninghoff a scris: > > I was wondering if there is a way to set a global variable that would > force a site to present in mobile mode. Thanks for the help. -- Resources: - http://web2py.com - http