[web2py] Re: Future of web2py

2017-06-02 Thread eric cuver
lol

Le mercredi 31 mai 2017 21:21:40 UTC+2, Oasis Agano a écrit :
>
>
> But web2py is still maintained right? or we start buying flask books
> On Saturday, May 27, 2017 at 9:11:02 AM UTC+2, Andrea Fae' wrote:
>>
>> Hello guys,
>> I'd like to know if there will be future of web2py? Any information about 
>> it?
>> Thanks
>>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: info: w3 css, responsive

2016-11-21 Thread eric cuver
I use w3 css it works well with web2py and cordova

Le lundi 21 novembre 2016 13:17:41 UTC+1, Mirek Zvolský a écrit :
>
> not web2py, but looks interesting.
>
> http://www.w3schools.com/w3css/default.asp
>
> On mobile pages load instantly. In oposite to bootstrap3.
>
> Does somebody use it ?
>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py on android

2016-09-18 Thread eric cuver
you can use local storage for example :

var objet = { propriete1 : "valeur1", propriete2 : "valeur2" }; var 
monobjet_json = window.JSON.stringify(monobjet); window.localStorage
.setItem("objet",monobjet_json);

Le dimanche 18 septembre 2016 01:39:01 UTC+2, JorgeH a écrit :
>
> what if I need to store data in the mobile when there is no internet 
> connection and sync with the webserver when there is connection?
>
> what db or sqlite, can I use?
>
> On Saturday, July 23, 2016 at 1:03:24 AM UTC-5, eric cuver wrote:
>>
>> you can use cordova wbeview and used side client brython( python) and 
>> backend web2py
>> I create the applications in this way it works very well 
>>
>> Le mardi 19 juillet 2016 13:16:10 UTC+2, Paolo Amboni a écrit :
>>>
>>> Is it possible to do something like that with web2py?
>>>
>>> Android apps with Python, Flask and a WebView 
>>> <https://kivy.org/planet/2016/05/android-apps-with-python-flask-and-a-webview/>
>>> (
>>> https://kivy.org/planet/2016/05/android-apps-with-python-flask-and-a-webview/
>>> )
>>>
>>> Thanks!!
>>>
>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py on android

2016-07-23 Thread eric cuver
you can use cordova wbeview and used side client brython( python) and 
backend web2py
I create the applications in this way it works very well 

Le mardi 19 juillet 2016 13:16:10 UTC+2, Paolo Amboni a écrit :
>
> Is it possible to do something like that with web2py?
>
> Android apps with Python, Flask and a WebView 
> 
> (
> https://kivy.org/planet/2016/05/android-apps-with-python-flask-and-a-webview/
> )
>
> Thanks!!
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Notification similar to django-notification

2016-05-30 Thread eric cuver
you can use api notification html 5  or other APIs such as 
notification http://docs.localytics.com/index.html

Le lundi 30 mai 2016 06:33:23 UTC+2, billmac...@gmail.com a écrit :
>
> You can look at facebook notification, basically an interface where user 
> pick how they want to receive their notification, by email or texts etc. 
> Toggle them on and off and when they log into their dashboard they see the 
> notifications and receive them as they have it set up in their settings. 
> Its pretty standard for big applications. But since its a volunteer driven 
> org/framework, it may be its not possible to get a package like that. 
>
> On Friday, May 20, 2016 at 10:33:56 AM UTC-4, eric cuver wrote:
>>
>> you can give the django notifcation links to see 
>>
>> Le vendredi 13 mai 2016 16:14:26 UTC+2, billmac...@gmail.com a écrit :
>>>
>>> Is there a plugin/package for web2py that is similar to 
>>> django-notification for emails, texts and other activities?
>>>
>>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Notification similar to django-notification

2016-05-20 Thread eric cuver
you can give the django notifcation links to see 

Le vendredi 13 mai 2016 16:14:26 UTC+2, billmac...@gmail.com a écrit :
>
> Is there a plugin/package for web2py that is similar to 
> django-notification for emails, texts and other activities?
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: JS: very small but very useful

2016-05-07 Thread eric cuver
you can give us  the website link 

Le vendredi 6 mai 2016 17:26:43 UTC+2, Val K a écrit :
>
> Very small py-function that wraps any js-content in anonymous js-function
>
> def JS_fun(*args_lst):
> def _inner(body):
> return "(function(%s){ %s ;})" % (','.join(args_lst), body)
> return _inner
>
>
> >>> JS_fun( 'a', 'b' )( 'console.log(a,b)' )
> '(function(a,b){ console.log(a, b) ;})'
>
>
> >>> args= ['a', 'b']
> >>> JS_fun(*args)('console.log(%s)' % ','.join(args))
> '(function(a,b){ console.log(a, b) ;})'
>
> >>> JS_call = lambda f: lambda *args: f + '(%s)' % ','.join([str(a) for a 
> in args])
> >>> JS_call( JS_fun('a', 'b')('console.log(a,b)') )('"text"', 123 )
> '(function(a,b){ console.log(a,b) ;})("text", 123)'
>
>
>
>
> another smarter variant:
>
> def JS_fun(*args_lst):
> def _inner(*body):
> return "(function(%s){ %s ;})" % (','.join(args_lst), '\n   
>  '.join(body))
> return _inner
>
>
> #so, you can:
> f = JS_fun('a', 'b')(
>'var sum = a+b;', 
>'console.log(sum);',
>'return sum'
> )
>
>
>
>
>
>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: BIO-METERIC ATHUNTICATION

2016-04-04 Thread eric cuver
look this maybe can help you 


https://github.com/pingali/pyAadhaarAuth 
, 
https://www.twilio.com/blog/2014/06/voice-biometric-authentication-with-twilio.html

Le lundi 4 avril 2016 11:05:04 UTC+2, PAVAN DHAVALESWARAPU a écrit :
>
> Is it possible to use bio-metric authentication in real time with web2py ?
> If yes please post how it is done.
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Could you write the code for RESTFUL api used in the web2py app controller and in the phonegap view?

2016-03-28 Thread eric cuver
it is better that you put your code like this we will help you to see 
what's wrong

Le lundi 28 mars 2016 07:16:26 UTC+2, Rgb Aston a écrit :
>
> Please don't send me the link of the documentation. I seriously tried it 
> but it's not working. Please write the codes finally as I have given up 
> struggling with it.
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: How do you use web2py app work with phonegap?

2016-03-21 Thread eric cuver
this is how I work  sometimes use semantic-ui. angulars, Ionic and etc ... 
I do not like I prefer using ractive.js, yui, or knockoutjs.

Le lundi 21 mars 2016 13:52:20 UTC+1, Carlos Costa a écrit :
>
> I am using cordova and bootstrap for rapid prototyping.
> Next I will change it to static pages interacting via json webservices.
>
> 2016-03-21 7:23 GMT-03:00 eric cuver <amihaco...@gmail.com >:
>
>> ok thank you i'll check 
>>
>>
>> Le dimanche 20 mars 2016 21:24:05 UTC+1, pbreit a écrit :
>>>
>>> Ionic is free. But it does use Angular.
>>>
>>> You can't just "use a CSS framework" as mentioned above. You need a 
>>> framework that can manage data and interactions with server.
>>>
>>> Maybe look at Onsen or F7?
>>>
>>>
>>> https://www.airpair.com/ionic-framework/posts/hybrid-apps-ionic-famous-f7-onsen
>>>
>>>
>>>
>>> On Sunday, March 20, 2016 at 12:14:14 PM UTC-7, eric cuver wrote:
>>>>
>>>> Ionic it pays I believe? and  I do not like angular
>>>>
>>>> Le dimanche 20 mars 2016 05:05:09 UTC+1, pbreit a écrit :
>>>>>
>>>>> Ionic is a good choice.
>>>>>
>>>>> As mentioned, Web2py will run on your server and mostly deliver and 
>>>>> receive JSON to/from the mobile app.
>>>>>
>>>>>
>>>>> On Saturday, March 19, 2016 at 3:12:42 AM UTC-7, eric cuver wrote:
>>>>>>
>>>>>> hi Leonel,
>>>>>>
>>>>>> which client (boostrap, jquery mobile, ionic.)  for design with 
>>>>>> phonegap advises you ?
>>>>>>
>>>>>>
>>>>>> Le vendredi 18 mars 2016 18:41:22 UTC+1, Leonel Câmara a écrit :
>>>>>>>
>>>>>>> I'm sorry but you show fundamental misconceptions about what 
>>>>>>> phonegap does, what web2py does, how they run in the devices and 
>>>>>>> server, 
>>>>>>> and about how they can and should interact.  
>>>>>>>   
>>>>>>> Your questions don't even make sense. I can't help you until you 
>>>>>>> know more about web2py, phonegap, what REST APIs are and how do you 
>>>>>>> access 
>>>>>>> them using javascript.  
>>>>>>>
>>>>>> -- 
>> 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 the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
>
> Carlos J. Costa
> Cientista da Computação  | BS Computer Science 
> Esp. Gestão em Telecom   | PgC Telecom Mangement
> <º))><
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How do you use web2py app work with phonegap?

2016-03-21 Thread eric cuver
ok thank you i'll check 

