[web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread mdipierro
That pointer is my fault. Mariano just reproduced the original slide design. My original idea was to point request, response, and session to the index() example but, since reponse did not fit, I just pointed the arrow up. On May 4, 2:52 pm, Jonathan Lundell wrote: > On May 4, 2010, at 12:47 PM, M

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Jonathan Lundell
On May 4, 2010, at 12:47 PM, Mariano Reingart wrote: > On Tue, May 4, 2010 at 3:49 PM, Jonathan Lundell wrote: >> >> What does it mean that response has a pointer to request? >> > > Maybe because that is more clear than a pointer to db.py, default.py > and/or index.html What I'm asking, thoug

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
On Tue, May 4, 2010 at 3:49 PM, Jonathan Lundell wrote: > > What does it mean that response has a pointer to request? > Maybe because that is more clear than a pointer to db.py, default.py and/or index.html Best regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Jonathan Lundell
On May 4, 2010, at 11:01 AM, Mariano Reingart wrote: > Fixed. > > I've also > * added: db(query).update(field=val) > * added: @cache('key', 3600, cache.ram) -removed ('domain') from amfrpc- > * modified: T('message') => ‘translation’ > * added: “ajax(url,[id1,id2,...],target)” > > Mariano Reing

[web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread waTR
Had this from a while ago. Not sure if this is what you are looking for. http://rapidshare.com/files/383518290/web2py_cheatsheet.pdf.html On May 4, 10:33 am, mdipierro wrote: > Almost perfect. You lost a 'r' in r-espose and there is ] that takes > unnecessarily an entire line. I will replace mi

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
Fixed. I've also * added: db(query).update(field=val) * added: @cache('key', 3600, cache.ram) -removed ('domain') from amfrpc- * modified: T('message') => ‘translation’ * added: “ajax(url,[id1,id2,...],target)” Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On

[web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread mdipierro
Almost perfect. You lost a 'r' in r-espose and there is ] that takes unnecessarily an entire line. I will replace mine with yours. On May 4, 11:56 am, Mariano Reingart wrote: > Like this? > > Mariano Reingarthttp://www.sistemasagiles.com.arhttp://reingart.blogspot.com > > On Tue, May 4, 2010 at

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
Like this? Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Tue, May 4, 2010 at 1:28 PM, mdipierro wrote: > Excellent! A few suggestions to keep up with recent changes: > > SQLDB(...,pools=...) should be DAL(...,pool_size=...) > > add response.files.append('htt

[web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread mdipierro
Excellent! A few suggestions to keep up with recent changes: SQLDB(...,pools=...) should be DAL(...,pool_size=...) add response.files.append('http://somewhere/file.css') replace response.author, response.description and response.keywords with response.meta.author, response.meta.description

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-04 Thread Mariano Reingart
Ok, remade. This one is B/W only and fits in half legal, to be easily printable What do you think? Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, May 3, 2010 at 4:20 PM, mdipierro wrote: > The source (which I cannot find) was a Comic Life file. Unless y

[web2py] Re: web2py cheat sheet for a pyday

2010-05-03 Thread mdipierro
The source (which I cannot find) was a Comic Life file. Unless you have a Mac that does not help. On May 3, 1:56 pm, Mariano Reingart wrote: > Sadly, this PDF imported with inkscape looks bad, and is more dificult > to edit texts. > > Best regards > > Mariano Reingarthttp://www.sistemasagiles.com

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-03 Thread Mariano Reingart
Sadly, this PDF imported with inkscape looks bad, and is more dificult to edit texts. Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Mon, May 3, 2010 at 1:06 AM, Jason Brower wrote: > If you don't have the source, you can open and edit it with i

Re: [web2py] Re: web2py cheat sheet for a pyday

2010-05-02 Thread Jason Brower
If you don't have the source, you can open and edit it with inkscape. Oh yeah! Did it when designers would throw stuff at in in pdf thinking they could make a few extra bucks by not letting me adjust it. Inkscape should do a pretty good job and it can save as pdf as well. (But can't all we linux

[web2py] Re: web2py cheat sheet for a pyday

2010-05-02 Thread mdipierro
I cannot find the source. I will check if I have a copy at the office. massimo On May 2, 7:28 pm, Mariano Reingart wrote: > I'm looking at: > > http://www.web2py.com/examples/static/web2py_cheatsheet.pdf > > and I wonder if anyone have the source file, so we can adapt it and > translate (to span