[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Nik
Here's my tounge in cheek proposal: Web2py: puts the fun back in coding -- and extra time for playing with taglines ... On Mar 15, 7:04 pm, villas wrote: > The web2py tagline is currently: 'Enterprise Web Framework'. > > Massimo agrees that this might be improved and this thread is to > solicit

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Anthony
OK, that makes sense. :) On Tuesday, March 15, 2011 11:56:17 PM UTC-4, encompass wrote: > I wanted it to mean as much as possible. It was intended to mean you can be > productive and it was thought out with experienced hands when created. > On 15 Mar 2011 22:13, "Anthony" wrote: > > > > I like

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Jason (spot) Brower
I wanted it to mean as much as possible. It was intended to mean you can be productive and it was thought out with experienced hands when created. On 15 Mar 2011 22:13, "Anthony" wrote: > > I like "Productivity by Design" because it sounds catchy and includes the word "Productivity", but I'm sort

Re: [web2py] Re: Paypal slice question

2011-03-15 Thread Andrew Evans
Makes sense I wanted them in a table also. But the site settings table is already in existance, with that code you provided how does that work? Or am I totally missing something? *cheers On Tue, Mar 15, 2011 at 1:50 PM, howesc wrote: > yes, you should be putting your paypal values in there. i

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Luther Goh Lu Feng
'Elegance through simplicity' On Mar 16, 4:12 am, mikech wrote: > I like the idea of rotating taglines.   > > Instant gratification   comes to mind.

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Anthony
Note, it also appears as the in the HTML and vertically on the side of the page in the online book: http://www.web2py.com/book/. On Tuesday, March 15, 2011 11:03:14 PM UTC-4, Massimo Di Pierro wrote: > I agree. I will remove it with the next commit. > > On Mar 15, 9:50 pm, Anthony wrote: >

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Massimo Di Pierro
I agree. I will remove it with the next commit. On Mar 15, 9:50 pm, Anthony wrote: > I suppose we don't need a tagline at all. I think it only appears near the > top of the home page and on the book cover, so it's not exactly ubiquitous. > Not all frameworks have a tagline. We could just stick wi

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Anthony
I suppose we don't need a tagline at all. I think it only appears near the top of the home page and on the book cover, so it's not exactly ubiquitous. Not all frameworks have a tagline. We could just stick with a descriptive summary sentence on the home page, which is currently: "Free open sour

Re: [web2py] Re: Cron doesn't work for me...