Le dimanche 20 mars 2016 21:24:05 UTC+1, pbreit a écrit :
>
> Ionic is free. But it does use Angular.
>
> You can't just "use a CSS framework" as mentioned above. You need a 
> framework that can manage data and interactions with server.
>
> Maybe look at Onsen or F7?
>
>
> https://www.airpair.com/ionic-framework/posts/hybrid-apps-ionic-famous-f7-onsen
>
>
>
> On Sunday, March 20, 2016 at 12:14:14 PM UTC-7, eric cuver wrote:
>>
>> Ionic it pays I believe? and  I do not like angular
>>
>> Le dimanche 20 mars 2016 05:05:09 UTC+1, pbreit a écrit :
>>>
>>> Ionic is a good choice.
>>>
>>> As mentioned, Web2py will run on your server and mostly deliver and 
>>> receive JSON to/from the mobile app.
>>>
>>>
>>> On Saturday, March 19, 2016 at 3:12:42 AM UTC-7, eric cuver wrote:
>>>>
>>>> hi Leonel,
>>>>
>>>> which client (boostrap, jquery mobile, ionic.)  for design with 
>>>> phonegap advises you ?
>>>>
>>>>
>>>> Le vendredi 18 mars 2016 18:41:22 UTC+1, Leonel Câmara a écrit :
>>>>>
>>>>> I'm sorry but you show fundamental misconceptions about what phonegap 
>>>>> does, what web2py does, how they run in the devices and server, and about 
>>>>> how they can and should interact.  
>>>>>   
>>>>> Your questions don't even make sense. I can't help you until you know 
>>>>> more about web2py, phonegap, what REST APIs are and how do you access 
>>>>> them 
>>>>> using javascript.  
>>>>>
>>>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How do you use web2py app work with phonegap?

2016-03-20 Thread eric cuver
Ionic it pays I believe? and  I do not like angular

Le dimanche 20 mars 2016 05:05:09 UTC+1, pbreit a écrit :
>
> Ionic is a good choice.
>
> As mentioned, Web2py will run on your server and mostly deliver and 
> receive JSON to/from the mobile app.
>
>
> On Saturday, March 19, 2016 at 3:12:42 AM UTC-7, eric cuver wrote:
>>
>> hi Leonel,
>>
>> which client (boostrap, jquery mobile, ionic.)  for design with 
>> phonegap advises you ?
>>
>>
>> Le vendredi 18 mars 2016 18:41:22 UTC+1, Leonel Câmara a écrit :
>>>
>>> I'm sorry but you show fundamental misconceptions about what phonegap 
>>> does, what web2py does, how they run in the devices and server, and about 
>>> how they can and should interact.  
>>>   
>>> Your questions don't even make sense. I can't help you until you know 
>>> more about web2py, phonegap, what REST APIs are and how do you access them 
>>> using javascript.  
>>>
>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How do you use web2py app work with phonegap?

2016-03-19 Thread eric cuver
thank for information my friend

Le samedi 19 mars 2016 13:05:58 UTC+1, Leonel Câmara a écrit :
>
> I usually just use bootstrap because I'm used to it But really, any mobile 
> first CSS framework is ok. I've used foundation before it's good too, I've 
> also not used anything and just made my own according to the app needs.
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How do you use web2py app work with phonegap?

2016-03-19 Thread eric cuver
hi Leonel,

which client (boostrap, jquery mobile, ionic.)  for design with 
phonegap advises you ?


Le vendredi 18 mars 2016 18:41:22 UTC+1, Leonel Câmara a écrit :
>
> I'm sorry but you show fundamental misconceptions about what phonegap 
> does, what web2py does, how they run in the devices and server, and about 
> how they can and should interact.  
>   
> Your questions don't even make sense. I can't help you until you know more 
> about web2py, phonegap, what REST APIs are and how do you access them using 
> javascript.  
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Is Opencv threadsafe in web2py?

2016-03-12 Thread eric cuver

look you are tutorial 
http://www.learnopencv.com/tag/web2py/
Le vendredi 11 mars 2016 18:19:51 UTC+1, RAGHIB R a écrit :
>
> Are opencv stuffs thread-safe and is it okay to use them in web2py?
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: for those of us who do not understand ...

2016-03-10 Thread eric cuver
it's nice I am impressed

Le jeudi 10 mars 2016 20:43:03 UTC+1, Massimo Di Pierro a écrit :
>
> Here is another piece:
>
> http://mdipierro.github.io/stupid.css/widgets/index.html
>
> The work with web2py forms if you manually add the data-format and 
> data-range. For example
>
> for e in form.elements('.datetime'): 
> e['_data-format'] = '{DD}/{MM}/{year} {hh}:{mm}:{ss}'
>
> for e in form.elements('.double'):
> e.add_class('number slider');
> e['_data-range']] = '0,100'
>
> It would be great if you could help me test these.
>
>
> On Tuesday, 8 March 2016 15:04:50 UTC-6, Massimo Di Pierro wrote:
>>
>> I would like to buy a .ham.burger 
>> http://mdipierro.github.io/stupid.css/themes/hamburger.html
>>
>> On Thursday, 3 March 2016 01:27:57 UTC-6, Massimo Di Pierro wrote:
>>>
>>> A damn simple and easy css framework ... stupid.css
>>>
>>> https://t.co/9vB48IjYJK
>>>
>>> No promise of backward compatibility is made, but comments and 
>>> suggestions for improvement are welcome.
>>>
>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: for those of us who do not understand ...

2016-03-05 Thread eric cuver
it's very good thanks massimo 

Le samedi 5 mars 2016 23:36:28 UTC+1, Massimo Di Pierro a écrit :
>
> You can also compare this:
>
>http://mdipierro.github.io/stupid.css/themes/landing-page.html
>
> with this:
>
>http://blackrockdigital.github.io/startbootstrap-landing-page/
>
> The conversion took about 5 minutes (manually). Look at the differences in 
> the html source.
>
> On Saturday, 5 March 2016 15:47:12 UTC-6, Massimo Di Pierro wrote:
>>
>> Anyway, you can check out stupid with web2py here: 
>> http://experts4solutions.com/stupid
>>
>> On Saturday, 5 March 2016 15:41:01 UTC-6, Massimo Di Pierro wrote:
>>>
>>> yes. I added it. 
>>>
>>> I also changed http://mdipierro.github.io/stupid.css/index.html adding 
>>> more stuff. Now if you click on the examples (?) it shows the source.
>>>
>>> On Saturday, 5 March 2016 12:14:48 UTC-6, Ron Chatterjee wrote:

 For some reason, I could run the app out of box, it gives me this error 
 (attached). Is there a config file is missing?

 On Saturday, March 5, 2016 at 1:35:20 AM UTC-5, Massimo Di Pierro wrote:
>
>
>
> On Friday, 4 March 2016 18:56:36 UTC-6, Dave S wrote:
>>
>>
>>
>> On Friday, March 4, 2016 at 4:01:09 PM UTC-8, Massimo Di Pierro wrote:
>>>
>>> If you want to try it with web2py here is welcome app based on 
>>> stupid.css
>>>
>>> https://github.com/mdipierro/web2py-welcome-theme-stupid
>>>
>>> Notice a few things:
>>> - It does not require any change in the python code or form styles 
>>> or grid. I
>>> - It works with the existing bootstrap classes, it simply ignores. 
>>> Too much trouble to remove them everywhere.
>>> - The static folder is significative lighter.
>>>
>>>
>> I copied the appconfig.ini from the standard welcome app; is the 
>> [forms]formstyle option ignored?  (bullet 2 suggests 'yes')
>>
>
> the bootstrap classes are ignored. The format of the HTML in the 
> bootstrap is instead important. Works with the other style options too 
> but 
> I think works best with the bootstrap html. 
>  
>
>> Also, on the login form, the "Log In" button is appreciably smaller 
>> than the "Sign Up" and the "Lost Password" buttons; is that because it 
>> is 
>> an input field and the others are button buttons?
>>
>
> fixed.
>  
>
>>
>> The H1 with class="glass" and contents "STUPID.CSS" has a noticeable 
>> band over the background picture, slightly higher than the letter 
>> height, 
>> but not the height of the enclosing DIV.
>>
>
> That was on purpose. I made it smaller. is it better?
>  
>
>> For the quarter-div with the ADMIN stuff, it looks like I've got a 
>> missing glyph -- there's a rectangle about the size of the 'A' in Admin, 
>> with the 10-over-01 pattern that I think FF uses for missing font 
>> characters.
>>
>
> Fixed. 
>
>>
>> Otherwise, the page looks very good! 
>>
>
> Did you try the grid?
>  
>
>> Massimo
>>>
>>>
>> Thanks!
>>
>> /dps
>>  
>>
>>> On Friday, 4 March 2016 08:51:00 UTC-6, villas wrote:

 I love this.  It would be so cool if this was maintained with the 
 rest of the framework and widgets could then include the generic 
 stupid.css.  The grid could use it and this would resolve a lot of 
 issues 
 with choice of css framework.

 A couple of questions spring to mind:
 Does anyone need another CSS framework!  Will there be enough 
 support to keep it going?  I was reminded of the doubts I had about 
 Markmin,  but this has been great and I use it a lot and it seems to 
 have 
 hardly required any support or huge extra effort.  I am disappointed 
 that 
 Markmin isn't more popular,  but very glad it exists.  I feel that 
 stupid.css could be a similar kind of thing.

 Is it intended that users use this for standard widgets and then 
 add Bootstrap or Semantic or whatever for any extras?  Its simplicity 
 is 
 not going to resolve every requirement.

 I'm not convinced about the name,  but at least it is memorable!



