Re: [web2py] Re: for... in usage

2014-02-02 Thread Don O';Hara
Hello Massimo - After reading the web2py reference manual closely, and working through some examples, your one liner makes perfect sense, and is quite elegant. How would you describe this style of programming; is it more pythonic, or web2py-ish, or functional, or something else? I came up through

[web2py] simple count(*) field in SQLFORM.grid

2014-02-24 Thread Don O';Hara
I'm trying to transliterate this sql into web2py: select g.name, p.status, count(*) from garden g join plot p on g.id = p.garden_id group by g.name, p.status order by g.name; Given this model: db.define_table('garden', Field('name',requires=[IS_NOT_EMPTY()]), Field('status')) db.define_tab

Re: [web2py] Re: OT: movuca internal error on comment

2014-03-10 Thread Don O';Hara
On Thu, Jan 2, 2014 at 6:50 PM, rochacbruno wrote: > Hi Manuele, > > Thanks for the report. > > I will check the problem ASAP. > > Alan (spametki), Anthony and Massimo are also able to access the > web2pyslices admin. > > BTW: web2pyslices needs more contributors, some things needs rewrite, if >

Re: [web2py] Re: Here's how to run Web2Py on IBM BlueMix

2014-05-09 Thread Don O';Hara
Very nice "morning report"! It gives a framework that can be developed into a large paper explaining what each term means; the pros/cons of the available options (at this point in time); motivations for design choices; future technologies to become aware of; etc; etc. Then it can become an O

Re: [web2py] web2py and self-submission/postbacks - a newcomer asks

2014-06-19 Thread Don O';Hara
Hi Graham - Welcome to web2py ! I think you'll find that this group has many people who can share many types of design patterns. Web2py has a lot of ajax built into core the framework. Since the original intent was using web2py as a teaching tool, the emphasis may have been on simplicity (self

[web2py] SQLFORM: 'str' object has no attribute 'writable' error

2014-07-13 Thread Don O';Hara
I'm experimenting with the various field types (mysql) to learn more about web2py. I'm not sure why I got this error 'str' object has no attribute 'writable' Version web2py(tm) Version 2.9.5-trunk+timestamp.2014.07.03.12.21.52 Given this table: db.define_table('test_all_fields',

Re: [web2py] Re: SQLFORM: 'str' object has no attribute 'writable' error

2014-07-14 Thread Don O';Hara
Thanks ! A case of tired eye syndrome... Works fine now. Don On Jul 14, 2014, at 8:02, lyn2py wrote: > Syntax doesn't look right. Should be: > > row=db.test_all_fields(request.args[1]) > form=SQLFORM(db.test_all_fields, row) > > > > On Monday, July 14, 2014

[web2py] Favorite debuggers?

2014-07-15 Thread Don O';Hara
I really like the web-based tools that are available out of the box with web2py (source editor, db manipulation, debugger, etc). What are some of the other tools people like to use for web2py interactive debugging? Does anyone use pudb (I love the old turbo pascal look!), or any of the other

Re: [web2py] Re: Favorite debuggers?

2014-07-16 Thread Don O';Hara
Thanks Ron - My preferred way has always been to "log now, look later" to not interupt the flow of the transaction/unit of work processing. Most of my "day work" is database programming where debugging is very limited or non-existent, and that's the only way. (Nothing worse than staring at code an

Re: [web2py] Trolls at work against web2py!

2014-07-17 Thread Don O';Hara
If I ignore my bias to web2py, and the fact that I have no empirical evidence as far as real world applications, it is interesting that : - Only Massimo's posts give references to links, other studies, and real evidence, in a calm, unopinionated manner - Detractors tend to give off the

Re: [web2py] Re: Web2py vs ruby on rails for a startup?

2014-08-10 Thread Don O';Hara
+1 The web2py community is first rate, with plenty of people who help out, and never get tired of helping newbies (like me). Plus, Massimo puts on a mean conference ;-). Looking forward to the next one!! That is spot on about a python developer becoming a good web2py dev quickly. The great t

Re: [web2py] a proposal for form improvement

2014-09-05 Thread Don O';Hara
This is a very intriguing development. It would be interesting to see real-world usage statistics (what percent of apps are all or mostly js UI, vs. traditional backend-sends-html UI), but since that would be pretty hard to get, the next best metric would be for developers to give an indication