[web2py:10768] Re: web2py book finally online in PDF

2008-10-29 Thread mdipierro
The same company is offering me a pdf solution but there still are a lot of restrictions about what you can do with it. I am trying to find out what these restrictions are and what software is required for download. I cannot say yet it is any better then the current system. Also I have no control

[web2py:10769] Re: back to web2py

2008-10-29 Thread billf
Massimo I think there are a few issues raised by your suggestion - excuse my ramblings: 1) If I knew as much about web2py as you I would have thought of your solution and not dug around as much :-) 2) I'm not sure adding html to the model satisfies everyone. 3) Dealing with fields that have

[web2py:10770] Drop down reference not working

2008-10-29 Thread saikatsakura
Hi, My DB tables are as follows - # # This scaffolding model makes your app work on Google App Engine too # # try: from gluon.contrib.gql import

[web2py:10771] Re: Drop down reference not working

2008-10-29 Thread billf
The generation of a dropdown list is triggered by IS_IN_SET, e.g. db.animal.type.requires=IS_IN_SET(['dog','cat','parrot']) You can generate the option list from the db by something like: db.animal.type.requires=IS_IN_SET(db().select(db.animals.ALL)) On Oct 29, 7:08 am, saikatsakura [EMAIL

[web2py:10772] Re: Drop down reference not working

2008-10-29 Thread Saikat Chatterjee
thanks though i figured out the issue. i was putting the requires clauses for reference fields inside a []. when i removed it, the code started working... but thanks anyways bcos it showed me a new technique nonetheless .. regards, saikat On Wed, Oct 29, 2008 at 1:42 PM,

[web2py:10773] Integration with Appcelerator

2008-10-29 Thread Dunsun
Hi, It would be great to integrate Appcelerator with web2py. It would give us a superiority over all other frameworks. Web2py is clearly the best framework for python and Appcelerator is easy and very efficient way to add RIA and SOA to web2py. Any plans for the future ? Thank you.

[web2py:10774] Re: Drop down reference not working

2008-10-29 Thread billf
Just out of interest - perhaps everyone knows this... I have a table lookup that contains simple values grouped by type (counties,countries,person titles,etc) rather than have loads of different tables. In this case, you can say

[web2py:10775] Re: back to web2py

2008-10-29 Thread mdipierro
I mostly agree with you, that is why some version of custom + your patch will be in the next version. Massimo On Oct 29, 1:14 am, billf [EMAIL PROTECTED] wrote: Massimo I think there are a few issues raised by your suggestion - excuse my ramblings: 1) If I knew as much about web2py as you

[web2py:10783] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread mdipierro
web2os? You can tell I am not good with names! On Oct 29, 9:51 am, Phyo Arkar [EMAIL PROTECTED] wrote: web2py OS development started. Stay tuned! What will this be named? On Wed, Oct 29, 2008 at 1:34 PM, Phyo Arkar [EMAIL PROTECTED]wrote: Ah N !! not Lice CD , i am not going to

[web2py:10785] Re: SQLFORM option but non-editable

2008-10-29 Thread bsnipes
Thanks. I will look at T2. Brian On Oct 29, 11:39 am, mdipierro [EMAIL PROTECTED] wrote: Yes in T2. (t2.display(db.tablename)) it gets the record id from request.args[-1] Alternatively given a table and a record table {{for field in db.table.fiels:}}

[web2py:10786] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread Timothy Farrell
Most of the best programmers have little creativity (Linux?) You do have beard, don't you? (I do!) mdipierro wrote: web2os? You can tell I am not good with names! On Oct 29, 9:51 am, Phyo Arkar [EMAIL PROTECTED] wrote: web2py OS development started. Stay tuned! What will this be

[web2py:10787] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread Phyo Arkar
Web2Os sounds ok but .. hmm .. Anyone ? anyidea?? On Wed, Oct 29, 2008 at 4:34 PM, mdipierro [EMAIL PROTECTED] wrote: web2os? You can tell I am not good with names! On Oct 29, 9:51 am, Phyo Arkar [EMAIL PROTECTED] wrote: web2py OS development started. Stay tuned! What will this be

[web2py:10788] jQuery

2008-10-29 Thread annet
I have got the following table in one of my views: table tr thbedrijfsnaam/th thstraatnaam/th /tr {{for club in clubs:}} tr td{{=A(club.bedrijf.bedrijfsnaam,_href=URL(r=request,f='clubdetails? id=%s'%club.bedrijf.id))}}/td

[web2py:10789] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread Joe Barnhart
How about web2py w/batteries included? (old python joke) I think it should retain its branding with web2py, so people don't get confused and think it's not related. Some (probably stupid) ideas: web2py++ web2py/os web2py-vm etc. On Oct 29, 9:53 am, Phyo Arkar [EMAIL PROTECTED] wrote:

[web2py:10791] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread mdipierro
+1 for web2py-vm On Oct 29, 12:37 pm, Joe Barnhart [EMAIL PROTECTED] wrote: How about web2py w/batteries included? (old python joke) I think it should retain its branding with web2py, so people don't get confused and think it's not related. Some (probably stupid) ideas: web2py++

[web2py:10792] Re: jQuery

2008-10-29 Thread voltron
Hi Annet! Tablesorter works well with web2py. But I would recommend Datatables. I wanted something that would save my controller from making to many trips to the database http://www.sprymedia.co.uk/article/DataTables Dag! --~--~-~--~~~---~--~~ You received this

[web2py:10793] Re: jQuery

2008-10-29 Thread voltron
Hi Annet! The tablesorter plugin works well, but my favourite is the datatables plugin(http://plugins.jquery.com/project/DataTables) I wanted a solution that did not always make trips to the database Dag! On Oct 29, 6:24 pm, annet [EMAIL PROTECTED] wrote: I have got the following table in one

[web2py:10794] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread Phyo Arkar
yes .. but Too Simple?? May be KISS is good.. On Wed, Oct 29, 2008 at 6:24 PM, mdipierro [EMAIL PROTECTED] wrote: +1 for web2py-vm On Oct 29, 12:37 pm, Joe Barnhart [EMAIL PROTECTED] wrote: How about web2py w/batteries included? (old python joke) I think it should retain its branding

[web2py:10796] Re: web2py and Internet Information Server?

2008-10-29 Thread mdipierro
I have not tried but there are at least three options: 1) just run IIS as a proxy and redirect to the web2py web server. This solution should work out of the box 2) use this: http://code.google.com/p/isapi-wsgi/ This is the preferred solution. 3) use fastcgi Massimo On Oct 29, 2:24 pm, BobS

[web2py:10797] Re: web2py and Internet Information Server?