-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: list:reference, multiple=True, validation error

2016-03-04 Thread eric cuver
I  teste it on my web2py  it work 

Le vendredi 4 mars 2016 15:24:39 UTC+1, villas a écrit :
>
> Hi Eric,  Thanks for your interest.  I believe that this is a bug in 
> IS_IN_DB validator.  I am surprised that more users have not reported it.   
> Try this to replicate.
>
> 1. Make a new app.
> 2. Paste this at the bottom of models/db.py
>
>
> db.define_table('tag',
> Field('name'),
> Field('descr',length=50),
> format='%(name)s',
> )
> 
> db.define_table('docstore',
> Field('name'),
> Field('tags','list:reference tag'), 
> )   
> 
> if not db(db.tag.id>0).count():
> db.tag.insert( name = "A",  descr = "A Descr" ) 
> db.tag.insert( name = "B",  descr = "B Descr" ) 
> db.tag.insert( name = "C",  descr = "C Descr" ) 
>
>
> Use Appadmin to add a record to docstore table.
>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: list:reference, multiple=True, validation error

2016-03-04 Thread eric cuver

you can paste your code ?

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: how to create my own profile??

2016-03-04 Thread eric cuver
which error web2py show you ??  There is an error that generates a ticket?

Le jeudi 3 mars 2016 21:12:34 UTC+1, prashant joshi a écrit :
>
> how to make my profile   like a facebook??
> if i am login then i  will show my record as like image ,name,email 
> id.(.all fileld in stud_person table)
>
> this is table creteated
> db.define_table('stud_person',
>   Field('image', 'upload'), 
>   Field('first_name', requires=IS_NOT_EMPTY()),
>   Field('middle_name', requires=IS_NOT_EMPTY()),
>   Field('last_name', requires=IS_NOT_EMPTY()),
>   Field('email_id', requires=IS_NOT_EMPTY()),
>   Field('address','text', requires=IS_NOT_EMPTY()),
>   Field('mother_name', requires=IS_NOT_EMPTY()),
>   Field('gender', 'list:string'),
>   Field('dob','date', requires=IS_NOT_EMPTY()),
>   Field('blood_group', requires=IS_NOT_EMPTY()),
>   Field('mother_tongue', requires=IS_NOT_EMPTY()),
>   Field('mobile_no','integer', requires=IS_NOT_EMPTY()))
>
> cantroller:-
> @auth.requires_login()
> def my_profile():
>
> record = db.stud_person(request.args(0))
>form = SQLFORM(db.person, record)
>  return dict(form=form)
>
>   
>
> i wiil do this but this not work. 
> it is correct way??
>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: for those of us who do not understand ...

2016-03-04 Thread eric cuver


Le jeudi 3 mars 2016 08:27:57 UTC+1, Massimo Di Pierro a écrit :
>
> A damn simple and easy css framework ... stupid.css
>
> https://t.co/9vB48IjYJK
>
> No promise of backward compatibility is made, but comments and suggestions 
> for improvement are welcome.
>

it's nice  

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Massimo for President!

2016-02-26 Thread eric cuver
thank you for sharing  

Le vendredi 26 février 2016 09:27:05 UTC+1, Nico Zanferrari a écrit :
>
> Hi all,
>
> I've found this article this morning: 
> http://www.corrierecomunicazioni.it/it-world/39758_coding-cosi-funziona-il-mio-programma-che-mette-il-turbo-a-python.htm
> It's an Italian  interview to Massimo - with a bad title but still worth 
> reading.
>
> Congratulations! Bravo!
>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] The connection could be established sorry

2016-02-04 Thread eric cuver
Hi, everybody ,since the last update I've often this message when I want to 
go on one of the controller's page
 
"The connection could be established sorry

Return"

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Can we use a web2py app on Android mobile?

2016-01-30 Thread eric cuver
this link for for better explanation 
https://zolmeister.com/2014/01/how-to-turn-webapp-into-native-android.html
Le mercredi 27 janvier 2016 16:48:00 UTC+1, Ron Chatterjee a écrit :

> Any documentation of using  Cordova or Kivy using a hosted web2py  app? If 
> a site is hosted using bootstrap3 and html5 its mobile friendly anyway. 
>
> On Tuesday, January 12, 2016 at 9:12:01 AM UTC-5, eric cuver wrote:
>>
>> you can also do this with web2py you just need to create a webview with 
>> Cordova or Kivy with the URL of your mobile website view. Me this is what I 
>> do and it works without problems
>>
>> Le lundi 11 janvier 2016 22:31:58 UTC+1, Alessio Varalta a écrit :
>>>
>>> Sorry, , you are right. Now i have developed only in Android now in 
>>> these day for a project i start to study cordova and is true that you can 
>>> upload on Google market this my first time with Hybrid app
>>>
>>> Il giorno lunedì 11 gennaio 2016 13:17:14 UTC+1, Andrew Buchan ha 
>>> scritto:
>>>>
>>>> Just to butt-in on what Richard said:
>>>>
>>>> "But this kind of app are often not that interresting from user stand 
>>>> point... I mean you don't have a good mobile app user experience with them 
>>>> most of the time because they to simple that you can just access the real 
>>>> web app and it could be even better..."
>>>>
>>>> That's not really true anymore...
>>>>
>>>> What you are referring to are hybrid apps, which is essentially a 
>>>> mini-website (HTML, JS, CSS) wrapped in a package and rendered in a native 
>>>> webview, as opposed to a native app which is built in objective-C or Java.
>>>> Hybrid apps can access the phone's features such as camera, battery, 
>>>> geolocation, accelerometer etc... So you can do much more than you would 
>>>> by 
>>>> accessing a web app in the browser!
>>>> Hybrid performance is also more than adequate for most applications, 
>>>> and many of today's top apps are hybrid (in fact I challenge you to find 
>>>> out which apps on your phone are hybrid and which are native...)
>>>>
>>>> What's more, with tools like cordova you can target both Android and 
>>>> iOS (with caveats) with the same code.
>>>> You also get to use the latest Javascript frameworks, such as AngularJS 
>>>> or ReactJS.
>>>>
>>>> My advice would be to learn js and angular then go down the ionic (
>>>> http://ionicframework.com/) path. I really don't see a case for 
>>>> bringing web2py into android.
>>>>
>>>> Edit:
>>>>
>>>> What Alessio said isn't true either. You can publish hybrid apps to 
>>>> Google play and Apple's app store.
>>>>
>>>> Here's a useful page:
>>>>
>>>>
>>>> http://www.joshmorony.com/the-step-by-step-guide-to-publishing-a-html5-mobile-application-on-app-stores/
>>>>
>>>>
>>>>
>>>> On Monday, January 4, 2016 at 9:20:53 PM UTC, RAGHIB R wrote:
>>>>>
>>>>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: loging web2py

2016-01-25 Thread eric cuver
Thank you Mr Massimo !!

Le lundi 25 janvier 2016 18:49:34 UTC+1, Massimo Di Pierro a écrit :
>
> increase the default expiration time
>
> auth.settings.expiration = 1 # seconds
>
> On Sunday, 24 January 2016 21:45:46 UTC-6, eric cuver wrote:
>>
>> I think I misspoke I would extend the length of sessions. As facebook or 
>> gmail  if we are not disconnected we are connected  all the time
>>
>> Le dimanche 24 janvier 2016 20:11:55 UTC+1, Massimo Di Pierro a écrit :
>>>
>>> What do you mean "login each time". After the first login, the system 
>>> remembers you until the session expires. Is this not working for you? What 
>>> do you experience?
>>>
>>> On Sunday, 24 January 2016 03:31:26 UTC-6, eric cuver wrote:
>>>>
>>>> Hello everybody,
>>>>  I need to know how I can do to avoid that users must loging to each 
>>>> time for using an application. i would like  the user login only one 
>>>> time after he can connect to the application without login each time. 
>>>> Thank 
>>>> you
>>>>
>>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] loging web2py

2016-01-24 Thread eric cuver
Hello everybody,
 I need to know how I can do to avoid that users must loging to each time 
for using an application. i would like  the user login only one time after 
he can connect to the application without login each time. Thank you

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: loging web2py

2016-01-24 Thread eric cuver
I think I misspoke I would extend the length of sessions. As facebook or 
gmail  if we are not disconnected we are connected  all the time

Le dimanche 24 janvier 2016 20:11:55 UTC+1, Massimo Di Pierro a écrit :
>
> What do you mean "login each time". After the first login, the system 
> remembers you until the session expires. Is this not working for you? What 
> do you experience?
>
> On Sunday, 24 January 2016 03:31:26 UTC-6, eric cuver wrote:
>>
>> Hello everybody,
>>  I need to know how I can do to avoid that users must loging to each time 
>> for using an application. i would like  the user login only one time after 
>> he can connect to the application without login each time. Thank you
>>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Can we use a web2py app on Android mobile?

