web2py

Anyone out there using web2py?

Is anyone out there* using web2py? Specifically: In production? With what database? With Google Application Engine? by "out there" I mean at stackoverflow. ...

Credit card payments and notifications on the Google App Engine

I ported gchecky to the google app engine. you can try it here It implements both level 1 (cart submission) and level 2 (notifications from google checkout). Is there any other payment option that works on the google app engine (paypal for example) and supports level 2 (notifications)? ...

How to debug Web2py applications?

Is it possible? By debug I mean setting breakpoints, inspect values and advance step by step. ...

@Rails users: have you tried web2py? Pros? Cons?

web2py to is a Python framework but shares the "convention over configuration" design that Ruby on Rails has. On the plus side it packages a lot more functionality with its s standard distribution and we claim it is faster and easier to use. Has any Rails user tried it? What is your impression? No rants please. Just technical comments...

Can I do this in Web2Py?

As a way of evaluating Web2Py I tried to reimplement a web page in Web2Py. It seemed quite simple to start with but I'm not sure if it works the way I think. I have a simple page with an input field and button to add an email address. It has a menu bar which links to other pages And it has a couple of scrollable DIVs with content deri...

Integrating smartgwt and web2py.

I'd like to build an application using smartgwt and web2py. I am new to both. Ultimately what I would like to do is display objects obtained from a web2py backend in a smartgwt TileGrid. Can anyone enumerate the broad strokes of what needs to be done? Or point me to any useful resources? Any information that would apply more to django...

Why do Python's frameworks return dictionaries from controllers?

Why (for example web2py) you return data from a controller in a dictionary instead (see Rails) in variables? For example: return dict(sape=4139, guido=4127, jack=4098) instead of (that's the way Rails does it) @var1 = "jello" @var2 = "hihi" Is there any advantage using dictionaries over plain variables (speed-wise/code-wise)? U...

Unable to unzip web2py_win.zip. WINZIP says it is an invalid zip format

WINZIP 12.0 and also WINRAR are both unable to open web2py_win.zip version 1.59 They both say the zip format is invalid. Please advise what to do. Thanks. ...

Which web development framework works best with Google App Engine?

Now that Google allows Java on App Engine, I'm wondering what effect this has on a choice of web framework for App Engine. I realize Google provides the webapp framework which is pretty barebones. And the .96 version of django that's available for App Engine is restrictive. web2py burns up resources, from what I've heard. Rails (now a...

Using mx:RemoteObject with web2py's @service.amfrpc decorator.

I am using web2py (v1.63) and Flex 3. web2py v1.61 introduced the @service decorators, which allow you to tag a controller function with @service.amfrpc. You can then call that function remotely using http://..../app/default/call/amfrpc/[function]. See http://www.web2py.com/examples/default/tools#services. Does anybody have an example of...

how to generate a many-to-many-relationship FORM in web2py?

Do I need a custom validator? Do I need a custom widget? If this helps to clear the problem, the relationship is between member and language where a member can have multiple languages and a language is spoken by multiple members. I would like to add a multi-select box in the "add member" form (that I generate using SQLFORM). Thanks :)...

Finding the domain name of a site that is hotlinking in Google app engine using web2py

Let's say we have an image in the Google App Engine and sites are hotlinking it. How can I find the domain names of the sites? My first thought was: request.client and then do a reverse lookup but that it's not possible in GAE and would take a lot of time. I am pretty sure that there is a property that allows me to get the url of ...

web2py in the future?

Given the size of web2py and the lack of resources and corporate support, do you think it would be advisable to learn web2py as the only web development frame work I know. I'm considersing learning ror or web2py for a website i need to create for as a school project. this is not the 'ruby vs python' question. I just want to know what dis...

Multiple jQuery functions & Autocomplete

I found that using declaring jQuery Autocomplete as the first function in your script prevents other functions from being executed. The second and third functions below will not work: <script> $(function() { $("#ent_input").autocomplete('get_suggestions', {autoFill: true, scroll: false}); }); // Freebase Suggest $(fu...

.htaccess: Transparently adding a name to the request

I've read this tutorial about how to modify your .htaccess in order to server many web2py applications but it doesn't seem to work. Here is my .htaccess RewriteEngine On RewriteRule ^dispatch\.fcgi/ - [L] RewriteRule ^(.*)$ dispatch.fcgi/$1 [L] RewriteCond %{HTTP_HOST} =www.moublemouble.com [NC, OR] RewriteCond %{HTTP_HOST} =moublemou...

Sequence / Identity support in python webframeworks

Currently I'm evaluating web frameworks with an ORM layer and I've stumbled upon an interesting issue. I used tables with an ID column in a JEE (EJB3/JPA) application with different databases. In SAPDB I could define a sequence and use the jpa sequence generator annotation to deal with it, the same way I did on an oracle database previou...

web2py - python

i am using web2py technology for making web application i wanna to know how to allow my code print a picture on a specific position on a card on clicking on button. Thanks in Advance ...

web2py - python

i develop an application using web2py and i wanna to generate a csv file so i wanna to generate it but the columns will be row. e.g: The file is generated as name mobile email Address yyy yyyyy yyy yyyyy i wanna to the file to be generated as the following design: name yyy mobile yyyy email yyyy...

web2py - generate multiselect list

I have an application using web2py. I have a table in the database called member: db.define_table("member", SQLField("membership_id", "integer",notnull=True), SQLField("first_name", "string", notnull=True,length=100), SQLField("region", db.region)) and I want to display the region field as multiSelect list. How can I do this? ...

web2py - how to inject html

i used rows.xml() to generate html output. i want to know how to add html codes to this generated html page e.g: "add logo, link css file,.. etc" rows=db(db.member.membership_id==request.args[0]).select(db.member.membership_id ,db.member.first_name,db.member.middle_name ...