2008-10-29 Thread BobS
Will all of those options run using a secure certificate? (https:// mode)? On Oct 29, 3:58 pm, mdipierro [EMAIL PROTECTED] wrote: I have not tried but there are at least three options: 1) just run IIS as a proxy and redirect to the web2py web server. This solution should work out of the

[web2py:10798] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread Phyo Arkar
k , with the spirit of KEEP IT SIMPLE , STUPID I will choose web2py-vm Massimo do you have logo for web2py/? On Wed, Oct 29, 2008 at 6:36 PM, Phyo Arkar [EMAIL PROTECTED]wrote: yes .. but Too Simple?? May be KISS is good.. On Wed, Oct 29, 2008 at 6:24 PM, mdipierro [EMAIL

[web2py:10799] Re: web2py and Internet Information Server?

2008-10-29 Thread mdipierro
yes because iis handles the certificates. web2py is transparent to it. On Oct 29, 3:11 pm, BobS [EMAIL PROTECTED] wrote: Will all of those options run using a secure certificate? (https:// mode)? On Oct 29, 3:58 pm, mdipierro [EMAIL PROTECTED] wrote: I have not tried but there are at

[web2py:10800] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread Yarko T
I like web2py-vm :-) There were a bunch of logo's generated, but I think the ultimate one is just the wonderful font that web2py is printed in on the cover of the book. On Wed, Oct 29, 2008 at 2:45 PM, Phyo Arkar [EMAIL PROTECTED]wrote: k , with the spirit of KEEP IT SIMPLE , STUPID I will

[web2py:10801] SQL string concatenation in web2py?

2008-10-29 Thread morningovermidnight
I have a table with a firstname column and a lastname column. I want the user to be able to select a person's full name from a drop-down list. Currently, using IS_IN_DB, I am only able to show in the drop- down list the firstname or the lastname but not both. How can I have both the firstname and

[web2py:10802] Re: Web2py Appliance and OS Thread!

2008-10-29 Thread mdipierro
I have these http://mdp.cti.depaul.edu/AlterEgo/default/show/97 Made by members of the group. On Oct 29, 2:45 pm, Phyo Arkar [EMAIL PROTECTED] wrote: k , with the spirit of KEEP IT SIMPLE , STUPID I will choose web2py-vm Massimo do you have logo for web2py/? On Wed, Oct 29, 2008 at 6:36

[web2py:10803] Re: Integration with Appcelerator

2008-10-29 Thread JorgeRpo
Well I havent used appcelerator either. But I found your opinion very personal and subjective. I am not going to argue your points at this time. You dont seem to be criticzicing appcelerator buth the logic behind its existence. So you dont agree neither with MS Silverlight, Mozilla Prism,

[web2py:10808] Re: SQL string concatenation in web2py?

2008-10-29 Thread mdipierro
IS_IN_DB(db,'person.id','%(lastname)s, %(firstname)s') On Oct 29, 3:37 pm, morningovermidnight [EMAIL PROTECTED] wrote: I have a table with a firstname column and a lastname column. I want the user to be able to select a person's full name from a drop-down list. Currently, using IS_IN_DB, I

[web2py:10809] Re: web2py and Internet Information Server?

2008-10-29 Thread BobS
I am trying option 2, the isapi_wsgi preferred option. I loaded IIs5.1 on one of my workstations and the http://localhost is working. After following all of the instructions of downloading and installing the isapi_wsgi, when I go to run the test, python isapi_wsgi.py install I get the

[web2py:10811] Re: web2py and Internet Information Server?

2008-10-29 Thread Yarko T
Perhaps this? http://sourceforge.net/projects/pyisapie On Wed, Oct 29, 2008 at 5:12 PM, BobS [EMAIL PROTECTED] wrote: I am trying option 2, the isapi_wsgi preferred option. I loaded IIs5.1 on one of my workstations and the http://localhost is working. After following all of the

[web2py:10812] Re: web2py and Internet Information Server?

2008-10-29 Thread mdipierro
I think Yarko is right. there no isapi in python. Mind that you may need to run from source. Massimo On Oct 29, 5:30 pm, Yarko T [EMAIL PROTECTED] wrote: Perhaps this?http://sourceforge.net/projects/pyisapie On Wed, Oct 29, 2008 at 5:12 PM, BobS [EMAIL PROTECTED] wrote: I am trying option

[web2py:10814] Re: Integration with Appcelerator

2008-10-29 Thread yarko
re: Gut: I'd also add that sometimes gut reacts to the unfamiliar - so it's good to approach with openness. On Oct 29, 5:26 pm, Yarko T [EMAIL PROTECTED] wrote: This may be worth looking at;  I think this is a part of the discussin in a way:http://pubsub.sourceforge.net/concepts.html

[web2py:10815] Re: web2py at PyCon

2008-10-29 Thread mdipierro
I will do pyworks2008 in two weeks. I submitted a talk proposal to PyCon2009 but I do not yet if it was accepted (you can sign up and vote it up or down). I cannot attend EuroPython but I encourage people on this list to submit a talk proposal for EuroPython and I am happy to share my slides

[web2py:10816] Re: Integration with Appcelerator

2008-10-29 Thread achipa
What people might be misunderstanding is my motivation here... There are hardly black-and-white choices, and when an engineering/business decision has to be made, it's usually for a particular situation. While the tone might have been a bit harsh, I'm not saying appcelerator sucks and nobody

[web2py:10817] Re: Integration with Appcelerator

2008-10-29 Thread achipa
Yarko: Looks a lot like the Observer pattern to me, if you used Qt it's the rough equivalent of signals and slots. On Oct 29, 11:26 pm, Yarko T [EMAIL PROTECTED] wrote: This may be worth looking at;  I think this is a part of the discussin in a way:http://pubsub.sourceforge.net/concepts.html

[web2py:10818] Re: Integration with Appcelerator

2008-10-29 Thread Yarko T
yes ... this kind of Observer pattern exists in a lot of places could be useful here, but i haven't thought about this a lot yet too many things on my mind at the moment... On Wed, Oct 29, 2008 at 7:55 PM, achipa [EMAIL PROTECTED] wrote: Yarko: Looks a lot like the Observer pattern

[web2py:10819] Re: Integration with Appcelerator

2008-10-29 Thread noobpythoncoder
Any individuals opinion is subjective, eh?! Like I wrote in past - itś great to read them all! :-) Dunsun - you ask a good quick question... and most, if not all, the web app development community shares your GUI development pain! :D But, achipa makes an informed and logical rebuttal to the

[web2py:10821] Re: Integration with Appcelerator

2008-10-29 Thread noobpythoncoder
Thanks Yarko, we make similar points. I am curious to learn more about how PyPubSub concepts could be applied to help the front-end/back-end development balance in web2py. Could you explain? More specifically, I am curious how web2py users are rapidly prototyping in web2py now? From a newish

[web2py:10822] Re: web2rokee! web2py + Cherokee Howto!

2008-10-29 Thread noobpythoncoder
Perhaps we could 1-up Django someday, and offer to port/rewrite the Cherokee Admin using web2py, with web2py integrated to run it?! Excuse my joke... Im just too keen to try Cherokee and think it is perfect match for web2py. Im keen to read your tutorial Phyo - hopefully I can adapt it to

[web2py:10823] Re: Integration with Appcelerator

2008-10-29 Thread voltron
I share Achipas opinion, I am quick and merciless. I clicked around, read a few pages of the documentation, and thought, nice site design but not sold yet... Negatives 1. Much more work ( have to learn the expression language) 2. Code duplication. Its doing what the built in Jquery lib is there