2016-01-13 Thread eric cuver
half of the applications being used are not native. Facebook, 
uber,instagram etc ... all his  companies were not going to rewrite their 
applications for each platform in java for android, iphone in objective c, 
blackbery etc ... there is an article on the topic http : 
//kennethormandy.com/journal/your-favourite-app-isnt-native

Le mardi 12 janvier 2016 15:53:44 UTC+1, Andrew Buchan a écrit :
>
> @eric That's interesting... So essentially you'd get an "app" on your 
> mobile, but it just opens to a webpage on a server.
> That is probably the best solution offered so far although you need to be 
> connected to and also don't get access to phone's features like contacts, 
> notifications etc...
>
>
> On Tue, Jan 12, 2016 at 9:04 AM, eric cuver <amihaco...@gmail.com 
> > wrote:
>
>> you can also do this with web2py you just need to create a webview with 
>> Cordova or Kivy with the URL of your mobile website view. Me this is what I 
>> do and it works without problems
>>
>>
>> Le lundi 11 janvier 2016 22:31:58 UTC+1, Alessio Varalta a écrit :
>>>
>>> Sorry, , you are right. Now i have developed only in Android now in 
>>> these day for a project i start to study cordova and is true that you can 
>>> upload on Google market this my first time with Hybrid app
>>>
>>> Il giorno lunedì 11 gennaio 2016 13:17:14 UTC+1, Andrew Buchan ha 
>>> scritto:
>>>>
>>>> Just to butt-in on what Richard said:
>>>>
>>>> "But this kind of app are often not that interresting from user stand 
>>>> point... I mean you don't have a good mobile app user experience with them 
>>>> most of the time because they to simple that you can just access the real 
>>>> web app and it could be even better..."
>>>>
>>>> That's not really true anymore...
>>>>
>>>> What you are referring to are hybrid apps, which is essentially a 
>>>> mini-website (HTML, JS, CSS) wrapped in a package and rendered in a native 
>>>> webview, as opposed to a native app which is built in objective-C or Java.
>>>> Hybrid apps can access the phone's features such as camera, battery, 
>>>> geolocation, accelerometer etc... So you can do much more than you would 
>>>> by 
>>>> accessing a web app in the browser!
>>>> Hybrid performance is also more than adequate for most applications, 
>>>> and many of today's top apps are hybrid (in fact I challenge you to find 
>>>> out which apps on your phone are hybrid and which are native...)
>>>>
>>>> What's more, with tools like cordova you can target both Android and 
>>>> iOS (with caveats) with the same code.
>>>> You also get to use the latest Javascript frameworks, such as AngularJS 
>>>> or ReactJS.
>>>>
>>>> My advice would be to learn js and angular then go down the ionic (
>>>> http://ionicframework.com/) path. I really don't see a case for 
>>>> bringing web2py into android.
>>>>
>>>> Edit:
>>>>
>>>> What Alessio said isn't true either. You can publish hybrid apps to 
>>>> Google play and Apple's app store.
>>>>
>>>> Here's a useful page:
>>>>
>>>>
>>>> http://www.joshmorony.com/the-step-by-step-guide-to-publishing-a-html5-mobile-application-on-app-stores/
>>>>
>>>>
>>>>
>>>> On Monday, January 4, 2016 at 9:20:53 PM UTC, RAGHIB R wrote:
>>>>>
>>>>> -- 
>> 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 a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/1ZxFEB5j4XA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Can we use a web2py app on Android mobile?

2016-01-13 Thread eric cuver
there are several solution all depends on your application. facebook use 2 
adress  url www.facebook.com for the web and when you go through the mobile 
it is this address that is used https://m.facebook.com/

If you want to create video games for example I think it's better to do it 
in native. Now for notifications exist for example in  HTML there are 
 things like this https://pusher.com/tutorials/realtime-notifications I 
think that there are more. To access the camera you have api in html like 
this http://bridgeit.mobi/html5-camera-access.html.   
 look this website you are all api html for mobile http://mobilehtml5.org/ 
  as I say it depends on what you want to do

Le mardi 12 janvier 2016 15:53:44 UTC+1, Andrew Buchan a écrit :
>
> @eric That's interesting... So essentially you'd get an "app" on your 
> mobile, but it just opens to a webpage on a server.
> That is probably the best solution offered so far although you need to be 
> connected to and also don't get access to phone's features like contacts, 
> notifications etc...
>
>
> On Tue, Jan 12, 2016 at 9:04 AM, eric cuver <amihaco...@gmail.com 
> > wrote:
>
>> you can also do this with web2py you just need to create a webview with 
>> Cordova or Kivy with the URL of your mobile website view. Me this is what I 
>> do and it works without problems
>>
>>
>> Le lundi 11 janvier 2016 22:31:58 UTC+1, Alessio Varalta a écrit :
>>>
>>> Sorry, , you are right. Now i have developed only in Android now in 
>>> these day for a project i start to study cordova and is true that you can 
>>> upload on Google market this my first time with Hybrid app
>>>
>>> Il giorno lunedì 11 gennaio 2016 13:17:14 UTC+1, Andrew Buchan ha 
>>> scritto:
>>>>
>>>> Just to butt-in on what Richard said:
>>>>
>>>> "But this kind of app are often not that interresting from user stand 
>>>> point... I mean you don't have a good mobile app user experience with them 
>>>> most of the time because they to simple that you can just access the real 
>>>> web app and it could be even better..."
>>>>
>>>> That's not really true anymore...
>>>>
>>>> What you are referring to are hybrid apps, which is essentially a 
>>>> mini-website (HTML, JS, CSS) wrapped in a package and rendered in a native 
>>>> webview, as opposed to a native app which is built in objective-C or Java.
>>>> Hybrid apps can access the phone's features such as camera, battery, 
>>>> geolocation, accelerometer etc... So you can do much more than you would 
>>>> by 
>>>> accessing a web app in the browser!
>>>> Hybrid performance is also more than adequate for most applications, 
>>>> and many of today's top apps are hybrid (in fact I challenge you to find 
>>>> out which apps on your phone are hybrid and which are native...)
>>>>
>>>> What's more, with tools like cordova you can target both Android and 
>>>> iOS (with caveats) with the same code.
>>>> You also get to use the latest Javascript frameworks, such as AngularJS 
>>>> or ReactJS.
>>>>
>>>> My advice would be to learn js and angular then go down the ionic (
>>>> http://ionicframework.com/) path. I really don't see a case for 
>>>> bringing web2py into android.
>>>>
>>>> Edit:
>>>>
>>>> What Alessio said isn't true either. You can publish hybrid apps to 
>>>> Google play and Apple's app store.
>>>>
>>>> Here's a useful page:
>>>>
>>>>
>>>> http://www.joshmorony.com/the-step-by-step-guide-to-publishing-a-html5-mobile-application-on-app-stores/
>>>>
>>>>
>>>>
>>>> On Monday, January 4, 2016 at 9:20:53 PM UTC, RAGHIB R wrote:
>>>>>
>>>>> -- 
>> 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 a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/1ZxFEB5j4XA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Can we use a web2py app on Android mobile?

2016-01-13 Thread eric cuver
a parenthesis between French Mathieu you're French?

Le mercredi 13 janvier 2016 16:50:12 UTC+1, Mathieu Clabaut a écrit :
>
> A bit out of topic, but also note that with the help of the nice termux 
> android app, you can develop and run the web2py server on your android…
> Quite nice when you're far from a real computer…
>
> -Mathieu
>
> 2016-01-12 16:39 GMT+01:00 eric cuver <amihaco...@gmail.com >
> :
>
>> there are several solution all depends on your application. facebook use 
>> 2 adress  url www.facebook.com for the web and when you go through the 
>> mobile it is this address that is used https://m.facebook.com/
>>
>> If you want to create video games for example I think it's better to do 
>> it in native. Now for notifications exist for example in  HTML there are 
>>  things like this https://pusher.com/tutorials/realtime-notifications I 
>> think that there are more. To access the camera you have api in html like 
>> this http://bridgeit.mobi/html5-camera-access.html.   
>>  look this website you are all api html for mobile 
>> http://mobilehtml5.org/   as I say it depends on what you want to do
>>
>> Le mardi 12 janvier 2016 15:53:44 UTC+1, Andrew Buchan a écrit :
>>>
>>> @eric That's interesting... So essentially you'd get an "app" on your 
>>> mobile, but it just opens to a webpage on a server.
>>> That is probably the best solution offered so far although you need to 
>>> be connected to and also don't get access to phone's features like 
>>> contacts, notifications etc...
>>>
>>>
>>> On Tue, Jan 12, 2016 at 9:04 AM, eric cuver <amihaco...@gmail.com> 
>>> wrote:
>>>
>>>> you can also do this with web2py you just need to create a webview with 
>>>> Cordova or Kivy with the URL of your mobile website view. Me this is what 
>>>> I 
>>>> do and it works without problems
>>>>
>>>>
>>>> Le lundi 11 janvier 2016 22:31:58 UTC+1, Alessio Varalta a écrit :
>>>>>
>>>>> Sorry, , you are right. Now i have developed only in Android now in 
>>>>> these day for a project i start to study cordova and is true that you can 
>>>>> upload on Google market this my first time with Hybrid app
>>>>>
>>>>> Il giorno lunedì 11 gennaio 2016 13:17:14 UTC+1, Andrew Buchan ha 
>>>>> scritto:
>>>>>>
>>>>>> Just to butt-in on what Richard said:
>>>>>>
>>>>>> "But this kind of app are often not that interresting from user stand 
>>>>>> point... I mean you don't have a good mobile app user experience with 
>>>>>> them 
>>>>>> most of the time because they to simple that you can just access the 
>>>>>> real 
>>>>>> web app and it could be even better..."
>>>>>>
>>>>>> That's not really true anymore...
>>>>>>
>>>>>> What you are referring to are hybrid apps, which is essentially a 
>>>>>> mini-website (HTML, JS, CSS) wrapped in a package and rendered in a 
>>>>>> native 
>>>>>> webview, as opposed to a native app which is built in objective-C or 
>>>>>> Java.
>>>>>> Hybrid apps can access the phone's features such as camera, battery, 
>>>>>> geolocation, accelerometer etc... So you can do much more than you would 
>>>>>> by 
>>>>>> accessing a web app in the browser!
>>>>>> Hybrid performance is also more than adequate for most applications, 
>>>>>> and many of today's top apps are hybrid (in fact I challenge you to find 
>>>>>> out which apps on your phone are hybrid and which are native...)
>>>>>>
>>>>>> What's more, with tools like cordova you can target both Android and 
>>>>>> iOS (with caveats) with the same code.
>>>>>> You also get to use the latest Javascript frameworks, such as 
>>>>>> AngularJS or ReactJS.
>>>>>>
>>>>>> My advice would be to learn js and angular then go down the ionic (
>>>>>> http://ionicframework.com/) path. I really don't see a case for 
>>>>>> bringing web2py into android.
>>>>>>
>>>>>> Edit:
>>>>>>
>>>>>> What Alessio said isn't true either. You can publish hybrid apps to 
>>>>>> Google play and App

[web2py] Re: Can we use a web2py app on Android mobile?

2016-01-12 Thread eric cuver
you can also do this with web2py you just need to create a webview with 
Cordova or Kivy with the URL of your mobile website view. Me this is what I 
do and it works without problems

Le lundi 11 janvier 2016 22:31:58 UTC+1, Alessio Varalta a écrit :
>
> Sorry, , you are right. Now i have developed only in Android now in these 
> day for a project i start to study cordova and is true that you can upload 
> on Google market this my first time with Hybrid app
>
> Il giorno lunedì 11 gennaio 2016 13:17:14 UTC+1, Andrew Buchan ha scritto:
>>
>> Just to butt-in on what Richard said:
>>
>> "But this kind of app are often not that interresting from user stand 
>> point... I mean you don't have a good mobile app user experience with them 
>> most of the time because they to simple that you can just access the real 
>> web app and it could be even better..."
>>
>> That's not really true anymore...
>>
>> What you are referring to are hybrid apps, which is essentially a 
>> mini-website (HTML, JS, CSS) wrapped in a package and rendered in a native 
>> webview, as opposed to a native app which is built in objective-C or Java.
>> Hybrid apps can access the phone's features such as camera, battery, 
>> geolocation, accelerometer etc... So you can do much more than you would by 
>> accessing a web app in the browser!
>> Hybrid performance is also more than adequate for most applications, and 
>> many of today's top apps are hybrid (in fact I challenge you to find out 
>> which apps on your phone are hybrid and which are native...)
>>
>> What's more, with tools like cordova you can target both Android and iOS 
>> (with caveats) with the same code.
>> You also get to use the latest Javascript frameworks, such as AngularJS 
>> or ReactJS.
>>
>> My advice would be to learn js and angular then go down the ionic (
>> http://ionicframework.com/) path. I really don't see a case for bringing 
>> web2py into android.
>>
>> Edit:
>>
>> What Alessio said isn't true either. You can publish hybrid apps to 
>> Google play and Apple's app store.
>>
>> Here's a useful page:
>>
>>
>> http://www.joshmorony.com/the-step-by-step-guide-to-publishing-a-html5-mobile-application-on-app-stores/
>>
>>
>>
>> On Monday, January 4, 2016 at 9:20:53 PM UTC, RAGHIB R wrote:
>>>
>>>

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] web2py inspired framework