2011-03-15 Thread Tito Garrido
Thanks! On Tue, Mar 15, 2011 at 1:06 PM, VP wrote: > I answered your email. Briefly (on Linux/Unix): > > + Use "crontab -l" to see your cron entries. > > + Use "crontab -e" to create/edit cron entries. > > + Google / wikipedia for cron syntax. To execute a URL (e.g. web2py > controller, you c

[web2py] return xml list

2011-03-15 Thread Adnan S.
I used the code that Massimo posted for returning the xml, which works perfectly fine when exporting from a single table, but when selecting fields from two tables it gets stuck, due to table names propagated in the resultset. Being a newbie w web2py and python I'm not finding an elegant solution a

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread rochacbruno
We were in the same issue to choose the new logo. Had a votation and from a list with 94 logos we ended with the most simple and compact. Today, I think everyone agrees that the logo is good enought. I really think we need to drop "enterprise" so what about just dropping it? As simple enought

[web2py] Re: Another jerk!

2011-03-15 Thread Massimo Di Pierro
For pragmatists who get things done On Mar 15, 6:48 pm, b00m_chef wrote: > Web2py: the framework for everyone! > > or > > Web2py: for realists with deadlines! > > or > > Web2py: best thing since django/ruby! > > On Mar 14, 10:04 pm, VP wrote: > > > > > > > > > Another vote for dropping the word

[web2py] Re: tabular form

2011-03-15 Thread DenesL
Something like this: def names30(): import copy n=db.person.name ff=[] for i in range(0,30): nn=copy.copy(n) nn.name='%s%02i' %(nn.name,i) ff.append(nn) form=SQLFORM.factory(*ff) if form.accepts(request.vars, session, dbio=False): for v in form.vars.values(): if v

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Robert Kooij
If it's all too boring, we could spice things up! :) web2py: making web development sexy since 2007.

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Robert Kooij
- Try to avoid vagueness or bad marketing terms. Be factual. - Would not try to use more than three properties. (secure, scalabale, fast, easy to learn, productive, great community etc.) Pick the three that are most important. - Let's not forget the obvious, explain t

[web2py] Re: Another jerk!

2011-03-15 Thread villas
Hi bOOm_chef and Albert, Please note there is a new thread asking for proposals for the new tagline. http://groups.google.com/group/web2py/browse_thread/thread/5d4b6e38eac2260f/bf34c5abc1800c9d#bf34c5abc1800c9d

Re: [web2py] Re: Another jerk!

2011-03-15 Thread Albert Abril
I like the 'Getting Things Done' proposal since I'm a bit obsesive with productivity. On Wed, Mar 16, 2011 at 12:48 AM, b00m_chef wrote: > Web2py: the framework for everyone! > > or > > Web2py: for realists with deadlines! > > or > > Web2py: best thing since django/ruby! > > > > > > > On Mar 14,

[web2py] Re: Another jerk!

2011-03-15 Thread b00m_chef
Web2py: the framework for everyone! or Web2py: for realists with deadlines! or Web2py: best thing since django/ruby! On Mar 14, 10:04 pm, VP wrote: > Another vote for dropping the word "Enterprise".  I don't think the > word will make it any more convincing for "enterprise" people when >

[web2py] tabular form

2011-03-15 Thread JmiXIII
Hello, I need to key around 30 value for a single field at regular times. Using a loop form in a view doesn't fit this purpose as I will have to submit every form. I'd prefer a kind a tabular and a single submit button that would save the 30 values in the database. Can somebody give me a clue on

[web2py] Re: Small edits to web2py book

2011-03-15 Thread villas
Thanks Kevin I've done those. On Mar 15, 7:55 pm, Kevin Ivarsen wrote: > Villas - thanks for making those corrections. I went through to verify > the edits, and crossed them off in my document. > > Today I added many more suggested changes for chapters 5 thru 7 for > any editors interested in inc

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread luismurciano
Here's mine, just for fun. Web2py {{=response.subtitle}} Its an original tagline :P

Re: [web2py] Re: Paypal slice question

2011-03-15 Thread pbreit
I'm struggling to complete a re-write of the code to be more generic. Still working. And I'm going to try to put it in Massimo's tutorial format.

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread pbreit
I think "python all the way down" invites controversy since the main criticism of web2py is that it is not pythonic.

[web2py] Re: Can't connect to MySQL server on 'localhost'

2011-03-15 Thread Tamas
Hi Miguel, I had a similar problem on ubuntu linux recently and the solution was to enter the port number (which is usually 3306) in connect string. Try: mysql://username:password@localhost:port/test Cheers Tamas On Mar 16, 2:08 am, Miguel wrote: > Hello to all, I have created a new project u

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread psikahtik
Web2py: The python framework for speed, security and scalability.

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Jonathan Lundell
On Mar 15, 2011, at 2:42 PM, Massimo Di Pierro wrote: > > how about "designed for productivity"? Productivity. Security. Community. > > On Mar 15, 2:49 pm, mwolfe02 wrote: >> +1 Productivity by design >> >> On Mar 15, 2:13 pm, danto wrote: >> >>> 2011/3/15 mart >> Just throwing in my

Re: [web2py] Re: Bug? Opening session files from multiple processes

2011-03-15 Thread Jonathan Lundell
On Mar 15, 2011, at 12:17 PM, Corne wrote: > >> When you set your own session_id, does the corresponding session file always >> exist? > Yes, it does. I'm sure.. > >> If that's not an issue, you could try setting response.session_new = False >> before calling session.connect > I already tried t

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Massimo Di Pierro
how about "designed for productivity"? On Mar 15, 2:49 pm, mwolfe02 wrote: > +1 Productivity by design > > On Mar 15, 2:13 pm, danto wrote: > > > > > > > > > 2011/3/15 mart > > > > Just throwing in my 2 cents worth, > > > > Personally, I kind of like the that it says Enterprise, but as > > > me

[web2py] Re: Bug? Opening session files from multiple processes

2011-03-15 Thread Corne
> When you set your own session_id, does the corresponding session file always > exist? Yes, it does. I'm sure.. > If that's not an issue, you could try setting response.session_new = False > before calling session.connect I already tried that, and then it does work. The problem we are running i

Re: [web2py] Re: Paypal slice question

2011-03-15 Thread howesc
yes, you should be putting your paypal values in there. i abstracted them to a site-settings table so an admin could update them (and we could switch them easily between test and production values). make sense? cfh

[web2py] Dealing with BLOBs

2011-03-15 Thread Ross Peoples
I have been trying this for a while now and have had some serious problems with BLOBs. I have taken the DAL out of the equation by using executesql(). I am grabbing a picture blob from an existing database (each picture os about 35 kb). I am taking the blob and writing it to a file, but only the

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Pystar
+1 On Mar 15, 2:43 pm, Bruno Rocha wrote: > web2py - Code Less Create More! > -- > Bruno Rocha > [ About me:http://zerp.ly/rochacbruno] > > > > > > > > On Tue, Mar 15, 2011 at 8:04 AM, villas wrote: > > The web2py tagline is currently: 'Enterprise Web Framework'. > > > Massimo agrees that this m

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Joe Barnhart
IMNSHO, "Productivity by Design" sucks. It is vague, wishy-washy, and banal. It could be said of every web development tool from Apache to Zope. It fails to capture any of web2py's essential advantages. Massimo's offer of "rapid web development that scales" is closer to the mark because it at l

[web2py] Re: Can't connect to MySQL server on 'localhost'

2011-03-15 Thread Kevin Ivarsen
Miguel, MySQL can communicate over either TCP or a named pipe. It's possible that your MySQL server is only listening on the named pipe. I could imagine that the mysql command line client would connect successfully over this channel, but Python would try to connect to the TCP socket and fail. Try

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Anthony
I like "Productivity by Design" because it sounds catchy and includes the word "Productivity", but I'm sort of wondering what we mean with "by design". Does that imply we didn't accidentally create a productive framework but have done so with forethought "by design"? Or perhaps that web2py achi

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread mikech
I like the idea of rotating taglines. Instant gratification comes to mind.

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Kevin Ivarsen
I don't know how to fit it in elegantly, but wanted to offer the idea of relating Python's "batteries included" mantra to web2py. That's one thing that struck me about web2py early on - it gives you a lot of nice features right off the bat. Kevin On Mar 15, 3:49 pm, mwolfe02 wrote: > +1 Product

[web2py] Re: Small edits to web2py book

2011-03-15 Thread Kevin Ivarsen
Villas - thanks for making those corrections. I went through to verify the edits, and crossed them off in my document. Today I added many more suggested changes for chapters 5 thru 7 for any editors interested in incorporating them into the book. Many of them are small nitpicks, but the Validators

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread mwolfe02
+1 Productivity by design On Mar 15, 2:13 pm, danto wrote: > 2011/3/15 mart > > > > > > > > > > > Just throwing in my 2 cents worth, > > > Personally, I kind of like the that it says Enterprise, but as > > mentioned here, depends on who's reading it. This is my first try in > > world if open sou

Re: [web2py] Internet Explorer Issue

2011-03-15 Thread Bruno Rocha
in *base.css* for welcome app change input[type="text"], input[type="password"], select { height: 16px; } to input[type="text"], input[type="password"], select { height: 25px; } On Mon, Mar 14, 2011 at 9:12 PM, Ialejandro wrote: > Hi every body! I have some issues with Internet Expl

[web2py] Re: Squid caching, processor load balancing (via Cubicweb)

2011-03-15 Thread Anthony
FYI, Nginx + uWSGI is what DotCloud uses for its Python hosting (HAProxy for load balancing): http://docs.dotcloud.com/components/python/ On Tuesday, March 15, 2011 3:11:53 PM UTC-4, pbreit wrote: > I just switched from Cherokee to Nginx but have not investigated load > balancing yet. Is Rocket

[web2py] Re: Squid caching, processor load balancing (via Cubicweb)

2011-03-15 Thread pbreit
I just switched from Cherokee to Nginx but have not investigated load balancing yet. Is Rocket necessary? I have a Nginx/uWSGI setup. I posted my install Fabfile on another thread.

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread danto
2011/3/15 mart > Just throwing in my 2 cents worth, > > Personally, I kind of like the that it says Enterprise, but as > mentioned here, depends on who's reading it. This is my first try in > world if open source so the experience may speak to me differently > than let's say the younger crowed wh

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Massimo Di Pierro
I do not think the tagline should be a question. On Mar 15, 1:44 pm, mart wrote: > Just throwing in my 2 cents worth, > > Personally, I kind of like the that it says Enterprise, but as > mentioned here, depends on who's reading it. This is my first try in > world if open source so the experience

Re: [web2py] Re: Bug? Opening session files from multiple processes

2011-03-15 Thread Jonathan Lundell
On Mar 15, 2011, at 11:33 AM, Massimo Di Pierro wrote: > > Right now the session is a combination of client ip and a uuid. The > uuid prevents session hijacking. > > The ip serves two purposes: > - the server can find expired sessions more easily > - the apps the reject sessions coming from wrong

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread mart
Just throwing in my 2 cents worth, Personally, I kind of like the that it says Enterprise, but as mentioned here, depends on who's reading it. This is my first try in world if open source so the experience may speak to me differently than let's say the younger crowed who may be growing up with it.

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Massimo Di Pierro
LOL On Mar 15, 11:31 am, VP wrote: > Web2py:  The Web Framework for Pragmatists with Deadlines. > > (Don't ask how I came up with that. :-))

[web2py] Re: Bug? Opening session files from multiple processes

2011-03-15 Thread Massimo Di Pierro
Right now the session is a combination of client ip and a uuid. The uuid prevents session hijacking. The ip serves two purposes: - the server can find expired sessions more easily - the apps the reject sessions coming from wrong ip thus further protecting against hijacking. On Mar 15, 11:55 am, J

[web2py] Re: Squid caching, processor load balancing (via Cubicweb)

2011-03-15 Thread Massimo Di Pierro
web2py user Jay at PyCon really convinced to look into nginex. It is an amazing server, fast, easy to configure and can do load balancing: http://wiki.nginx.org/NginxHttpUpstreamModule Just start multiple web2py instances with rocket (on the same machine or different machines) and add to the ngine

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Martín Mulone
+1 2011/3/15 Bruno Rocha > web2py > Productivity by design > web2py is an open-source full stack web framework for rapid development > that scales > > > > On Tue, Mar 15, 2011 at 2:45 PM, pbreit wrote: > >> I like both "Productivity by design" and "Rapid development that scales". >> >> Also not

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Bruno Rocha
web2py Productivity by design web2py is an open-source full stack web framework for rapid development that scales On Tue, Mar 15, 2011 at 2:45 PM, pbreit wrote: > I like both "Productivity by design" and "Rapid development that scales". > > Also note that Django and Rails, at least, also have a

[web2py] Re: Squid caching, processor load balancing (via Cubicweb)

2011-03-15 Thread pbreit
Isn't load balancing usually handle by the web server or a load balancer? Can the framework really address load balancing effectively? Would be cool if it could, of course.

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread pbreit
I like both "Productivity by design" and "Rapid development that scales". Also note that Django and Rails, at least, also have a short description. Django The Web framework for perfectionists with deadlines Django makes it easier to build better Web apps more quickly and with less code. Rails W

Re: [web2py] Re: Bug? Opening session files from multiple processes

2011-03-15 Thread Jonathan Lundell
On Mar 15, 2011, at 7:15 AM, Corne wrote: > > We (again) looked deeper into what is really happening; and it is yet > different. > > What we ran into is the following: > We tried to set a session_id our self based on information in the url, > which in this case resulted in calling the session con

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Anthony
I haven't come up with any great tagline ideas of my own yet, but as we generate ideas, it might be useful to first think about some of the distinctive attributes and goals of web2py and its community. Here are some things I think about when I think of web2py: - Easy (to set up, learn, use

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread VP
Web2py: The Web Framework for Pragmatists with Deadlines. (Don't ask how I came up with that. :-))

Re: [web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Jonathan Lundell
On Mar 15, 2011, at 6:00 AM, Ross Peoples wrote: > I just noticed that the sessions are still being saved, which may be why I > didn't see any performance improvement. I deleted all of the sessions inside > the sessions folder, stopped and restarted the server, then visited the > /default/index

[web2py] Re: Squid caching, processor load balancing (via Cubicweb)

2011-03-15 Thread VP
Feature-wise, web2py is pretty complete. I think the next milestones of web2py should be on performance and scalability; (web2py is reaching 2.0 sooner or later, right?) I would like to see stronger built-in support for smart caching and load balancing (distributing work across different servers)

[web2py] Re: Cron doesn't work for me...

2011-03-15 Thread VP
I answered your email. Briefly (on Linux/Unix): + Use "crontab -l" to see your cron entries. + Use "crontab -e" to create/edit cron entries. + Google / wikipedia for cron syntax. To execute a URL (e.g. web2py controller, you can either use wget or curl). On Mar 15, 8:05 am, Tito Garrido

[web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Ross Peoples
Ok, that makes sense. My app connects to a MSSQL database on another machine, so that explains the response times > 100 ms for me. So would setting pool_size to 1 on the DAL keep at least one database connection open for future page views and speed things up?

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Tom Atkins
changing my +1 - now liking "Productivity by design"! On 15 March 2011 15:39, Bruno Rocha wrote: > On Tue, Mar 15, 2011 at 12:35 PM, Jonathan Lundell wrote: > >> On Mar 15, 2011, at 8:12 AM, Kevin Ivarsen wrote: >> > >> > So far I like "Productivity by design". >> >> I do too. It speaks to web2p

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Bruno Rocha
On Tue, Mar 15, 2011 at 12:35 PM, Jonathan Lundell wrote: > On Mar 15, 2011, at 8:12 AM, Kevin Ivarsen wrote: > > > > So far I like "Productivity by design". > > I do too. It speaks to web2py's strongest point. > > I'm not happy with 'enterprise' because to me it reeks of Enterprise Java > ("Java

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Jonathan Lundell
On Mar 15, 2011, at 8:12 AM, Kevin Ivarsen wrote: > > So far I like "Productivity by design". I do too. It speaks to web2py's strongest point. I'm not happy with 'enterprise' because to me it reeks of Enterprise Java ("Java is the new COBOL"). I'd be happier with 'scales' if we had deployed, l

[web2py] Re: SELECT won't remember selected option

2011-03-15 Thread Andrew Buchan
Thanks Massimo, Nothing is actually wrong with Val, it's a float obtained from a row. After a fair bit of ploughing, I found that the issue is to do with the list of [OPTION...] for the SELECT control. If you generate a list of [,] from a function like I did, and reuse that list in multiple SE

[web2py] non redirection when authentication fails

2011-03-15 Thread Joaquin Orbe
Hi All, I have "two kind of users" in my application: admins and users. Each of them has different index function which I've decored, that's why I get these URLs when trying to login: * admins login through http://127.0.0.1:8000/myapp/default/user/login?_next=/myapp/admin/index * common users log

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Kevin Ivarsen
So far I like "Productivity by design". Although it depends on what the goals of a tagline should be. If you want to make the framework discoverable through search engines, it might be more important to include words like python / mvc / web framework. The web2py name by itself has the strength of

[web2py] Can't connect to MySQL server on 'localhost'

2011-03-15 Thread Miguel
Hello to all, I have created a new project using the web wizard, for some unknown reason the mysql connection is not working, this is the uri im using: mysql://cmts_monitor:cmtsTigoHome@localhost/cmts_monitor and this is the error i got: Traceback (most recent call last): File "/home/www-data/

Re: [web2py] Re: Dynamic generation model

2011-03-15 Thread Manuele Pesenti
Dear Jose, I think you posted a very interesting example... how have you resolved the problem of the spatial support by web2py? I mean the fields of the tables you are going to create dynamically are the ones of a tipically spatial extension of a db... are they supported by web2py DAL? Can you

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Massimo Di Pierro
How about? "rapid web development that scales" I think we should use "rapid development" vs "agile" since the latter sometimes has a negative connotation. Massimo On Mar 15, 9:36 am, Tom Atkins wrote: > On 15 March 2011 13:43, Bruno Rocha wrote: > > > web2py - Code Less Create More! > > +1

Re: [web2py] My new favorite web2py tweet

2011-03-15 Thread Bruno Rocha
Thats a new tagline proposal! *web2py - thing beautiful of God! * LOL On Tue, Mar 15, 2011 at 11:29 AM, Anthony wrote: > http://twitter.com/#!/dmaffioletti/status/47658179693252609 > >

[web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Massimo Di Pierro
The speedup mentioned applies to do-nothing apps. In particular to apps that do not use database. The welcome app does lots of stuff even if you do not use. To start with it opens the sqlite database. Although queries are fast it takes just 30ms to open the db and lock it in my tests. Anyway, you

Re: [web2py] Proposals for New Tagline

2011-03-15 Thread Tom Atkins
On 15 March 2011 13:43, Bruno Rocha wrote: > web2py - Code Less Create More! > +1 (and then mention 'full-stack python web framework...')

[web2py] My new favorite web2py tweet

2011-03-15 Thread Anthony
http://twitter.com/#!/dmaffioletti/status/47658179693252609

Re: [web2py] Proposals for New Tagline

2011-03-15 Thread contatogilson...@gmail.com
> > web2py - Code Less Create More! +1 _ *Gilson Filho* *Web Developer http://gilsondev.com*

[web2py] Re: Bug? Opening session files from multiple processes

2011-03-15 Thread Corne
We (again) looked deeper into what is really happening; and it is yet different. What we ran into is the following: We tried to set a session_id our self based on information in the url, which in this case resulted in calling the session connect code (where it went wrong) twice per request. In ca

Re: [web2py] Proposals for New Tagline

2011-03-15 Thread Bruno Rocha
web2py - Code Less Create More! -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] On Tue, Mar 15, 2011 at 8:04 AM, villas wrote: > The web2py tagline is currently: 'Enterprise Web Framework'. > > Massimo agrees that this might be improved and this thread is to > solicit suggestions. Ide

[web2py] Re: greetings from PyCon

2011-03-15 Thread Mengu
well, then i'll wait. :) On Mar 15, 2:25 pm, Massimo Di Pierro wrote: > I have the code example so I will post it. I just need to add voice. > > On Mar 15, 3:03 am, Mengu wrote: > > > now that's sad massimo. i was extremely anxious to see how you built > > the facebook clone and how people were

[web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Ross Peoples
No form, I have customized the layout.html file, but nothing that uses session or forms. Here is the controller: def index(): """ example action using the internationalization operator T and flash rendered by views/default/index.html or views/generic.html """ response.flash =

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread Martín Mulone
I will think a new one. Some words or ideas perhaps to include: "python", "MVC", "Full-stack", "Framework", "True MVC", "RAD", "Fast development", "Less development more creation", "Easy to learn". 2011/3/15 Mengu > what about generating such taglines and displaying them randomly? > > On Mar 15,

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Mengu
what about generating such taglines and displaying them randomly? On Mar 15, 2:54 pm, "Jason (spot) Brower" wrote: > Hmm.. > "Twice as fast to code in than Django and four time easier." > Ok ok, it sucks, but it's true! > Let me think... how about: > Productivity by design. > Think about the page

[web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Massimo Di Pierro
You must find the logic in your code that is changing the session object. There must be something. Do you have a form in the page? On Mar 15, 8:00 am, Ross Peoples wrote: > I just noticed that the sessions are still being saved, which may be why I > didn't see any performance improvement. I delet

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Mengu
instead of "the framework that gets things done" i suggest "get your app done" On Mar 15, 1:04 pm, villas wrote: > The web2py tagline is currently: 'Enterprise Web Framework'. > > Massimo agrees that this might be improved and this thread is to > solicit suggestions.  Ideally suggestions would en

Re: [web2py] Re: Cron doesn't work for me...

2011-03-15 Thread Tito Garrido
Hi VP! How did you use the system cron? I'm wondering how can I specify the function that I want to execute... Regards, Tito On Tue, Mar 15, 2011 at 1:53 AM, VP wrote: > Cron didn't work for me either, so I used the system cron. > > One question I have though is why "root" when web2py is run

[web2py] Re: Cant make a simple database

2011-03-15 Thread Ross Peoples
Since most orders contain line items, you might consider making an order_header table that stores information about the order, then a order_detail table that stores the information about each line item.

[web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Ross Peoples
I just noticed that the sessions are still being saved, which may be why I didn't see any performance improvement. I deleted all of the sessions inside the sessions folder, stopped and restarted the server, then visited the /default/index page that flashes 'You are successfully running web2py.'

Re: [web2py] Re: Cant make a simple database

2011-03-15 Thread Jason (spot) Brower
I don't do that. I would rather have orders than t_order how about the_order :P BR, Jason On Thu, Mar 10, 2011 at 6:13 PM, pbreit wrote: > Yeah I saw that. What are people's thoughts on that? It seems like clutter > to me but can definitely mak things easier in places.

Re: [web2py] Proposals for New Tagline

2011-03-15 Thread Jason (spot) Brower
Hmm.. "Twice as fast to code in than Django and four time easier." Ok ok, it sucks, but it's true! Let me think... how about: Productivity by design. Think about the page not the code! Releiving finger ache by a factor of 2. Bringing python and html together. Framework for productive web applicaton

[web2py] Re: Major Speedup in trunk 10x

2011-03-15 Thread Ross Peoples
I did some testing on my app, which still implements the welcome app's default/index function that shows Hello World. Here are my results: BEFORE TRUNK UPDATE - CONCURRENCY 1 === Time taken for tests: 108 seconds Requests per second: 9.25 Time per request: 108.138

[web2py] Re: greetings from PyCon

2011-03-15 Thread Massimo Di Pierro
I have the code example so I will post it. I just need to add voice. On Mar 15, 3:03 am, Mengu wrote: > now that's sad massimo. i was extremely anxious to see how you built > the facebook clone and how people were impressed. > > On Mar 14, 9:21 pm, Massimo Di Pierro > wrote: > > > > > > > > > Th

[web2py] Re: Dynamic generation model

2011-03-15 Thread toan75
Hi Massimo Di Pierro, How do get "requires", "defaut", "represent",... from field: db.mytable.myfield for create string: "Field('myfield', requires=..., default=..., represent=...)" ? Thanks.

[web2py] Proposals for New Tagline

2011-03-15 Thread villas
The web2py tagline is currently: 'Enterprise Web Framework'. Massimo agrees that this might be improved and this thread is to solicit suggestions. Ideally suggestions would encapsulate the 'spirit' of web2py or stress a feature(s) and simply make it seem more attractive to new users. As an idea,

[web2py] Re: greetings from PyCon

2011-03-15 Thread Mengu
now that's sad massimo. i was extremely anxious to see how you built the facebook clone and how people were impressed. On Mar 14, 9:21 pm, Massimo Di Pierro wrote: > The second part was not recorded because I forgot to press the button > [record] after the break and because the people who paid to

[web2py] Squid caching, processor load balancing (via Cubicweb)

2011-03-15 Thread Tom Atkins
Just looking at CubicWeb via the link given on Reddit. Looks like an interesting project - amazing what's out there that I've never heard of! This blog post: http://www.cubicweb.org/blogentry/1484253 describes an interesting way of using multi core processors to load balance and solves session