Re: [web2py] web2py.com is down

2012-10-19 Thread Luther Goh Lu Feng
Seems up for me On Saturday, October 20, 2012 2:52:15 AM UTC+8, Francisco Costa wrote: > > confirm, web2py.com is down > > On Friday, October 19, 2012 7:48:25 PM UTC+1, Richard wrote: >> >> As in the object >> >> Richard >> > --

[web2py] Re: pythondiary

2012-10-17 Thread Luther Goh Lu Feng
Great and balanced review imho. Submitted to HN http://news.ycombinator.com/item?id=4666756 On Thursday, October 18, 2012 5:58:24 AM UTC+8, Massimo Di Pierro wrote: > > http://www.pythondiary.com/reviews/web2pyV2.0.html > --

[web2py] Re: Web2Py + OAuth2 Server

2012-10-13 Thread Luther Goh Lu Feng
Seems that Oauth 2.0 is finalised as an official standard in IETF RFCS 6749 and 6750: http://dickhardt.org/2012/10/oauth-2-0/ On Monday, August 20, 2012 9:33:10 PM UTC+8, João Alves wrote: > > Hello, > > I didn't develop an OAuth 2.0 server to the web2py's core but I wrote a > module instead. Yo

[web2py] [OT] Editra Editor

2012-10-11 Thread Luther Goh Lu Feng
I discovered Editra Editor and found it pleasant to use and seemingly a complete replacement for Komodo Edit (if anyone uses that). Comes with various useful plugins as well. Fyi. http://editra.org/ http://editra.org/plugins --

[web2py] [OT] Ubuntu 12.10 will no longer ship with Python 2

2012-09-07 Thread Luther Goh Lu Feng
FYI: Ubuntu 12.10 Quantal Quetzal says bye bye to Python 2. Take note if you run web2py and intend to use 12.10. I am not sure if there are ways to get Python 2 installed though. "For 12.10, we intend to ship only Python 3 with the Ubuntu desktop image, not Python 2. Beta-1 continues this proce

[web2py] Re: [OT} Has anyone tried Ninja IDE before?

2012-09-06 Thread Luther Goh Lu Feng
bug > me.. > > On Thursday, September 6, 2012 11:16:56 AM UTC+2, Luther Goh Lu Feng wrote: >> >> I just discovered this FOSS project and wonder if anyone has used it and >> is able to give a quick opinion about it. >> >> http://ninja-ide.org/ >> > --

[web2py] [OT} Has anyone tried Ninja IDE before?

2012-09-06 Thread Luther Goh Lu Feng
I just discovered this FOSS project and wonder if anyone has used it and is able to give a quick opinion about it. http://ninja-ide.org/ --

Re: [web2py] Re: Twitter account for @web2py

2012-09-04 Thread Luther Goh Lu Feng
Page liked! On Wednesday, September 5, 2012 3:54:26 AM UTC+8, rochacbruno wrote: > > www.facebook.com/web2py --

Re: [web2py] Re: Twitter account for @web2py

2012-09-04 Thread Luther Goh Lu Feng
avid J wrote: >> >> Don't tweet commit messages, that is really very annoying. >> >> Releases are fine. >> >> >> >> On 9/4/12 11:21 AM, Massimo Di Pierro wrote: >> >> I cannot figure out how to sign up for cotweet. :-( >> >>

Re: [web2py] Re: Twitter account for @web2py

2012-09-03 Thread Luther Goh Lu Feng
> On Mon, Sep 3, 2012 at 5:08 PM, Massimo Di Pierro > > > wrote: > >> No particular reason. I am planning to get back to it. Any suggestions on >> how to make it more active? >> >> >> On Monday, 3 September 2012 14:32:23 UTC-5, Luther Goh Lu Feng wr

[web2py] Twitter account for @web2py

2012-09-03 Thread Luther Goh Lu Feng
I just noticed that the twitter account has been very inactive :o Is there any reason for that? Anyway to improve the situation? https://twitter.com/web2py --

[web2py] Re: How to get started with web2py's Debug? - very basic questions

2012-08-20 Thread Luther Goh Lu Feng
I am also trying the "toggle breakpoint" function I click on the button and it seems to just hang my web2py application. This is very much off an almost fresh web2py app created On Tuesday, August 14, 2012 4:35:57 AM UTC+8, Rob_McC wrote: > > Anthony: > > *>It sounds like he actually op

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-08-03 Thread Luther Goh Lu Feng
In django, the derivaties are called Open Source Django Projects and described as stand-alone applications written using Django. They also have classifications into categories based on functionalities in the list. Is this something that can be useful to web2py? https://code.djangoproject.com/wi