2015-07-31 Thread eric cuver
What do you think of this framework which is clearly inspired by web2py

http://weppy.org/

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Web2py is Badly designed framework and Does not scale

2015-07-20 Thread eric cuver
thank you, I tested it works very well with web2py

Le dimanche 19 juillet 2015 18:04:11 UTC+2, Anthony a écrit :

 On Sunday, July 19, 2015 at 11:10:19 AM UTC-4, eric cuver wrote:

 can we use  brython with web2py ?


 Sure. Brython simply generates Javascript code that then gets executed in 
 the browser, so you can use Brython with web2py in the same sense that you 
 can use Javascript with web2py.

 Anthony


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: google play

2015-07-07 Thread eric cuver

Bruno cezar rocha on twitter answer me: 



   1. *eric* ‏@ghyfr1  https://twitter.com/ghyfr1 12 hil y a 12 heures 
   https://twitter.com/ghyfr1/status/617988200615813120
   
   @rochacbruno https://twitter.com/rochacbruno hi bruno you can show me 
   or explain how i can create web2py application for google play #web2py 
   https://twitter.com/hashtag/web2py?src=hash
   https://twitter.com/ghyfr1/status/6179882006158131200 Retweet1 favoris
   Répondre
Retweeter
Favori1
   Voir l'activité du Tweet
   Plus
   2. 
   *Bruno Cezar Rocha* ‏@rochacbruno  https://twitter.com/rochacbruno 10 hil 
   y a 10 heures https://twitter.com/rochacbruno/status/618012797251792896
   
   @ghyfr1 https://twitter.com/ghyfr1 you can create a web2py api to 
   serve data to a mobile app but not an android app with web2py. You can try 
   appery.io.
   Voir la traduction
   04:05 - 6 juil. 2015 · Détails 
   https://twitter.com/rochacbruno/status/618012797251792896
   Masquer la conversation 
   https://twitter.com/rochacbruno/status/6180127972517928960 Retweet0 
   favoris
   Répondre
Retweeter
Favori
   Plus
   Texte du Tweet
   Répondre à @rochacbruno https://twitter.com/rochacbruno 
   https://twitter.com/rochacbruno
Qui apparaît sur ces photos ?
   3. *e* https://twitter.com/ghyfr1ric ‏@ghyfr1  
   https://twitter.com/ghyfr1 10 hil y a 10 heures 
   https://twitter.com/ghyfr1/status/618019273601122304
   
   @rochacbruno https://twitter.com/rochacbruno I would like to do with 
   as you slice web2py application on google play
   https://twitter.com/ghyfr1/status/6180192736011223040 Retweet0 favoris
   Répondre
Retweeter
Favori
   Voir l'activité du Tweet
   Plus
   4. *e* https://twitter.com/ghyfr1ric ‏@ghyfr1  
   https://twitter.com/ghyfr1 10 hil y a 10 heures 
   https://twitter.com/ghyfr1/status/618019407093202944
   
   @rochacbruno https://twitter.com/rochacbruno I would like to do with 
   as you web2py slice application on google play
   https://twitter.com/ghyfr1/status/6180194070932029440 Retweet0 favoris
   Répondre
Retweeter
Favori
   Voir l'activité du Tweet
   Plus
   5. *Bruno Cezar Rocha* ‏@rochacbruno  https://twitter.com/rochacbruno 10 
   hil y a 10 heures 
   https://twitter.com/rochacbruno/status/618022376601731072
   
   @ghyfr1 https://twitter.com/ghyfr1 that was created by appyet service, 
   just an RSS feed reader
   

*eric* ‏@ghyfr1  https://twitter.com/ghyfr1 10 hil y a 10 heures 
https://twitter.com/ghyfr1/status/618024509778591744

@rochacbruno https://twitter.com/rochacbruno ok it's cool thanks
Voir la traduction
https://twitter.com/ghyfr1/status/6180245097785917440 Retweet0 favoris
Répondre
 Retweeter
 Favori
Voir l'activité du Tweet
Plus
04:51 - 6 juil. 2015 · Détails 
https://twitter.com/ghyfr1/status/618024509778591744


Le lundi 6 juillet 2015 22:07:36 UTC+2, Dave S a écrit :



 On Monday, July 6, 2015 at 8:27:08 AM UTC-7, Massimo Di Pierro wrote:

 No but if you find out let us know. :-)

 On Monday, 6 July 2015 10:22:21 UTC-5, eric cuver wrote:


 hi everybody anyone know how I can create a mobile application on google 
 play with web2py as web2pyslices


 Is that Google Play as the store (application distribution), or Google 
 Play as the engine (application environment)?

 I've seen a few examples of mobile apps in this group, but Web2Py's device 
 detection and view mapping seem to be the key parts of that.  I haven't 
 tried any of them yet.

 /dps
  


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Semantic 2.0

2015-07-07 Thread eric cuver
oh my god semantic i'm fan 

