[web2py:26788] Re: Authentication for services

2009-07-17 Thread mdipierro
Or '_next':URL(r=request,args=request.args[0],anchor='anchor') On Jul 17, 10:30 pm, Alex Fanjul wrote: > Ok, I got it like this: > '_next':"%s#anchor"%URL(r=request,args=request.args[0]) > > Thanks > > El 18/07/2009 5:26, Alex Fanjul escribió: > > > Massimo, I think I'm getting some error like

[web2py:26785] Re: problem when using an SQLFORM to approve user registration

2009-07-17 Thread mdipierro
Which version of web2py? I cannot reproduce this. Can you try add db.auth_table.writable=True before accepts? Does it change anything? Massimo On Jul 17, 5:45 pm, Dan wrote: > I want to be able to approve user registrations using the web (because > I'm running on GAE), and would like to b

[web2py:26784] Re: The 80/20 rule

2009-07-17 Thread mdipierro
I know that mako does. Mako is the closest thing to web2py templates On Jul 17, 9:03 pm, Bottiger wrote: > Sorry about making so many replies, I'm still getting used to the > Google Groups forums, but here is another response: > > > I am not talking about parsing Python files. I am talking about

[web2py:26783] Re: The 80/20 rule

2009-07-17 Thread mdipierro
Thanks Vinicius, we do not have a formal way. Usually people offer to do something on this list and if considered valuable you have a go. Lots of people email me patches personally. If the patch is substantial, I include the name in the who.html page. This is far from a perfect system and we need

[web2py:26782] Re: The 80/20 rule

2009-07-17 Thread Bottiger
Sorry about making so many replies, I'm still getting used to the Google Groups forums, but here is another response: > I am not talking about parsing Python files. I am talking about parsing > {{extend 'layout.html'}}{{for i in range(3)}}{{=i}} {{pass}} and > turning this into a python file. M

[web2py:26781] Re: The 80/20 rule

2009-07-17 Thread Bottiger
> The issue is freer for who. BSD is designed so that a business can take over > a project and close source its derivative work. The "freer" part of BSD > protects these kind of companies, not the actual project or its original > developers. I don't think Web2Py is in danger of that happening.

[web2py:26780] Re: The 80/20 rule

2009-07-17 Thread Bottiger
> Once I again, 1% of the J2EE market share or 10% of the PHP share are both > better than 100% of the Django market share. Well I would say that the people migrating from J2EE and PHP look at Pylons first. Pylons is more of a bare bones minimalist framework in the same vein. Those who wanted a

[web2py:26779] Re: HOW2Py

2009-07-17 Thread gluegl
Great suggestions... Will start with #2 CSS / Jquery ... JohnMc contribution will be great foundation. I have add a jquery/css/ Web2Py professional template thanks guys ... with your input and those of others we can make this a very successful How2Py series... -G On Jul 17, 8:00 pm, mdip

[web2py:26778] Re: web2py-users and web2py-developers

2009-07-17 Thread mdipierro
One more thing... this is not at all intended to exclude people from important conversations. If you feel one way or another you can still bring it up here. It is just that sometime some comments may be taken out of context from new users and be interpreted in the wrong way. Let's see how it wo

[web2py:26777] Re: web2py-users and web2py-developers

2009-07-17 Thread mdipierro
Sorry that was not intentional. I just set it up in a hurry. Now all messages are readable (there are none yet) You did well to bring this up. Please check that it is fixed on your side. To be a member you have to apply and I have to approve. If you have contributed to web2py significantly or h

[web2py:26776] Re: web2py-users and web2py-developers

2009-07-17 Thread A. C. Censi
Hi Massimo, greetings from Brazil. Or perhaps from this last actions hould I say Heil! I have been following the web2py community, because I feel that is very interesting effort in bringing another python framework that is very ingenious and, from my frustrated developer view (mainly because I c

[web2py:26775] Bug reports

2009-07-17 Thread mdipierro
I will be traveling a lot starting Sunday. I should have occasional network access but not really reliable. I need to setup a better mechanism for bug reports. I propose: 1) If somebody posts a problem one of the "developers" should check it out. If the problem exist take one of the following two

[web2py:26774] Re: HOW2Py

2009-07-17 Thread JohnMc
One observation as well. If somebody takes the time to write a article/ tutorial they should think a bigger audience than just Web2Pyers. The very article written for this audience with the addition of a lead in page on Web2Py could be targeted to other publications. For example Full Circle for th

[web2py:26773] Re: HOW2Py

2009-07-17 Thread mdipierro
I agree that is important but the book stops where web2py stops. Web2py encourages to personalize pages using CSS and jQuery and there are books that talk about that. There is a missing link (custom forms and web2py css conventions). This is because when the book was written web2py did not have wi

[web2py:26772] Re: HOW2Py

2009-07-17 Thread JohnMc
Well I could offer up an article on lxml/PyQuery/Web2Py Yahoo screen scraping techniques. Something I have already done for one application. JohnMc On Jul 17, 3:47 pm, gluegl wrote: > Hello All, > > Would like to know who in the community would like to team-up and > create a Monthly > > HOW2PY

[web2py:26771] Re: HOW2Py

2009-07-17 Thread Boriel
I think the most important part is the 2) --> Styles/Templates/Forms howto. Web2Py is really intuitive comparing to Django and TurboGears (to me this is the 'niche', an smaller learning curve). The point where many people get stuck is in the Form desing. I'm also studiying how to integrate JQuery/