[web2py] Re: Giving a talk promoting web2py over Django

2012-08-01 Thread Luther Goh Lu Feng
Backward compatibilty is a strong plus for me especially for very old sites that you leave idle for a long time and then want to upgrade to the latest web2py version On Thursday, August 2, 2012 12:22:57 AM UTC+8, Anthony wrote: > > http://www.quora.com/What-are-the-advantages-of-web2py-over-

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-08-01 Thread Luther Goh Lu Feng
I think the drupal site really presents their case studies and distributions very well, each with tagging and blog posts. Web2py probably can learn from it... Probably post this on a separate thread On Wednesday, August 1, 2012 11:40:15 PM UTC+8, Anthony wrote: > > Please refer to what Drupal

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-08-01 Thread Luther Goh Lu Feng
On Wednesday, August 1, 2012 10:40:20 PM UTC+8, Anthony wrote: > > On Wednesday, August 1, 2012 9:50:07 AM UTC-4, Massimo Di Pierro wrote: >> >> So perhaps poweredby apps should have a flag and flagged apps should >> always be on top. >> > > That is already the case, though we don't make a dist

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Luther Goh Lu Feng
Hmmm my first thought would be perhaps an iframe or javascript redirect? On Wednesday, August 1, 2012 11:10:40 AM UTC+8, Alec Taylor wrote: > > On Wednesday, August 1, 2012 4:44:46 AM UTC+10, Lucas R. Martins wrote: >> >> You can generate and use your views and serve it as a common webapp. >> Jus

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Luther Goh Lu Feng
https://groups.google.com/forum/?fromgroups#!searchin/phonegap/reject/phonegap/Nw8OcAzOyw0/r1FBoGoz2wkJ I think Apple might have issues if the views are generated by the server. Maybe best to clarify in the phonegap mailing list? On Wednesday, August 1, 2012 2:44:46 AM UTC+8, Lucas R. Martins wr

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Luther Goh Lu Feng
:-( >>> Now I am trying put some of that logic into auth.wiki() >>> >>> >>> >>> >>> On Tuesday, 31 July 2012 10:21:24 UTC-5, Luther Goh Lu Feng wrote: >>>> >>>> I wish to share that imho one of the strengths of web2py is

[web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Luther Goh Lu Feng
Unless I am mistaken, I do not think this is possible. You should have most of your html css in the phonegap app and let your web2py server be a RESTful service On Wednesday, August 1, 2012 1:17:28 AM UTC+8, Alec Taylor wrote: > > Practically just finished my little proof-of-concept social-netwo

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Luther Goh Lu Feng
roblem is that different people > expect different things from a CMS. Some time ago I posted code for web2cms > but nobody has contributed to it. :-( > Now I am trying put some of that logic into auth.wiki() > > > > > On Tuesday, 31 July 2012 10:21:24 UTC-5, Luther Goh

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Luther Goh Lu Feng
I wish to share that imho one of the strengths of web2py is its dedication towards backwards compatibility. This is something not frequently found in other frameworks, eg in Django or in Drupal. Therefore, I believe that if a web2py project, be it CMS or otherwise gains a sufficient following,

Re: [web2py] web2py deployment: Watchup

2012-07-08 Thread Luther Goh Lu Feng
Please have it released in the Singapore Appstore! On Sunday, July 8, 2012 10:06:36 PM UTC+8, netcode wrote: > > very cool > > On Sun, Jul 8, 2012 at 1:16 AM, Jonathan Lundell wrote: > >> On 7 Jul 2012, at 5:15 PM, Jonathan Lundell wrote: >> > >> > I've written an iPad (only, US-only for now) app,

Re: [web2py] Re: Web Development Introduction Based On Web2py

2012-07-07 Thread Luther Goh Lu Feng
Still down :( On Friday, July 6, 2012 1:53:13 AM UTC+8, Richard wrote: > > Still down! > > Richard > > On Thu, Jul 5, 2012 at 2:27 AM, dave wrote: > >> the site is down >> >> Internal Server Error >> >> The server encountered an internal error or misconfiguration and was >> unable to complete y

Re: [web2py] Re: Minimum memory requirements?

2012-07-03 Thread Luther Goh Lu Feng
At some point, will it be beneficial to have fabric scripts to setup web2py on webhosts? http://fabfile.org On Wednesday, July 4, 2012 12:27:15 AM UTC+8, Vasile Ermicioi wrote: > > 1) > go to https://my.webfaction.com/applications and create an application, > uwsgi for e.g. > App category: cus

[web2py] Re: Fw: [security-77] Secure Coding (web app) Competition

2012-03-06 Thread Luther Goh Lu Feng
Ah whoops > > From: Robert Kooij >To: web2py@googlegroups.com >Cc: Luther Goh Lu Feng >Sent: Tuesday, March 6, 2012 8:37 PM >Subject: Re: Fw: [security-77] Secure Coding (web app) Competition > > >This is a Java contest, web2py/

[web2py] Fw: [security-77] Secure Coding (web app) Competition

2012-03-05 Thread Luther Goh Lu Feng
Fyi for web2py developers - Forwarded Message - > From: thomas lim > To: security...@meetup.com > Cc: > Sent: Tuesday, February 28, 2012 10:39 AM > Subject: [security-77] Secure Coding (web app) Competition > > Hi readers of this mailing list > > There will be a Secure Coding (Web Ap

[web2py] New python web framework: Brubeck

2011-07-16 Thread Luther Goh Lu Feng
>From the website http://brubeck.io/: Brubeck is a flexible Python web framework that aims to make the process of building scalable web services easy. The Brubeck model resembles what companies build when they operate at large scale, but working with it will feel like what you're used to from oth

[web2py] Re: Python 3 and the future of web2py

2011-07-15 Thread Luther Goh Lu Feng
I'm all for having not spending effort to move to Python 3 due to resource constraints etc. However, I am curious as to whether having a minimum viable python 3 port will help bring more eyeballs/users to web2py, since hardly any python web frameworks have moved to Python 3. The main development

[web2py] Re: Social network plug-in

2011-07-03 Thread Luther Goh Lu Feng
Looking through the source code, I deduce that db(db.connection.source==auth.user_id) (db.connection.target==request.args(1)).delete() is the same as db((db.connection.source==auth.user_id)) & (db.connection.target==request.args(1))).delete() Is this new syntax? I did not recall reading it in

[web2py] Best way to send a web2py patch

2011-07-03 Thread Luther Goh Lu Feng
Is there a recommended way to send a patch for web2py? I was looking for something like github's equivalent of pull request, but did not seem to find it. It will be great if this is documented on the web2py website, if not already done so. The following is just a fix to improve readability in the

[web2py] Re: ekjaa

2011-06-23 Thread Luther Goh Lu Feng
http://www.ekjaa.org/Ekjaa/about/team_Members On Jun 23, 9:03 pm, Massimo Di Pierro wrote: > How is behind it? > > http://www.ekjaa.org/ > > Really good job! > > massimo

[web2py] Re: Thoughts on Node.js

2011-06-13 Thread Luther Goh Lu Feng
On Jun 14, 6:01 am, ra3don wrote: > I assume most of you have heard about Node.js by now. If > not,http://nodejs.org/ > > What are everyone's thoughts/feelings about Node.js? See http://groups.google.com/group/web2py/browse_thread/thread/bdcbb16593902050/51a63bfd1313a77d?lnk=gst&q=erlang#

[web2py] Re: My talk at ChiPy about new features

2011-06-13 Thread Luther Goh Lu Feng
on web2py, except > for few some web2py specific functionalities). > > On Jun 12, 1:38 pm, Anthony wrote: > > > > > > > > > On Sunday, June 12, 2011 9:45:04 AM UTC-4, Luther Goh Lu Feng wrote: > > > > Hi I have created the entry under ORM > &

[web2py] Re: My talk at ChiPy about new features

2011-06-12 Thread Luther Goh Lu Feng
The reason I did not include explicit association with web2py is because I worry that people may mistaken that DAL is not standalone outside of web2py. Is it a valid concern? On Jun 13, 2:38 am, Anthony wrote: > On Sunday, June 12, 2011 9:45:04 AM UTC-4, Luther Goh Lu Feng wrote: > > &g

[web2py] Re: My talk at ChiPy about new features

2011-06-12 Thread Luther Goh Lu Feng
Hi I have created the entry under ORM http://wiki.python.org/moin/HigherLevelDatabaseProgramming Pls advise if it is too verbose. On Jun 12, 7:10 am, Massimo Di Pierro wrote: > I think so. WOuld you kindly app a link to the file in the mercurial > repo? > > On Jun 11, 5:40 pm, L

[web2py] Re: My talk at ChiPy about new features

2011-06-11 Thread Luther Goh Lu Feng
On Jun 11, 11:29 pm, Massimo Di Pierro wrote: > http://blip.tv/carlfk/new-web2py-features-5264464 > > This talk was kind of improvised. During the talk I discovered a bug > in 1.96.4 and it is fixed in trunk. Since it is possible to use DAL as outside of web2py, does it deserve an entry in http

[web2py] Re: Offtopic: Who's at Pycon APAC?

2011-06-09 Thread Luther Goh Lu Feng
As pointed out by Massimo, the site is built with conf2py http://code.google.com/p/conf2py/ On Jun 9, 6:06 pm, Martín Mulone wrote: > Very Nice!. > > 2011/6/9 Luther Goh Lu Feng > > > Event starts today > > >http://apac.pycon.org/ > > > (built with

[web2py] Offtopic: Who's at Pycon APAC?

2011-06-08 Thread Luther Goh Lu Feng
Event starts today http://apac.pycon.org/ (built with web2py goodness too!)

[web2py] [Discuss] LAMP like frameworks are dying. Time for the javascript age

2011-04-09 Thread Luther Goh Lu Feng
I got this link off twitter, and would like to share this article with the community as I felt that it is a good read for web developers. http://metamarketsgroup.com/blog/node-js-and-the-javascript-age/ "Three months ago, we decided to tear down the framework we were using for our dashboard, Pyth

[web2py] Re: Gluon/Compiz conflict in Ubuntu 11.04

2011-04-07 Thread Luther Goh Lu Feng
A really really quick suggestions that is temp workaround: See if the issue persists when running Ubuntu 11.04 server edition. If necessary, in 11.04 desktop, install virtualbox and then setup a VM with Ubuntu 11.04 server edition. Now can more experienced pros give better solutions please. On A

[web2py] Re: Web2py & GAE integration

2011-03-27 Thread Luther Goh Lu Feng
Check your python version that you are running on. That tripped me up badly the 1st time I used GAE with web2py On Mar 27, 7:10 am, Shark wrote: > We have troubles in GAE and web2py integration in our graduation > project > We tried many tutorials in the web and we fails so I hope you can help >

[web2py] Re: online documentation is down

2011-03-16 Thread Luther Goh Lu Feng
Confirmed On Mar 16, 8:28 pm, Anthony wrote: > Same here.

[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: DAL new syntax RFC

2011-03-04 Thread Luther Goh Lu Feng
I too like the 'default' syntax much better than the new one. It feels more readable. If the following is feasible, will it be a better solution? Field('name', r=F,w=F) Field('name', d='value') On Mar 5, 7:50 am, Massimo Di Pierro wrote: > think of a dot a False. Two does r and w are false, o

[web2py] Re: web2py on Quora

2011-03-02 Thread Luther Goh Lu Feng
Wow! web2py even has a webpage at http://pythonsecurity.tumblr.com/post/807089821/web2py-a-framework-that-cares-about-security Anyway, I just came across this http://www.owasp.org/index.php/Projects/OWASP_Secure_Web_Application_Framework_Manifesto/Releases/Current/Manifesto I guess it is a read f

[web2py] Re: GSoC

2011-02-21 Thread Luther Goh Lu Feng
Inspired by http://groups.google.com/group/web2py/browse_thread/thread/cfb0ed89924c3b5e# I wonder if it is possible to provide performance analytics of some sorts in web2py? If it is, I think it could be a worthwhile GSOC project. On Feb 17, 7:03 am, Massimo Di Pierro wrote: > We need proposals

[web2py] Re: App profiling?

2011-02-21 Thread Luther Goh Lu Feng
Check out http://newrelic.com/ It was shared at a local python meetup by a new relic developer working on a python port. However, web2py is not at the top of his priorities at the moment, Django is. On Feb 19, 10:43 pm, pbreit wrote: > Do we have anything similar to these php tools? > > http://p

[web2py] Re: App profiling?

2011-02-21 Thread Luther Goh Lu Feng
Check out http://newrelic.com/ Though they currently do not support python web apps, but a presenter at my local python meetup grp shared that he is working on a python port at New Relic. However, Django will be the first framework to work with the port. He also mentioned web2py, but I think that

[web2py] Resizing images that are already uploaded.

2011-02-18 Thread Luther Goh Lu Feng
I have many images that are already uploaded. I would like to have a way to resize these images proportionately in the view. The original images may or may not be modified. Any ideas how this can be achieved?

[web2py] Re: Web2py and Sencha (Extjs)

2011-02-11 Thread Luther Goh Lu Feng
On Feb 12, 1:53 am, mikech wrote: > Extjs and Sencha just seem more complete UI element wise.   Their table > tools seem very powerful.  It is pricey, but for business applications this > shouldn't be a problem. Another mobile framework is http://joapp.com/

[web2py] Re: Django vs web2py pain points

2011-02-07 Thread Luther Goh Lu Feng
tinue to use web2py for my other projects :) On Feb 8, 3:18 am, Albert Abril wrote: > @Luther Goh Lu Feng : Keep us informed. ;) > > On Mon, Feb 7, 2011 at 7:37 PM, Luther Goh Lu Feng wrote: > > > > > > > > > Thanks for the feedback everyone. I am happy to hear b

[web2py] Re: Django vs web2py pain points

2011-02-07 Thread Luther Goh Lu Feng
Thanks for the feedback everyone. I am happy to hear balanced view points. For the record, we have decided to go along with django for now, doing paired programming. My current impression of django is that it does seem much more verbose than web2py. I also miss the fact that I do not need to confi

[web2py] Re: Off Topic: HTML5 webapps with Google Closure, Clojure and NoSQL db's

2011-02-06 Thread Luther Goh Lu Feng
I am a bit curious why you went with Closure instead of GWT (with or without pyjamas). Were there specific reasons you could share? On Dec 12 2010, 5:14 am, dspiteself wrote: > It is not public yet, but it is in trial use by handful of offices. It > is a commercial product so the source would not

[web2py] Re: Django vs web2py pain points

2011-02-06 Thread Luther Goh Lu Feng
On Feb 7, 3:54 am, Jonathan Lundell wrote: > On Feb 6, 2011, at 11:40 AM, Luther Goh Lu Feng wrote: > > > > > Is there an equivalent > > tohttp://docs.djangoproject.com/en/dev/ref/models/fields/#urlfield > > in web2py? > > > If not, how does one validate

[web2py] Re: Django vs web2py pain points

2011-02-06 Thread Luther Goh Lu Feng
Is there an equivalent to http://docs.djangoproject.com/en/dev/ref/models/fields/#urlfield in web2py? If not, how does one validate an external url that is to be stored in the database?

[web2py] Django vs web2py pain points

2011-02-06 Thread Luther Goh Lu Feng
Hi all, I am about to have a constructive discussion about web2py vs django with a team member of mine before we decide whether to implement a project. He is an expert with django while I consider myself an intermediate web2py user. This is not a flamebait, but I would like to mainly hear pain po

[web2py] Taking a look at angularjs

2011-02-05 Thread Luther Goh Lu Feng
I am trying to use web2py to build a SPA http://en.wikipedia.org/wiki/Single-page_application Along the way, I discovered angularjs http://angularjs.org/ I thought that it has some really forward thinking that web2py developers should take a look to see if there is any good ideas to learn from or

[web2py] Re: Using mysqldb instead of pymysql

2011-01-14 Thread Luther Goh Lu Feng
To test if the issue is with pymysql, you could edit the dal file to use mysqldb http://code.google.com/p/web2py/source/diff?spec=svnfc75444ca55590835b4d0dc0e6c06a85e3f282a8&r=fc75444ca55590835b4d0dc0e6c06a85e3f282a8&format=side&path=/gluon/dal.py On Jan 13, 11:31 am, drayco wrote: > I need that

[web2py] Re: What is queue.yaml

2011-01-12 Thread Luther Goh Lu Feng
On Jan 12, 11:58 pm, Jonathan Lundell wrote: > On Jan 12, 2011, at 1:29 AM, Luther Goh Lu Feng wrote: > > > > > Looking at the source, I > > seehttp://code.google.com/p/web2py/source/browse/queue.yaml > > and wonder what it is used for. Any ideas? > > h

[web2py] Re: Using mysqldb instead of pymysql

2011-01-12 Thread Luther Goh Lu Feng
Btw, is there a link I can read about pymysql being faster and more portable? On Jan 12, 10:47 pm, Massimo Di Pierro wrote: > that should do it. but why? pymysql is faster and more portable. > > On Jan 12, 8:38 am, Luther Goh Lu Feng wrote: > > > > > > > > >

[web2py] Re: Using mysqldb instead of pymysql

2011-01-12 Thread Luther Goh Lu Feng
Anyway these are some of the open pymysql issues http://code.google.com/p/pymysql/issues/list On Jan 12, 11:02 pm, Luther Goh Lu Feng wrote: > There are some concerns that pymysql might not be ready for production > yet. Nothing specific. But mysqldb is definitely stable and tested. >

[web2py] Re: Using mysqldb instead of pymysql

2011-01-12 Thread Luther Goh Lu Feng
There are some concerns that pymysql might not be ready for production yet. Nothing specific. But mysqldb is definitely stable and tested. On Jan 12, 10:47 pm, Massimo Di Pierro wrote: > that should do it. but why? pymysql is faster and more portable. > > On Jan 12, 8:38 am, Luther Go

[web2py] Using mysqldb instead of pymysql

2011-01-12 Thread Luther Goh Lu Feng
I upgraded a project from 1.87.3 to 1.91.6. Pymysql is one of the new features, replacing mysqldb. I would like to ask if it is possible to do an override and use mysqldb instead of pymysql. If this is not possible, would editing gluon/dal.py to revert the patch be a possible hack? http://code.goo

[web2py] What is queue.yaml

2011-01-12 Thread Luther Goh Lu Feng
Looking at the source, I see http://code.google.com/p/web2py/source/browse/queue.yaml and wonder what it is used for. Any ideas?

[web2py] Re: (OT) Choosing a javascript mvc framework

2011-01-11 Thread Luther Goh Lu Feng
Tks for the suggestions. I should be going with angularjs http://misko.hevery.com/2010/07/29/a-radically-different-way-of-building-ajax-apps/ http://angularjs.org/ On Jan 12, 2:12 am, pbreit wrote: > SproutCore, JavaScripMVC and TrimPath come up a lot.

[web2py] Re: how to show multiple controller's views on the same page?

2011-01-11 Thread Luther Goh Lu Feng
You will want to look at components in Chapter 13 On Jan 12, 5:44 am, Massimo Di Pierro wrote: > I think you want the LOAD helper. > > On Jan 11, 3:42 pm, ivytony wrote: > > > > > > > > > I'm a newb to web2py and have been reading the Web2py book freely > > online. I am wondering whether it is p

[web2py] (OT) Choosing a javascript mvc framework

2011-01-11 Thread Luther Goh Lu Feng
Firstly, this topic is only remotely related to web2py. Being familiar with jquery and the fact that web2py uses jquery, I wonder if anyone has any recommendations for a javascript MVC framework and the reasons for doing so? Thanks in advance.

[web2py] Re: Drupal alternatives in Python or web2py

2011-01-07 Thread Luther Goh Lu Feng
n Jan 7, 10:48 am, Jonathan Lundell wrote: > > > > > > > > > On Jan 7, 2011, at 8:40 AM, Luther Goh Lu Feng wrote: > > > > On Jan 7, 6:37 pm, cjrh wrote: > > >> On Jan 7, 10:27 am, VP wrote: > > > >>> But as you go deeper,

[web2py] Re: Drupal alternatives in Python or web2py

2011-01-07 Thread Luther Goh Lu Feng
On Jan 8, 12:48 am, Jonathan Lundell wrote: > On Jan 7, 2011, at 8:40 AM, Luther Goh Lu Feng wrote: > > > > > On Jan 7, 6:37 pm, cjrh wrote: > >> On Jan 7, 10:27 am, VP wrote: > > >>> But as you go deeper, trying to add features, it will be so &g

[web2py] Re: Drupal alternatives in Python or web2py

2011-01-07 Thread Luther Goh Lu Feng
On Jan 7, 6:37 pm, cjrh wrote: > On Jan 7, 10:27 am, VP wrote: > > > But as you go deeper, trying to add features, it will be so > > difficult.  Just to make the app looks right to your taste is really a > > challenging job. > > Ok, interesting. So quick question, is this challenge particular

[web2py] Re: ADVOCACY: "every single other Python program ever written uses imports"?

2011-01-07 Thread Luther Goh Lu Feng
Gosh I am glad I can share about web2py in with my country's php, django and rails programmers without all this nonsense. On Jan 7, 11:40 pm, Bruno Rocha wrote: > After being offended by web2py being in Pycon, they made a major > attack on reddit, raised a bunch of lies. Alarmed against web2py on

[web2py] Re: [OT] Drupal alternatives in Python or web2py

2011-01-06 Thread Luther Goh Lu Feng
y to use w2p app we had and it needs > more people working on it. > > Btw I am testing Pymantis which seems to be very interesting. > > Enviado via iPhone > > Em 06/01/2011, às 23:21, Luther Goh Lu Feng escreveu: > > > > > > > > > Even though it is in

[web2py] [OT] Drupal alternatives in Python or web2py

2011-01-06 Thread Luther Goh Lu Feng
Even though it is in php, with the release of Drupal 7, I am tempted to give it a spin just to see what's the fuss all about. Drupal seems extremely popular, looking at some of the well known organisations that have used it. But are there any python, or hopefully, web2py alternatives to it?

[web2py] Re: web2py-related thread at reddit

2011-01-06 Thread Luther Goh Lu Feng
On Jan 7, 6:06 am, Anthony wrote: > In case anyone is interested... > > http://www.reddit.com/r/Python/comments/ex54j/seeking_clarification_o... Seriously downvoting this comment is ridiculous === mdipierro -3 points 9 hours ago[-] Example of full web2py pr

[web2py] Re: web2py 1.9.1.6 is OUT

2011-01-03 Thread Luther Goh Lu Feng
Cool stuff thanks! On Jan 4, 3:39 am, Bruno Rocha wrote: > 2011/1/3 Luther Goh Lu Feng > > > The video says that the demo works only in Chrome. Any idea why > > websockets do not work in Firefox and Safari. > > That works in Safari too > > A workaround for thos

[web2py] Re: web2py 1.9.1.6 is OUT

2011-01-03 Thread Luther Goh Lu Feng
The video says that the demo works only in Chrome. Any idea why websockets do not work in Firefox and Safari. On Jan 4, 2:38 am, Bruno Rocha wrote: > 2011/1/3 Jason Brower > > >  What is the web2py comet thing for?  Can you explain? > > Best Regards, > > Jason > > I just made a video of comet me

[web2py] Re: Say hello to pyStack.com

2010-12-30 Thread Luther Goh Lu Feng
Oops missed that "When the system goes out of beta, I'll place a link to download the source code but for now, if you wish to take a peek at it, let me know, I am using mercurial for source control and will soon make it available in google code. thanks to all." On Dec 30, 11:28 pm

[web2py] Re: Say hello to pyStack.com

2010-12-30 Thread Luther Goh Lu Feng
May I know if this project is looking for contributors since it is opensource? On Dec 20, 1:15 pm, Julio Schwarzbeck wrote: > Just a quick piece of info. I've renamed the app toQA-Stack.com to > make it more application and programming language agnostic, read more > info here when you have > tim

[web2py] Re: Web2Py Foundation?

2010-12-29 Thread Luther Goh Lu Feng
Maybe they think you are watching youtube videos :p On Dec 30, 1:04 am, mdipierro wrote: > I will amend my will to release the book under an open source license. > > You guys really think my "heirs" even know what I do in front of the > computer all day? > > Massimo > > On Dec 29, 10:26 am, Antho

[web2py] Re: GEO region Searching...

2010-12-28 Thread Luther Goh Lu Feng
http://arstechnica.com/civis/viewtopic.php?f=20&t=1115412 has quite a few tips. On Dec 29, 3:12 am, Jason Brower wrote: > I know we can find good inforamtion geographical stuff in teh web2py > manual.  But is there a way to, for example, find things in a search > area around a coordinate? > My g

[web2py] Re: unique constraint of multiple columns (at database level)

2010-12-28 Thread Luther Goh Lu Feng
Is there a reason why you are not using Auth, if you aren't? http://www.web2py.com/book/default/chapter/08#Authentication Anyway, assuming that you truly want to add the unique constraint, then I am guessing that you could construct virtual fields http://www.web2py.com/book/default/chapter/06#Vi

[web2py] Re: variable include

2010-12-28 Thread Luther Goh Lu Feng
view -- everything the > steps see must be passed by the stepFunc controller. so it functions > differently from an include in that way -- the only variable it > understands here is step. > > matt > > On Dec 28, 11:15 am, Luther Goh Lu Feng wrote: > > > > > >

[web2py] Re: variable include

2010-12-28 Thread Luther Goh Lu Feng
Try using http://www.web2py.com/book/default/chapter/13#Components-and-Plugins I think it should be what you are looking for. On Dec 29, 3:05 am, ron_m wrote: > Its ugly but you must have a finite and small number of nextStep targets > > {{if nextStep == 'step1':}} >   {{include 'step1.html'}} >

[web2py] Re: question about trapped ajax link

2010-12-28 Thread Luther Goh Lu Feng
This is based on pure memory recall so I might be mistaken. You may need to use the .live jquery method when new elements are added. Try it if you run into issues even though you are super suer your code is right. On Dec 28, 9:25 pm, Luther Goh Lu Feng wrote: > The link can trigger off 2 ca

[web2py] Re: question about trapped ajax link

2010-12-28 Thread Luther Goh Lu Feng
The link can trigger off 2 calls to web2py_component(url,id1) and web2py_component(url,id) via javascript. On Dec 28, 4:45 pm, weheh wrote: > I'm trying to get a trapped ajax link, which deletes a record, to > update two different divs on the screen. One div is rendered by its > controller. But

[web2py] Re: jquey effect problem

2010-12-28 Thread Luther Goh Lu Feng
, your source code > > point to /hello/static/js/jquery.js this exist?. Also try  to add ";" > > to the end of jquery sentence and change ".two" with "#b". > > > 2010/12/27 Sahil Arora : > > > > I have attached the source html...i

[web2py] Re: jquey effect problem

2010-12-27 Thread Luther Goh Lu Feng
Sahil Arora wrote: > > > > > > > > > > > i am doing this in default/index.html page in a application which extends > > layout.html which i think includes web2py_ajax.html . So is there any need > > to include any thing else. > > > On Mon, Dec 27, 2010 at 6:29 P

[web2py] Re: jquey effect problem

2010-12-27 Thread Luther Goh Lu Feng
The syntax is correct. Is the jquery library included? You need to include something like Also look at the javascript console for possible errors. On Dec 27, 8:21 pm, Sahil Arora wrote: > I tried this code to see the jquery effect. > > Hello > World > > but onclicking on Hello slide Toggles

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Luther Goh Lu Feng
ed so many branches. On Dec 23, 11:52 am, Luther Goh Lu Feng wrote: > I think the suggested versioning works great > > What I suggest is perhaps label the latest release as the testing > branch eg 1.91 is the testing branch. 1.90 will be the stable branch. > These will of course incr

[web2py] Re: The stability of web2py releases

2010-12-22 Thread Luther Goh Lu Feng
I think the suggested versioning works great What I suggest is perhaps label the latest release as the testing branch eg 1.91 is the testing branch. 1.90 will be the stable branch. These will of course increment by 0.01 in the next web2py release. In the admin panel, have the option for the user

[web2py] Re: Members database

2010-12-22 Thread Luther Goh Lu Feng
I would use the auth_user table by customising it. For members not interested in logging in, I might create a field that flags such users. On Dec 22, 5:29 pm, Kenneth Lundström wrote: > Hello, > > a small design question. > > I m planing a intranet which contains a members database. Their postal

[web2py] Re: use of 'timedelta' as a field

2010-12-22 Thread Luther Goh Lu Feng
Instead of using 3 fields, you could store everything in 1 field using the lowest denomination of time that you will use, eg seconds. Then use a function to convert the value of `seconds` to days, minutes, hours. On Dec 22, 3:20 pm, ron_m wrote: > timediff is just 3 integers representing days, se

[web2py] The stability of web2py releases

2010-12-21 Thread Luther Goh Lu Feng
I have started using web2py a few months ago and I have noticed that some of the releases might actually be far from stable. Take for instance, the 1.90 release. There were unfortunately quite a few uncaught bugs and this was followed by a flurry of bug fix releases. I understand that this is becau

[web2py] Re: web2py 1.91.1 is OUT (LGPLv3)

2010-12-21 Thread Luther Goh Lu Feng
You are working too fast Massimo :p On Dec 22, 9:33 am, mdipierro wrote: > web2py 1.91.1 is out, the first version with a new license. > > Main changes are the license, bug fixes (compared to 1.90.*) and a new > shell that runs better than before and runs on GAE too, if you choose > to deploy it.

[web2py] Re: Upload files with accepting only (png, gif, jpg)

2010-12-21 Thread Luther Goh Lu Feng
Use IS_IMAGE(extensions=('jpeg', 'png', 'gif')) to limit to these file formats ttp://web2py.com/book/default/chapter/07?search=IS_IMAGE On Dec 21, 10:17 pm, Luther Goh Lu Feng wrote: > Try > > db,define_table('image;, >     Field(&#x

[web2py] Re: Upload files with accepting only (png, gif, jpg)

2010-12-21 Thread Luther Goh Lu Feng
Try db,define_table('image;, Field('image, 'upload', notnull=True, requires=[IS_IAMGE()]), ) On Dec 21, 9:02 pm, pk wrote: > hi, > > how can i realise this? > > thanks > peter

[web2py] Re: variables

2010-12-17 Thread Luther Goh Lu Feng
You can use javascript or jquery(since web2py includes jquery) to do this: ==javascript== $('#some_id).click(function() { $('#target").val( ($('#target").val()+1) ); } ) ==html== Click me 2 This should more or less work. On Dec 18, 10:02 am, Rick wrote: > Thanks for the replies! Th

[web2py] Re: variables

2010-12-17 Thread Luther Goh Lu Feng
Use the url helper http://web2py.com/book/default/docstring/URL or see examples in http://web2py.com/book/default/chapter/05 On Dec 18, 8:56 am, Rick wrote: > Hi, > > I want to change the value of a variable by clicking on an tag, > but can't find any information about the topic. I suppose the c

[web2py] Re: interval in a list

2010-12-17 Thread Luther Goh Lu Feng
>From >http://web2py.com/book/default/chapter/06#orderby,-groupby,-limitby,-distinct I think the following may work: for row in db().select(db.table.ALL, limitby=(0, 7)): print row.record for row in db().select(db.table.ALL, limitby=(0, 3). orderby=~db.table.id): print row.recor

  1   2   >