Le lundi 6 juillet 2015 18:12:28 UTC+2, JorgeH a écrit :

 I am open to use both.

 On Monday, July 6, 2015 at 10:21:55 AM UTC-5, Massimo Di Pierro wrote:

 I am the one who proposed moving to semantic a year ago but the 
 overwhelming majority here wanted bootstrap. :-(

 On Monday, 6 July 2015 09:11:10 UTC-5, Richard wrote:

 Semantic include so much goodies!!

 :)

 Richard

 On Fri, Jul 3, 2015 at 12:03 PM, Massimo Di Pierro 
 massimo@gmail.com wrote:

 We cannot make the layout name a variable because it would break 
 bytecode compilation. If you make a semantic scaffolding app I would like 
 to see it. We can make a site where multiple apps are posted.


 On Thursday, 2 July 2015 06:48:36 UTC-5, 黄祥 wrote:

 have a plan to use semantic for web2py scaffolding app? perhaps, 
 something like
 private/appconfig.ini
 [layout]
 css = bootstrap3
 ;css = bootstrap
 ;css = semantic

 best regards,
 stifan

  -- 
 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 the Google 
 Groups web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to web2py+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] google play

2015-07-06 Thread eric cuver

hi everybody anyone know how I can create a mobile application on google 
play with web2py as web2pyslices

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Web2py mobile app using Kivy

2015-06-01 Thread eric cuver
good question I am also interested in the answer

Le lundi 1 juin 2015 16:19:56 UTC+2, Joe a écrit :

 I developed a web app with Web2py. It works great, I thing Web2py is 
 fantastic.

 I want to create a mobile app from my web app and I am not sure what is 
 the best approach.
 Does anyone have any experience using Kivy? Does it work with Web2py? Or, 
 is there a alternative solution to Kivy?


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Sublime Text web2py plugin

2015-05-04 Thread eric cuver
cool it's great

thank you

Le lundi 4 mai 2015 12:28:55 UTC+2, Gergely Orosz a écrit :

 Hi 4 All,

 I've started to develop a web2py plugin for Sublime Text 3.
 I've implemented a few command I found very useful on my daily work.
 If you have any idea how can I make it better and useful please visit the 
 below link and submit your feature request there
 Thanks in advance

 You can find the plugin: https://bitbucket.org/kfog/w2p

 If you have any question please feel free to ask here or on the Issue 
 tracker

 All the best
 Greg


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: french web2py developper in paris

2014-10-15 Thread eric cuver
I am looking for developers who are paid for intervening to training 
sessions evening and training period for several beginners in code or for 
people who want to create prototypes for their startup. 
as to how people are ruby. there will be training in html, javascript and 
python and web2py. the idea is to do as the ruby community is because in 
France, for example, there was only 4 years ruby was nothing. and now they 
have a lot of job  in ruby​​. because they are on the schools code in paris 
 as bootcamps in usa. So we want to do the same with web2py. I am a state 
places to see if there are developers who live in paris to training 
sessions or bootcamps can come helps us to train people on web2py and 
python. but trainers will pay for the training will pay off.

Le mercredi 15 octobre 2014 00:17:06 UTC+2, Massimo Di Pierro a écrit :

 Looking for projects or for developers?

 On Tuesday, 14 October 2014 04:24:12 UTC-5, eric cuver wrote:

 I want to know is there for developers in web2py on paris for projects in 
 web2py in paris.



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] french web2py developper in paris

2014-10-14 Thread eric cuver
I want to know is there for developers in web2py on paris for projects in 
web2py in paris.

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Semantic UI instead of bootstap

2014-10-14 Thread eric cuver
semantic it's like web2py framework that is to say, the best  in its field
Le mardi 14 octobre 2014 07:17:36 UTC+2, Massimo Di Pierro a écrit :

 I really like semantic ui.

 On Monday, 13 October 2014 09:19:34 UTC-5, Ramos wrote:

 is semantic UI a good frontend ?

 http://semantic-ui.com/

 Regards



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] about format %Y-%m-%d

2014-10-13 Thread eric cuver
Hello,
someone knows a javascript or method for a user that can not change %d, %m, 
and can not change that Y%.for %d,  %m by default it's still 
January 01

thank you

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: compute and calculate database

2014-09-20 Thread eric cuver
this post was resoulus   to  see the solution see the 
post https://groups.google.com/forum/#!topic/web2py/nb-xnYhJKao

Le mardi 16 septembre 2014 09:21:07 UTC+2, eric cuver a écrit :

 I'm on the home stretch of my application. I want to know I sought but I 
 can not find. from the database. I have this problem. 

 db.define_table ('spot' 
  Field ('analyse_des_besoins', 'double')  analyse_des_besoins== 50 %
  Field ('patent', 'double') 'patent===10%
  Field ('marketing', 'double') marketing === 20%
  Field ('design', 'double') design==10%
  Field ('definition_du_projet', 'double') == 20%
  Field ('time', 'time'))==1h20

 i must convert  Field ('time', 'time')) in minute and then convert it in 
 float to can calculate a percentage with each field ( Field 
 ('analyse_des_besoins',Field ('patent',),   Field ('marketing', 
 'double').. )

 thank you


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: web2py 2.9.10 is OUT

2014-09-17 Thread eric cuver
cool thank you. you can tell us the new upgrades please

Le lundi 15 septembre 2014 15:15:43 UTC+2, Massimo Di Pierro a écrit :

 web2py 2.9.10 is out. It fixes some important bugs and upgrades some 
 contrib. packages.




-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] share tip to calculate hours from database

2014-09-17 Thread eric cuver
I share with you a solution that gives leonel camara to a problem that I 
encounter

my question :
users must score the hours or minutes of work performed on the project. 
it's for Timesheet software. obligation: the data must be store in database 
, so virtual field impossible.

the solution was give by leonel camara (thanks lot!!)

one thing you can do is store the time in the database as an integer 
representing minutes or seconds if you need that much resolution the user 
can input hours minutes etc and you convert it to a single number in 
minutes.

from gluon.validators import Validator, translate, regex_time
class IS_SECONDS(Validator):

   def __init__(self, error_message='Enter time as hh:mm:ss'):
   self.error_message = error_message

   def __call__(self, value):
   try:
   ivalue = value
   value = regex_time.match(value.lower())
   (h, m, s) = (int(value.group('h')), 0, 0)
   if not value.group('m') is None:
   m = int(value.group('m'))
   if not value.group('s') is None:
   s = int(value.group('s'))
   
   return (h*3600 + m*60 + s, None)
   except AttributeError:
   pass
   except ValueError:
   pass
   return (ivalue, translate(self.error_message))

db.define_table('planing', 
Field('seconds_worked', 'integer', widget=SQLFORM.widgets.time.widget, 
requires=IS_SECONDS(), label=T('Time Worked')),
Field('seconds_holidays', 'integer', 
widget=SQLFORM.widgets.time.widget, requires=IS_SECONDS(), label=T('Time 
Holidays')),
Field('seconds_total', 'integer', writable=False, compute=lambda row: 
row.seconds_worked + row.seconds_holidays)
)

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] compute and calculate database

2014-09-17 Thread eric cuver
I'm on the home stretch of my application. I want to know I sought but I 
can not find. from the database. I have this problem. 

db.define_table ('spot' 
 Field ('analyse_des_besoins', 'double')  analyse_des_besoins== 50 %
 Field ('patent', 'double') 'patent===10%
 Field ('marketing', 'double') marketing === 20%
 Field ('design', 'double') design==10%
 Field ('definition_du_projet', 'double') == 20%
 Field ('time', 'time'))==1h20

i must convert  Field ('time', 'time')) in minute and then convert it in 
float to can calculate a percentage with each field ( Field 
('analyse_des_besoins',Field ('patent',),   Field ('marketing', 
'double').. )

thank you

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: share datebases with different application

2014-08-29 Thread eric cuver
this is my client wants it that way. it's stupid but I can not do anything. 
no it is not authentication is just exchanges of information between the 
two applications do you have idea ?
Le lundi 25 août 2014 19:29:25 UTC+2, Derek a écrit :

 Sure, why not. But the question is, why? If it's authentication, there is 
 a central authentication service that you can use.

 On Monday, August 25, 2014 4:17:44 AM UTC-7, eric cuver wrote:

 Hi,

 I have 2 applications (AppA, AppB). Each application has a database 
 (AppA.db, AppB.db). 
 There is a table in AppA (AppA.table), which should be used in AppB and 
 There is a table in AppB (AppB.table),
 which should be used in AppA

 it's possible with web2py ?



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: multiple DAL

2014-08-29 Thread eric cuver
can you give me example please ?

Le lundi 25 août 2014 21:08:47 UTC+2, Niphlod a écrit :

 or you can just use migrate=False and leave it be.

 On Monday, August 25, 2014 7:49:32 PM UTC+2, Leonel Câmara wrote:

 Ohh then you also need to pass the folder argument to your DAL as the 
 sqlite file will not be in your application's database folder but in the 
 other app's folder.



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] share datebases with different application

2014-08-25 Thread eric cuver
Hi,

I have 2 applications (AppA, AppB). Each application has a database 
(AppA.db, AppB.db). 
There is a table in AppA (AppA.table), which should be used in AppB and 
There is a table in AppB (AppB.table),
which should be used in AppA