[web2py:26770] Re: The 80/20 rule

2009-07-17 Thread viniciusban
On Jul 17, 12:32 pm, "Hans Donner" wrote: > i m seeing many posts about the doc needing improvement, and some discusions > about it should be done in the wiki that is not there yet. Which wiki? I could not find a link to it in web2py site. > However, i see little that people offer documentati

[web2py:26769] Re: The 80/20 rule

2009-07-17 Thread JohnMc
Hans, I have already offered to do the screen captures as my bit to the doc effort. As soon as the marching orders are released I'll work it. I might suggest one addendum sometime in the future. The book itself covers what I call the application developers view. That's appropriate considering th

[web2py:26768] Re: web2py-users and web2py-developers

2009-07-17 Thread rev
Hi Massimo, The description of web2py-users still says: Developers should also join: http://groups.google.com/group/web2py_de velopers The underscore should be a dash, and there's a space in the text (URL is correct though). rev --~--~-~--~~~---~--~~ You rece

[web2py:26767] problem when using an SQLFORM to approve user registration

2009-07-17 Thread Dan
I want to be able to approve user registrations using the web (because I'm running on GAE), and would like to build a set of forms for administrators to set up group memberships. As a first step, I've got a list of users that are pending approval, and I will need to clear the value of the registra

[web2py:26766] Re: web2py-users and web2py-developers

2009-07-17 Thread mdipierro
CORRECTION: user web2py-developers instead of web2py_developers instead. I deleted the latter. You need to sign up. Massimo On Jul 17, 5:28 pm, mdipierro wrote: > This group has changed name to: > web2py-users > > Developers should request membership > in:http://groups.google.com/group/web2py

[web2py:26765] Re: The 80/20 rule

2009-07-17 Thread mdipierro
done, excellent suggestion On Jul 17, 5:10 pm, waTR wrote: > I would really love to see a web2py-developers google group form, and > a web2py-management group. At least then there can be a forum to > discuss the strategic plan, and general organization for the project, > and not pollute the web2

[web2py:26764] web2py-users and web2py-developers

2009-07-17 Thread mdipierro
This group has changed name to: web2py-users Developers should request membership in: http://groups.google.com/group/web2py_developers Or email me to be added. - You can be a developer if you have contributed to web2py, NOT if you plant to contribute to web2py. In order to be a developer you mus

[web2py:26763] Re: The 80/20 rule

2009-07-17 Thread waTR
I agree with Massimo on the bellow points about framework competition. On Jul 17, 3:06 pm, mdipierro wrote: > On Jul 17, 4:15 pm, Bottiger wrote: > > > > Since no one else completed, web2py didn't get recognized at the > > > conference > > > You also forgot to mention that no one else *compe

[web2py:26762] Re: The 80/20 rule

2009-07-17 Thread mdipierro
On Jul 17, 4:54 pm, Bottiger wrote: > > It parses all views and collapses the three structure associated to each > > action into one byte-code compiled view. that means there is no > > parsing and minimal file IO when executing a view in a bytecode > compiled app. > > I don't think this makes

[web2py:26761] Re: The 80/20 rule

2009-07-17 Thread waTR
I would really love to see a web2py-developers google group form, and a web2py-management group. At least then there can be a forum to discuss the strategic plan, and general organization for the project, and not pollute the web2py-users group. One must not forget that we are comparing frameworks

[web2py:26760] Re: The 80/20 rule

2009-07-17 Thread mdipierro
On Jul 17, 4:15 pm, Bottiger wrote: > > Since no one else completed, web2py didn't get recognized at the conference > > You also forgot to mention that no one else *competed*. This is an old wound and we should let it alone. But to get the fact straight. At Flourish 2008 a number of people were

[web2py:26759] Re: The 80/20 rule

2009-07-17 Thread Bottiger
> It parses all views and collapses the three structure associated to each > action into one byte-code compiled view. that means there is no parsing and minimal file IO when executing a view in a bytecode compiled app. I don't think this makes a large difference in practice from the benchmarks I

[web2py:26758] Re: The 80/20 rule

2009-07-17 Thread mdipierro
On Jul 17, 2:43 pm, Bottiger wrote: > - Secure > > The average programmer does not have the ability to see any concrete > benefit this has over Django. From what I've seen learning Web2Py, it > doesn't do anything that Django doesn't do with filtering and escaping > text, html etc. Django does a

[web2py:26757] Re: The 80/20 rule

2009-07-17 Thread mdipierro
On Jul 17, 2:43 pm, Bottiger wrote: > > - Compilation > > Django does this automatically, so I don't know why this is considered > a feature. Not the same thing. Python automatically bytecode copiles modules tha first time they are imported. that is the same for all python frameworks, includin

[web2py:26756] Re: HOW2Py

2009-07-17 Thread mdipierro
I think this is a nice idea. I am swamped but let me know how I can help. Massimo On Jul 17, 3:47 pm, gluegl wrote: > Hello All, > > Would like to know who in the community would like to team-up and > create a Monthly > > HOW2PY  (Web2PY) Tutorial covering > > 1- WSGI - RESTfull calls > -FLICKR,

[web2py:26755] Re: The 80/20 rule

2009-07-17 Thread Bottiger
> Since no one else completed, web2py didn't get recognized at the conference You also forgot to mention that no one else *competed*. Now it may very well be true that Web2Py is quicker to develop. When I look at the code, it does seem shorter and cleaner, but I can still program the same thing

[web2py:26754] Re: Authentication against a web2py hosted json function from python client

2009-07-17 Thread David Watson
Thanks so much for the help. I use json for some other functions, but that was not a requirement here so I just hit it with a hammer and switched to xmlrpc. I didn't realize that you could use the service proxy like that for json though, so that was a very useful exercise. -d On Jul 16, 11:48 am

[web2py:26753] HOW2Py

2009-07-17 Thread gluegl
Hello All, Would like to know who in the community would like to team-up and create a Monthly HOW2PY (Web2PY) Tutorial covering 1- WSGI - RESTfull calls -FLICKR, -AMAZON, -GAE -eBAY, -FACEBOOK, -TWITTER -XMPP -CRAIGLIST, -Yahoo Search -Yahoo Pipes -Google Search -Google APPS -Google Maps(Calen

[web2py:26752] Re: The 80/20 rule

2009-07-17 Thread Yarko Tymciurak
On Fri, Jul 17, 2009 at 2:43 PM, Bottiger wrote: > > Django also has the ability to use SQLite. > > Web2Py is a somewhat better at everything Django tries to do, but the > differences are simply not enough for the average programmer to see > through in 1 sitting. Let's take a look at the commonly

[web2py:26751] Re: The 80/20 rule

2009-07-17 Thread mdipierro
Herman, you have good points On Jul 17, 3:02 pm, Hernan Olivera wrote: > 2009/7/17 Bottiger : > > > > > > > Django also has the ability to use SQLite. > > > Web2Py is a somewhat better at everything Django tries to do, but the > > differences are simply not enough for the average programmer to s

[web2py:26750] Re: The 80/20 rule

2009-07-17 Thread mdipierro
Not quite. I am justing waiting to cleanup the specs before I can ask for help. I hope to be done soon so I can use your help. Massimo On Jul 17, 2:17 pm, Bottiger wrote: > I wanted to do so, but Massimo made it clear that he wanted to work on > the new DAL by himself. I already offered to help

[web2py:26749] Re: The 80/20 rule

2009-07-17 Thread Hernan Olivera
2009/7/17 Bottiger : > > Django also has the ability to use SQLite. > > Web2Py is a somewhat better at everything Django tries to do, but the > differences are simply not enough for the average programmer to see > through in 1 sitting. Let's take a look at the commonly cited features > of Web2Py.

[web2py:26748] Re: The 80/20 rule

2009-07-17 Thread Bottiger
Django also has the ability to use SQLite. Web2Py is a somewhat better at everything Django tries to do, but the differences are simply not enough for the average programmer to see through in 1 sitting. Let's take a look at the commonly cited features of Web2Py. **Please note this is not a bashi

[web2py:26747] Re: The 80/20 rule

2009-07-17 Thread Bottiger
I wanted to do so, but Massimo made it clear that he wanted to work on the new DAL by himself. I already offered to help. On Jul 17, 2:29 am, Joe Barnhart wrote: > Let me also be blunt. > > Your message started with a serious but constructive criticism of > web2py and then degenerated into a wh

[web2py:26746] Re: The 80/20 rule

2009-07-17 Thread Yarko Tymciurak
funny - sometimes no matter how much people want it, "just do it" doesn't seem to work sometimes you have to figure out what is missing or what is wrong... sometimes "just doing it" is part of the road to figuring that out; sometimes it doesn't help at all - we are, it seems to me, experienci

[web2py:26745] Re: Command for shell ?

2009-07-17 Thread Yarko Tymciurak
On Fri, Jul 17, 2009 at 3:52 AM, Benigno wrote: > > Ok, sorry, I think I found it here on the groups > > python web2py.py -S -M Yes - python web2py.py --help will also show the options available. > > > cheers > > On Jul 17, 10:14 am, Benigno wrote: > > I know this is really really basic, bu

[web2py:26744] Re: The 80/20 rule

2009-07-17 Thread Zoom.Quiet
On Sat, Jul 18, 2009 at 01:23, mdipierro wrote: > > +1 > +1 but that realy always matter breaking my plan, so chinese documanet,is always in my head... > On Jul 17, 10:32 am, "Hans Donner" wrote: >> i m seeing many posts about the doc needing improvement, and some discusions >> about it sh

[web2py:26743] Re: reddish2

2009-07-17 Thread mdipierro
Lucas, if you can set this up it will save us some work Massimo On Jul 17, 11:43 am, lpg wrote: > Hi Yarko, > Personally, I think we need to embed some kind of workflow and > authorization into Reddish, otherwise it will get disorganized. It a > feature I like that IdeaTorrent. The question is

[web2py:26742] Re: The 80/20 rule

2009-07-17 Thread mdipierro
+1 On Jul 17, 10:32 am, "Hans Donner" wrote: > i m seeing many posts about the doc needing improvement, and some discusions > about it should be done in the wiki that is not there yet. > However, i see little that people offer documentation or patches that work on > the documentation. > > plea

[web2py:26741] Re: reddish2

2009-07-17 Thread lpg
Hi Yarko, Personally, I think we need to embed some kind of workflow and authorization into Reddish, otherwise it will get disorganized. It a feature I like that IdeaTorrent. The question is how long will it take before a suitable Reddish is ready for the "roadmap portal"? If no one had an objecti

[web2py:26740] Re: Where's the roadmap?

2009-07-17 Thread waTR
Sounds great! Foundation or Corporation or Grandma's bakery. As long as a process is set-up to vote-in or hire-on (preferably), volunteers that are willing to do the administrative work, that's all that is needed. But what about the volunteer coordination? I have a fear that you will burn-out if

[web2py:26739] Re: The 80/20 rule

2009-07-17 Thread Hans Donner
i m seeing many posts about the doc needing improvement, and some discusions about it should be done in the wiki that is not there yet. However, i see little that people offer documentation or patches that work on the documentation. please, can we see more of the latter and less of the first? a

[web2py:26738] Re: Stumped Beyond Belief

2009-07-17 Thread JohnMc
BTW, this is perfect example of helpless backtrace. Consider how much better it would be if it look like this: == SyntaxError: invalid field name: 'tablename.fieldname' -- Alexey That might have helped some. But to tell you the truth I went field by field twice looking for just such

[web2py:26737] New Learning project

2009-07-17 Thread Offray Vladimir Luna Cárdenas
Hi all, The semester is beginning again, so is a good time to restart the web2py learning. This time (besides finishing my old exercises portal) I would like to start a project creating something like Tiddlyspot[1]. The idea is to have a web2py site where people can create, upload and manage

[web2py:26736] Re: The 80/20 rule

2009-07-17 Thread viniciusban
On Jul 16, 11:49 pm, mdipierro wrote: > > We can add more and more features to web2py with the effect that: > - web2py grows in complexity to the point that it becomes harder to > maintain > - web2py gets slower I think these 2 are not good choices because a good framework must be fast and simp

[web2py:26735] Re: Stumped Beyond Belief

2009-07-17 Thread mdipierro
Yes they are included. Massimo On Jul 17, 2:12 am, Alexey Nezhdanov wrote: > BTW, this is perfect example of helpless backtrace. > Consider how much better it would be if it look like this: > == > SyntaxError: invalid field name: 'tablename.fieldname' > == > > I submitte

[web2py:26734] Re: sending HTML emails

2009-07-17 Thread Brian M
Massimo, Feel free to stick it in the new version of the book. I'll see if I can't test it over the weekend with your Mail() function. I might even try to make it so you can attach multiple images/files by passing a list of files & what you want to refer to them by in the html? So maybe something

[web2py:26733] Re: Cron not working with Controller Functions

2009-07-17 Thread AchipA
No idea about service, I have not tested it separately. Looking at widget.py, however, I saw an unrelated potential problems though, so I'll test it a bit anyway. Will send the patch to Massimo and/or report back regarding to findings on service mode. On Jul 16, 7:55 pm, Fran wrote: > On Jul 16,

[web2py:26732] Re: The 80/20 rule

2009-07-17 Thread JohnMc
One other point. Web2Py is lightweight enough using sqlite that it fits quite well in areas where -- * portability is required. * space is at a premium. * The ability to have multitude of support applications are not possible (eg java creep, jre) Just a thought. On Jul 17, 6:34 am, JohnMc wrot

[web2py:26731] Re: The 80/20 rule

2009-07-17 Thread JohnMc
The problem with Web2Py is that it does not have a niche. Right now, Django is occupying the same niche. As the first-comer, it has the advantage that people already know how to use it. Until Web2Py manages to have a benefit greater than its own learning curve, Web2Py will continue to sit in secon

[web2py:26730] Re: The 80/20 rule

2009-07-17 Thread Joe Barnhart
Let me also be blunt. Your message started with a serious but constructive criticism of web2py and then degenerated into a whining post for including your own favorite database. If that's the only feature you seek in web2py, download the source code and have at it. What a disappointing finish.

[web2py:26729] Re: Command for shell ?

2009-07-17 Thread Benigno
Ok, sorry, I think I found it here on the groups python web2py.py -S -M cheers On Jul 17, 10:14 am, Benigno wrote: > I know this is really really basic, but it may be my inability to > understand when a document is outdated or something, truth is that I > have been launching theshelllike so f

[web2py:26728] Command for shell ?

2009-07-17 Thread Benigno
I know this is really really basic, but it may be my inability to understand when a document is outdated or something, truth is that I have been launching the shell like so for a long time: python2.5 web2py.py --shell=appname However, I do not get the app related stuff preloaded in the shell no

[web2py:26727] Re: The 80/20 rule

2009-07-17 Thread Bottiger
> Finally, this community has to do a better job at outreach. You should talk to your friends and blog about web2py. You must talk about the applications you build with it. We do not lack developers. We lack salesmen. I apologize in advance for being blunt. I thought about writing about Web2Py o

[web2py:26726] Re: Where's the roadmap?

2009-07-17 Thread Sebastian E. Ovide
agree 100 % Sebastian E. Ovide Sent from Dublin, Ireland On Fri, Jul 17, 2009 at 1:29 AM, Bottiger wrote: > > > Work ON the projects, not IN the projects > > Yes, we there are too many large examples and not enough > documentation. Documentation being spread out on AlterEgo is extremely > di

[web2py:26725] Re: Stumped Beyond Belief

2009-07-17 Thread Alexey Nezhdanov
BTW, this is perfect example of helpless backtrace. Consider how much better it would be if it look like this: == SyntaxError: invalid field name: 'tablename.fieldname' == I submitted couple of similar patches some time ago, do not know if they were included: http://group