it's possible with web2py ?

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] multiple DAL

2014-08-25 Thread eric cuver
hello everybody,

can we create multiple DAL in same model. for example:

db1 = DAL('sqlite://storage.sqlite')
db.define_table()
db.define_table()
db2 = DAL('sqlite://storage.sqlite')
db.define_table()
db.define_table()




-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: multiple DAL

2014-08-25 Thread eric cuver


Le lundi 25 août 2014 18:29:02 UTC+2, Leonel Câmara a écrit :

 Yes you can, however you probably don't want both DALs using the same db 
 (sqlite is pointing to the same file). Also remember to do 
 db1.define_table, db2.define_table, etc. Instead of just db.define_table.

 Anyway, why do you want 2 DALs with exactly the same model?


because a i looking for the solution for this problem : I have 2 
applications (AppA, AppB). Each application has a database (AppA.db, 
AppB.db). 
There is a table in AppA (AppA.table), which should be used in AppB and 
There is a table in AppB (AppB.table),
which should be used in AppA
 

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: PeerQuiz

2014-08-14 Thread eric cuver
ok. I just need to know how I can build  PeerQuiz form  in answer section 
with the + and - 

thank you in advance

Le mardi 5 août 2014 17:57:55 UTC+2, Massimo Di Pierro a écrit :

 It is not open source.

 On Sunday, 3 August 2014 12:29:42 UTC-5, eric cuver wrote:

 hello ,

 everybody,
 i looking for peerquiz web2py source http://vimeo.com/83536698  . i dont 
 find in github. 
 somebody know where i can find it ?

 thanks



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] about next update web2py

2014-08-11 Thread eric cuver
What are news functionality in the next update to web2py 

thanks

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Web2py, authenticating two types of profile

2014-08-11 Thread eric cuver
i find my solution

it's 
that 
http://stackoverflow.com/questions/23974774/creating-two-separate-registration-forms-in-web2py?rq=1

thank you to help

Le lundi 11 août 2014 12:25:58 UTC+2, lyn2py a écrit :

 Have you looked at auth groups?

 http://web2py.com/books/default/chapter/29/09/access-control

 You can create different types of accounts without separate tables.

 On Sunday, August 10, 2014 3:01:14 PM UTC+8, eric cuver wrote:

 nobody know how we can create two types of accounts or login ?

 Le samedi 9 août 2014 00:27:03 UTC+2, eric cuver a écrit :

 hello everybody,

 i want create one application. i  need to create two types of accounts 
 or login. Each of them should be able to register/login/... buyer/customer 
  account defined by different tables in db.
 how i can do with web2py

 thank you



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Web2py, authenticating two types of profile

2014-08-11 Thread eric cuver
i seen.. but i will not have this probleme because the buyer will never be 
the customer. but can you give me an example about your solution
Le lundi 11 août 2014 19:30:20 UTC+2, Leonel Câmara a écrit :

 I wouldn't implement that solution. Well it depends on the objective, but 
 it seems wrong to me to have 2 user tables when the user being a customer 
 or buyer could just be a field.

 You could make this field readable=False, writable=False and then have the 
 register controller set the default differently according to the type of 
 user registration.

 The stackoverflow solution to me seems that it will create problems in the 
 future when suddenly you have users that are both or something like that.




-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Web2py, authenticating two types of profile

2014-08-11 Thread eric cuver
ok thanks you right it's better

Le lundi 11 août 2014 21:44:50 UTC+2, Massimo Di Pierro a écrit :

 Why create a constraint that requires extra work and its only purpose is 
 to reduce functionality?
 While you believe the buyer will never be the customer this is a useless 
 constraint and distinction.

 I would just auth_user and add two extra boolean fields (is_buyer, 
 is_customer) and set them according to your policies. You can then use to 
 registrations for them:

 def register_buyer():
   db.auth_user.is_buyer.default=True
   db.auth_user.is_customer.default=False
   return dict(form=auth.register())

 def register_customer():
   db.auth_user.is_buyer.default=False
   db.auth_user.is_customer.default=True
   return dict(form=auth.register())

 and link them in the right places in your app.



 On Monday, 11 August 2014 13:05:54 UTC-5, eric cuver wrote:

 i seen.. but i will not have this probleme because the buyer will never 
 be the customer. but can you give me an example about your solution
 Le lundi 11 août 2014 19:30:20 UTC+2, Leonel Câmara a écrit :

 I wouldn't implement that solution. Well it depends on the objective, 
 but it seems wrong to me to have 2 user tables when the user being a 
 customer or buyer could just be a field.

 You could make this field readable=False, writable=False and then have 
 the register controller set the default differently according to the type 
 of user registration.

 The stackoverflow solution to me seems that it will create problems in 
 the future when suddenly you have users that are both or something like 
 that.




-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Web2py, authenticating two types of profile

2014-08-10 Thread eric cuver
nobody know how we can create two types of accounts or login ?

Le samedi 9 août 2014 00:27:03 UTC+2, eric cuver a écrit :

 hello everybody,

 i want create one application. i  need to create two types of accounts or 
 login. Each of them should be able to register/login/... buyer/customer 
  account defined by different tables in db.
 how i can do with web2py

 thank you


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-08-09 Thread eric cuver
where i can find the web2py version with bootstrap

Le samedi 9 août 2014 09:17:28 UTC+2, Massimo Di Pierro a écrit :

 also help us test the grid in trunk.

 On Saturday, 9 August 2014 02:13:38 UTC-5, Massimo Di Pierro wrote:

 Bootstrap 3 is in trunk now. Please help us test it.
 Also help us test that existing apps are not broken.

 Massimo



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Web2py, authenticating two types of profile

2014-08-08 Thread eric cuver
hello everybody,

i want create one application. i  need to create two types of accounts or 
login. Each of them should be able to register/login/... buyer/customer 
 account defined by different tables in db.
how i can do with web2py

thank you

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] cvs web2py model

2014-08-03 Thread eric cuver
hello,

i tried tu create webpy model from csv file with this command :
/home/csvstudio# for line in open('db_departement.py','r'): print line, 

the terminal answer-   bash: Erreur de syntaxe près du symbole inattendu « 
( »

somebody look where my error.

thanks


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] PeerQuiz

2014-08-03 Thread eric cuver
hello ,

everybody,
i looking for peerquiz web2py source http://vimeo.com/83536698  . i dont 
find in github. 
somebody know where i can find it ?

thanks

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Compiling web2py application to run as a native android app

2014-07-20 Thread eric cuver
it is possible compiling web2py application as a native android app ?
if it possible how we do ?

thanks

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] pythonanywhere

2014-07-13 Thread eric cuver
Hello, 

I want to run one web2py instance where each web2py application 
will be mapped to different domain and with ability to map some urls 
differently in different domains. i tried without succes 

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: sublime text 3

2014-07-10 Thread eric cuver
i add folder gluon in package directory et user directory with include  if 
0: from gluon import * but doesnt work

Le mercredi 9 juillet 2014 18:24:28 UTC+2, JorgeH a écrit :

 Thanks for the tip

 And yet...

 Could you post a fool-proof example?

 Thanks

 On Wednesday, July 9, 2014 10:31:36 AM UTC-5, Massimo Di Pierro wrote:

 I do know sublime text. I am assuming there is a way to tell it where to 
 look for python modules for autocomplete.

 On Wednesday, 9 July 2014 10:06:25 UTC-5, JorgeH wrote:

 You mean in the OS dir path??

 On Wednesday, July 9, 2014 7:13:46 AM UTC-5, Massimo Di Pierro wrote:

 If your problem is the lack of autocompletion try add gluon to path and 
 include if 0: from gluon import * on your files. Everything else should 
 work out of the box.

 On Wednesday, 9 July 2014 04:29:49 UTC-5, eric cuver wrote:

 hello,

 how can we do to configure sublime text 3 to work web2py 



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] sublime text 3

2014-07-09 Thread eric cuver
hello,

how can we do to configure sublime text 3 to work web2py 

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: sublime text 3

2014-07-09 Thread eric cuver
I do not understand how to do it to add the folder gluon to path 

Le mercredi 9 juillet 2014 14:13:46 UTC+2, Massimo Di Pierro a écrit :

 If your problem is the lack of autocompletion try add gluon to path and 
 include if 0: from gluon import * on your files. Everything else should 
 work out of the box.

 On Wednesday, 9 July 2014 04:29:49 UTC-5, eric cuver wrote:

 hello,

 how can we do to configure sublime text 3 to work web2py 



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Ractive.js

2014-07-04 Thread eric cuver
ok thanks a lot massimo !

Le jeudi 3 juillet 2014 16:57:06 UTC+2, Massimo Di Pierro a écrit :

 I am using ractive.js with web2py a lot these days. In web2py I set:

 response.delimiters = ['%','%']

 and then I use {{...}} for ractive.



 On Thursday, 3 July 2014 05:21:33 UTC-5, eric cuver wrote:

 My eyes struck Ractive.js and I want to test it with Web2py. Web2py 
 however uses also {{ }} as the templating characters. Ractive uses these 
 characters also. how i Can be done ?



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Ractive.js

2014-07-03 Thread eric cuver
My eyes struck Ractive.js and I want to test it with Web2py. Web2py however 
uses also {{ }} as the templating characters. Ractive uses these characters 
also. how i Can be done ?

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] web2py conference - online talks

2014-06-19 Thread eric cuver
can you explain how used web2py with ractive.js please

Le vendredi 16 mai 2014 18:09:04 UTC+2, Massimo Di Pierro a écrit :

 No but I do not like angular. It constrains the JS programming too much 
 for my taste. I use ractive.js with bootstrap already without problems. 

 On Wednesday, 14 May 2014 03:37:59 UTC-5, Ramos wrote:

 Massimo,
 have you tried Angular-ui?
 http://angular-ui.github.io/bootstrap/


 2014-05-14 5:40 GMT+01:00 Massimo Di Pierro massimo@gmail.com 
 javascript::

 I have been using angular.js a lot but I find the controller pattern to 
 be too constraining. for example I cannot use promises outside the scope of 
 a controller. I also find that while easy for simple example is get easily 
 out of hands and I find myself having to revert to jQuery for lots of 
 stuff. Consider for example the case of opening/closing a panel when a 
 button is clicked. One can do this with angular but if you wish to add any 
 animation to the panel, you have to use jQuery.




 On Monday, 12 May 2014 14:28:48 UTC-5, Michele Comitini wrote:

 How is angular.js compared to ractive.js inside web2py's ecosystem? 
 What is your opinion? 

 2014-05-12 18:25 GMT+02:00 António Ramos ramst...@gmail.com 
 javascript:: 
  
  I´m just in favor of angular to improve and modernize user 
 experience. 
  In this matter router-ui seems very interesting also. 
  Also ng animate for animations. 
  
  I dont understand how you relate directly data out of sync with 
 angular and 
  not with web2py. 
  If new data on server, just publish it to the clients so all update 
 it.Its a 
  web2py problem not angular. 
  
  
  Regards 
  António 
  
  
  2014-05-12 16:59 GMT+01:00 weheh richard...@verizon.net 
 javascript:: 
  
  Filtering and sorting can definitely save on http calls. Is there 
 anything 
  else you can think of where it's applicable without creating a synch 
 issue 
  in highly collaborative apps? 
  
  
  On Monday, May 12, 2014 11:37:07 PM UTC+8, Ramos wrote: 
  
  I was not talking about hiding on click. I was thinking about 
 filtering 
  with a live search box above the table. 
  Angular Filters and directives are awesome and once you know them 
 you 
  cant stop thinking about them. 
  
  I´m here to learn so feel free to pun me... 
  
  :P 
  
  
  2014-05-12 16:25 GMT+01:00 weheh richard...@verizon.net: 
  
  @Ramos: of course, I understand that Amber's script was 
 necessarily 
  limited, but it did highlight an important gotcha with this kind 
 of 
  scripting when used with web2py. And if all I wanted to do was 
 hide a table 
  entry on click, I wouldn't want to pay the penalty of loading 
 AngularJS to 
  do that. $(.target).hide() works fine. So I'm still looking for 
 the angle 
  where AngularJS fits (no pun intended, but happy to make the pun 
 anyway). 
  ;-) 
  
  
  On Monday, May 12, 2014 6:15:37 PM UTC+8, Ramos wrote: 
  
  Amber was only focused in showing how easy it is to create a 
 better 
  experience for the user using Angular than simple javascript. 
  Also a lot less code for us, developers. 
  
  It was just a simple demo. Of course that if the app was real and 
 to be 
  used by many, she could/should worry about keeping data in sync. 
  And angular could fetch ajax data just like web2py components.I 
 see no 
  diference here. Its only a matter of taste. 
  
  I could as well say that using only web2py,if i have 1000 users 
 and 
  everytime i need to hide a row in a table i need an http call, my 
 server 
  will die soon with all requests.. and for this angular is a 
 perfect fit. 
  
  
  
  
  2014-05-12 3:28 GMT+01:00 weheh richard...@verizon.net: 
  
  +1 regarding the AngulaJS talk with web2py by Amber Doctor. 
 Kudos to 
  Amber for a talk well given! 
  
  I've been studying AngularJS a little and haven't written any 
 code, 
  yet, but my web Spidey sense is giving off alarms. I think 
 Amber's talk 
  underscores a potential danger of client-side MVC. First, 
 correct me if I'm 
  wrong, but there's nothing in AngularJS that you can't already 
 do in web2y 
  using components. The difference is that Angular does it client 
 side without 
  needing to make an http call, so it potentially runs faster. And 
 AngularJS 
  seems to have a more compact way of doing things we do in jQuery 
 with 
  _onclick=blah blah blah and other such 
 ajax(url,[target],:eval); or 
  web2py_component(...) stuff. 
  
  The danger highlighted by Amber's example is that Angular makes 
 it 
  much easier to create a client-side model that gets out of synch 
 with its 
  server-side web2py model. And keeping them in synch violates DRY 
 principles, 
  requiring the http calls that you would have had to do anyway if 
 you did a 
  web2py-component-only approach. 
  
  For instance, if Amber's talk had been about a collaborative 
 recipe 
  app and someone was updating the recipe database serverside 
 while somebody 
  else was perusing the db clientside, then it would be easy for 
 the 
  

[web2py] Re: Brainstorming

2014-06-19 Thread eric cuver

 we can be used web2py with ractive ?

Le lundi 16 juin 2014 05:31:16 UTC+2, Massimo Di Pierro a écrit :

 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 
 constantly found myself fighting the constraints imposed by angular. 

 On Sunday, 15 June 2014 19:59:43 UTC-5, samuel bonill wrote:

 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 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:
- 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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] video streaming

2014-06-06 Thread eric cuver


db.define_table('music',
Field('name',required=True),
Field('filename','upload',required=True),
auth.signature)
  applications/audio/models/db_audio.py
echo 
response.menu = [('Home',0,URL('index'))]

# allows to browser, search, and upload new music (if logged in)
def index():
# tell web2py that links to music files are to be
# represented as HTML5 audio embedded players
from gluon.contrib.autolinks import expand_one
db.music.filename.represent = lambda v,r: \
XML(expand_one(URL('download',args=v),{}))
return dict(grid = SQLFORM.grid(db.music))

# perform login/logout/registration/etc.
def user():
return dict(form=auth())


if it is for a streaming video that should be put as a code to view ?

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] nodejs and web2py

2014-06-03 Thread eric cuver
hello

Is it possible to work web2py with nodejs 

and that somebody knows the procedure 

thank you


-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: question about video

2014-05-18 Thread eric cuver
thank you.

i have another question.

I have this code in an index.html file but when I compile under web2py whole 
section does not appear on the webpage


!---start-images-slider---
div class=web/images-slider
!-- start slider --
div id=fwslider
div class=slider_container
div class=slide 
!-- Slide image --
!--img src=web/images/slider-bg.jpg 
alt=/--
img src={{=URL('static','images/
sliderbg.jpg')}} alt=/
!-- /Slide image --
!-- Texts container --
div class=slide_content
div class=slide_content_wrap
!-- Text title --
h4 class=titleTo travel is to live/h4
!-- /Text title --
!-- Text description --
p class=descriptionYou Don't Need Magic 
to Disappear. All you need is a destination./p
!-- /Text description --
div class=slide-btns description
ul
lia class=mapbtn href=#Show 
on the map /a/li
lia class=minfo href=#More 
info /a/li
div class=clear /div
/ul
/div
/div
/div
 !-- /Texts container --
/div
!-- /Duplicate to create more slides --
div class=slide
img src={{=URL('static','images/sliderbg.jpg')}} 
alt=/
div class=slide_content
 div class=slide_content_wrap
!-- Text title --
h4 class=titleTo travel is to live/h4
!-- /Text title --
!-- Text description --
p class=descriptionYou Don't Need Magic 
to Disappear. All you need is a destination./p
!-- /Text description --
div class=slide-btns description
ul
lia class=mapbtn href=#Show 
on the map /a/li
lia class=minfo href=#More 
info /a/li
div class=clear /div
/ul
/div
/div
/div
/div
!--/slide --
/div

Le vendredi 9 mai 2014 23:53:19 UTC+2, Massimo Di Pierro a écrit :

 The only thing that you need that does not ship with web2py is a way to 
 record their video and upload to your side.

 Some options include:
 - http://www.webrtc.org/
 - http://www.screencast-o-matic.com/

 Massimo

 On Thursday, 8 May 2014 13:59:19 UTC-5, eric cuver wrote:

 Hi, 
 I'm beginning to web2py, 

 I would like to create a site that allows people to register on the site 
 to be able to record their webcam and put the video 
 on the account and customizes video will be viewed 
 by people who have the right. how do you function module or with web2py I 
 happen to create this site 
 thank you in advance and excuse my english I'm french



-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] question about video

2014-05-09 Thread eric cuver
Hi, 
I'm beginning to web2py, 

I would like to create a site that allows people to register on the site 
to be able to record their webcam and put the video 
on the account and customizes video will be viewed 
by people who have the right. how do you function module or with web2py I 
happen to create this site 
thank you in advance and excuse my english I'm french

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] webcam application

2014-02-25 Thread eric cuver
hello everybody,

i need help

I want to know how I can create a module  to create, edit, update videos

thank you

-- 
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 the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.