[web2py:24848] I discovered these "Two Choices"

2009-06-23 Thread Steve Shepherd
What would you do? You make the choice. Don't look for a punch line, there isn't one.. Read it anyway. My question is: Would you have made the same choice? At a fundraising dinner for a school that serves learning-disabled children, the father of one of the students delivered a speech that wou

[web2py:18649] Re: Looking for a FAST Developer in Web2Py

2009-03-26 Thread Steve Shepherd
designing an online course platform using Web2Py) Steve Shepherd Mob:+64 (0) 27 4338154 Email: sargs...@gmail.com Analyst On Thu, Mar 26, 2009 at 2:47 AM, mdipierro wrote: > > No time but I could use something like this as part of the conference > manag

[web2py:18697] Re: Pycon 2009 - Important

2009-03-27 Thread Steve Shepherd
Hey you guys you need to setup a WebCam on the Stand so all of us guys that are stuck around the world can tune in!!! Hope your converting heaps of Python guru's over to the Web2py Steve Shepherd Mob:+64 (0) 27 4338154 Email: sargs...@gmail.com Analyst On Sat, M

[web2py:18960] Re: How do we do Partial page updates like Ruiby on Rails

2009-04-01 Thread Steve Shepherd
Yarko I meant the very first code example posted at the top. He put class index(): Which when I changed to a def inside my controller worked fine. Thanks for the file though Steve Shepherd Mob:+64 (0) 27 4338154 Email: sargs...@gmail.com Analyst On Thu, Apr 2, 2009 at

[web2py:18962] Ajax Auth and Multiple Single Signon

2009-04-01 Thread Steve Shepherd
Has anyone done code on a dhtml type Popup login that allows a user to sigin with username or email with password or select a CAS service, openid, google account, yahoo account or AOL account. These services provide a very quick signup and login method. I am trying to recreate a web2 interface tha

[web2py:19003] Re: How do we do Partial page updates like Ruiby on Rails

2009-04-02 Thread Steve Shepherd
@Brian Thanks for your code. As Massimo described preloading the page is dangerous using xml also this is SLOW. By using ajax calls you make a round trip to the server to retrieve the content needed and replace the innerhtml of a div . This means the server loads a list of departments quickly. Then

[web2py:19122] Re: How do we do Partial page updates like Ruiby on Rails

2009-04-04 Thread Steve Shepherd
Where can i get a look at the source code for the SQLFORM Class I am interested in making an ajax equivalent. On Fri, Apr 3, 2009 at 5:45 PM, mdipierro wrote: > > not sure what you are asking me. > > Massimo > > On Apr 2, 10:21 pm, Steve Shepherd wrote: > > @Brian

[web2py:19123] Re: Sub query not registering accurately?

2009-04-04 Thread Steve Shepherd
Whats the ~ tilde doing in your code? The other way to do this is return the rows you want and use an object count and then use a command to return the last object from the list. Rather than do all that sql which is slow put it into the var and use code on the var Steve --~--~-~--~~--

[web2py:19129] Re: Sub query not registering accurately?

2009-04-05 Thread Steve Shepherd
@TheDude MY DAL is not as good as yours. I was simply thinking that if you preloaded the var with the objects then you could return the last topic using a command that would select the last list item. I may be right off beam the DAL looks ok to me but i am still learning it so sorry. --~--~---

[web2py:19130] Re: SQLFORM vs 3rd normal form...

2009-04-05 Thread Steve Shepherd
@Roger Does this address any hidden fields you may want updating. ie modified date, modfied by, ID? I like where your going... The only problem I have with this area is we are putting visual UI into controllers. The MVC model is supposed to put UI in the V portion. However web2py seems to be mo

[web2py:19131] Re: Input type button

2009-04-05 Thread Steve Shepherd
Where did you find the book in pdf format for under $20? You should look at the the following code that allows a callback without updating the page. This would be great for a calculator. class index(): button1=TAG.BUTTON(_onclick="$.ajax({url: '%s', success: function (value) { $('#target').htm

[web2py:19196] Re: SQLFORM vs 3rd normal form...

2009-04-05 Thread Steve Shepherd
Well I guess my particular need is in the ajax direction. I guess because I am new to the framework I am still trying to establish the best place to put code. On Mon, Apr 6, 2009 at 2:02 AM, mdipierro wrote: > > > However web2py seems to be moving more and more to constructing view > > elements

[web2py:21362] Re: Job web2py developer

2009-05-07 Thread Steve Shepherd
for about 8 months. I only charge for coding if there is something I need help on then there is no charge for learning the solution. I work in the Education industry at the Tertiary level. Steve Shepherd Mob:+64 (0) 27 4338154 Email: sargs...@gmail.com Analyst On Wed, May

[web2py:21428] Javascript error in KPAX on IE7

2009-05-07 Thread Steve Shepherd
Anyone struck a problem running the CHAT option within a IE 7 browser. This works fine on Foxfire Here is the offending line: area.innerHTML+=''+msg[1]+''+msg[2]+': '+msg[4]+''; I cannot for the life of me see the problem. I added some ; to a couple of lines above which reduced the errors to th

[web2py:21449] Re: Kudos

2009-05-07 Thread Steve Shepherd
Where are the REST docs andc what are they? Steve Shepherd Mob:+64 (0) 27 4338154 Email: sargs...@gmail.com Analyst On Fri, May 8, 2009 at 4:09 PM, mdipierro wrote: > > Tim did all the work. Thanks Tim. > > On May 7, 10:45 pm, JohnMc wrote: > >

[web2py:21450] Re: Auth API - Registration_Key

2009-05-07 Thread Steve Shepherd
So its more like a Registration Status? On Fri, May 8, 2009 at 4:06 PM, mdipierro wrote: > > the policy I have in mind is > > if registration_key=='' : user can login > if registration_key=='blocked' : user account is blocked > if registration_key=='pending' : user account requires approval > i

[web2py:21525] Re: web2py job posting on odesk

2009-05-08 Thread Steve Shepherd
Horst I sent you an email On Sat, May 9, 2009 at 12:59 PM, Horst wrote: > > http://www.odesk.com/jobs/?g=&q=web2py&qs=1 > > Over time I will post a number of modular projects requiring web2py > skills. In the end we want a web application for a medical practice > that does patient administratio

[web2py:21530] Re: debuggers for ajax in web2py

2009-05-08 Thread Steve Shepherd
So did you work out how to get rid of the quotes around the ajax call? On Wed, Apr 29, 2009 at 6:51 PM, Nithin Kumar M wrote: > > > Actually SELECT tag in the controller has some predefined attributes. If we > want to specify any other html attributes, we need to specify them as > _attibutename =

[web2py:21541] Re: w2p is here

2009-05-09 Thread Steve Shepherd
Thats a flamin excellent idea. You may need a init script and a rollback script. So that on install tables could be generated etc and then a rollback would gracefully cleanout the w2p. Especially plugins or modules that you might want to try and then feel that its not worth it etc. Maybe the files

[web2py:21597] New to launchpad

2009-05-10 Thread Steve Shepherd
@Massimo I realise you are moving to mecurial but... I am interested in tryin out new 1.62 CLI feature... I am also want to start using wingide and they say that you need the source code for web2py to get it working properly. Can you briefly outline where I go to download the 1.62 source? PS I am

[web2py:21598] Re: Can I create an 'assotiated' input field?

2009-05-10 Thread Steve Shepherd
@Massimo Couldn't the GAE class be overloaded with another datetime class that does include the code to translate the normal method call i.e. db(db.mydatefield.year()==1999).select() So the added on class includes a new method for year() but runs code that translates the 1999 into the code that y

[web2py:21600] Re: Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread Steve Shepherd
If your looking for some guideance on Css. The following files contain css that T2 uses. '/plugin_t2/static/t2/styles/style.css', '/plugin_t2/static/t2/styles/calendar.css', '/plugin_t2/static/t2/styles/sfmenu.css', '/plugin_t2/static/t2/styles/rating.css',

[web2py:21605] Re: Issues changing T2, T3 Dropdown Menu background green and foreground white to other colors

2009-05-10 Thread Steve Shepherd
, 10:53 pm, dlypka wrote: > > I do not see sfmenu.css anywhere in my T3 folder structure. > > And my T3 does not have any plugin_t2 folder. > > My T3 has a gluon folder, so I assume T2 is now part of gluon. > > Perhaps the Menu colors are hardcoded in one of the .py files within

[web2py:21648] Re: Can I create an 'assotiated' input field?

2009-05-11 Thread Steve Shepherd
11 PM, mdipierro wrote: > > No because this would work for year but there is no way to make it > work month() and day() or time differences. GAE just does not support > the operations. There are reports that even soting by date/datetime > does not work well. > > On May 10, 8:08

[web2py:21880] Re: Is there a way to set attributes of a field on model?

2009-05-14 Thread Steve Shepherd
While we are talking about this topic. Is it appropriate to be able to put calculated fields into the model. ie SQLFIELD('totalprice',eval('quantity * price')) or something. This way we can simply call these calculated fields in our views or selects. I realise the selects would be harder as thes

Re: [web2py] Re: New Admin Design: Suggested Improvement

2010-11-19 Thread Steve Shepherd
Do you want to try the attached image. I used to program in Foxpro and this is back in the day... 1997 Its 15 x 17px On 20 November 2010 11:47, Jonathan Lundell wrote: > On Nov 19, 2010, at 2:20 PM, Branko Vukelic wrote: > > > > Here's the best I've been able to produce so far. Not too disapp

[web2py] Development Partnership

2010-11-23 Thread Steve Shepherd
I am looking for a Web2Py developer or team that can work with me on a new project. The application is a Saas service that charges customers monthly so I am happy to give a % of ownership for working on the project. Would also look at hourly rate but this will depend on your experience and previous

Re: [web2py] Re: Development Partnership

2010-11-23 Thread Steve Shepherd
set Foxpro programmer and it was never the same after Microsoft bought it so PLEASE don't sell out to them LOL On 24 November 2010 14:02, mdipierro wrote: > You may want to look among people who signed up on > experts4solutions.com > > On Nov 23, 6:26 pm, Steve Shepherd wrote: &g

Re: [web2py] Re: Development Partnership

2010-11-23 Thread Steve Shepherd
; developers at my end. > > Vihang > > On Nov 24, 6:16 am, Steve Shepherd wrote: > > Thanks Massimo... by the way I haven't been back to web2py for a while as > I > > had a role that didn't require development. > > You and the team have made amazing advanc

Re: [web2py] Re: Learning Management System survey

2011-01-05 Thread Steve Shepherd
nt to other teachers. With the project team taking a small cut. Similar to maybe the google marketplace where there is free stuff and paid stuff (but still very cheap) That's the only way I can think of making money but not putting in subscription pricing. Just my two cents worth. Steve Shepherd

[web2py:9935] Re: Ways to make AJAX tab panel?

2008-10-07 Thread Steve Shepherd
You guys are druggies. LOL I also am very impressed with your help Massimo. This whole AJAX area is really where I want to head with my apps. The biggest problem I have is configuring the controllers and jscript so that I am able to get the ajax effect I am looking for. My question is how would yo

[web2py:9978] Re: Remote editing of modules via Admin

2008-10-08 Thread Steve Shepherd
This is an interesting discussion. The theme was also talked about in the thread about the Amy editor. I am really interested in the concept of collaborative programming. Using a local machine only for development doesn't really work well for this concept. I think segregating the code and databa

[web2py:9990] Re: services

2008-10-08 Thread Steve Shepherd
Is this as a response to remoinvg the usage of CRON? Does the overhead hurt Web2py performance? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py

[web2py:10033] Re: Hiding vars from url

2008-10-09 Thread Steve Shepherd
Have you taken a look at the demo apps that use CAS or the T2 user security. They will show you a lot about how to handle security neatly. Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework"

[web2py:10034] Re: questions about sessions, user authentication, etc

2008-10-09 Thread Steve Shepherd
I will have a go at this. 1. The Google account does not reply on GAE. You could be in our out of GAE and still utilise the Python libraries that exist. Your solution of a local user account is also good as you may want to add additional information to your user. 2. The session information is sto

[web2py:10208] Re: Syntax highlighting disapeared

2008-10-14 Thread Steve Shepherd
There is an option on the editor to turn syntax higlighting on or off. Check the icons across the top of the editor bar. Steve On 10/14/08, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote: > > > I do not know what happened. Earlier I could edit templates and Python > files with syntax highlightimg.

[web2py:10248] Re: Syntax highlighting disapeared

2008-10-15 Thread Steve Shepherd
rowser. Probably, the JS engine got messed up. > > > > > On Oct 14, 11:48 am, pigmej <[EMAIL PROTECTED]> wrote: > > > > Hmmm, > > > > > > for me thereis no syntax highlighting. > > > > > > I'm using web2py from svn and

[web2py:10249] Re: 1.45 -> 1.46 and GAE

2008-10-15 Thread Steve Shepherd
Massimo Talking about GAE is there any work around for the LIKE command when searching for records. I can't believe a search company like google has not got a fantastic method of searching their object repository. Steve On Wed, Oct 15, 2008 at 4:43 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > On

[web2py:10250] Re: nanites anybody?

2008-10-15 Thread Steve Shepherd
Do these cluster across processors or is it a single machine thing? The registration process would need to be cached to keep mapping speed up. It would be also interesting to see how the dieing daemon gracefully departs from the cache or map routing mechanism. As high volumes occur the mapper would

[web2py:10294] Re: nanites anybody?

2008-10-15 Thread Steve Shepherd
I think this could be an awesome scale up feature for larger sites. Proides a roadmap for developers if the hit it big with an app and reduces the re-write time down the track. Although database design is till crucial to larger scaling apps. (ie archiving, partitioning, specific user domain tables

[web2py:10295] Re: 1.45 -> 1.46 and GAE

2008-10-15 Thread Steve Shepherd
I agree Over 15 years ago when working in Microsoft Foxpro I had access to libraries that did fulltext indexing so that the like searches were fantastically fast and also provided the ability to do soundex type searches (which are sooo useful when reducing duplication of things like peoples names)

[web2py:10299] Re: 1.45 -> 1.46 and GAE

2008-10-15 Thread Steve Shepherd
I just popped over to the GAE group and here is a thread that goes into this big time.: http://groups.google.com/group/google-appengine/browse_thread/thread/113020d7cbd69d8d/6035f03807c6ff21?lnk=gst&q=like+operator#6035f03807c6ff21

[web2py:10354] T2 and a new high level pattern for TAGGABLE

2008-10-17 Thread Steve Shepherd
This is an idea for a new pattern in T2. The idea is to allow a user to tag this records with tags or labels. The user may select one or many and params can be set for wether it is required or whether more than one tag can be selected. I may be over thinking this as there may be a solution already.

[web2py:10389] Re: T2 and a new high level pattern for TAGGABLE

2008-10-17 Thread Steve Shepherd
Ok thats what I mean I have a question though: If you have code like: # Model db.definetable('transaction', db.field('spendamount,'double'), db.field('tags','text')) # Controller Count and Totals #I want some code to create an object that groups by the tags field and provides and total for

[web2py:10463] Re: sqldesigner again

2008-10-19 Thread Steve Shepherd
Boris THIS is FANTASTIC...did you do all this yourself? This will leap web2py into the frameworks that beat RoR into submission for us python fans. IMPORTANT: The only question I have is will it support supersets and subset type definitions. I will give it a try. Massimo@ PLEASE make this the d

[web2py:10465] Re: model choice from list

2008-10-19 Thread Steve Shepherd
Massimo You might want to update the Cheatsheet. That is VERY useful. This way we can do this I presume: values = ( 'FR','SO','JR','SR','GR') labels = (T('Freshman'), T('Sophomore'),T('Junior'), T('Senior'), T('Graduate')) or labels = (T('Freshman', 'Sophomore','Junior', 'Senior', 'Grad

[web2py:10467] MVC and where data or information is developed

2008-10-19 Thread Steve Shepherd
Hi I am designing a class that works like a display and edit list (for using alongside soething like itemize in T2) So her goes: Its called SQLVIEW I want to hook this to a table (that is developed in DAL) and the SQLVIEW class automatically adds some methods and helpers. But I have a question

[web2py:10479] Re: MVC and where data or information is developed

2008-10-20 Thread Steve Shepherd
oops got those seasons around the wrong way. "Winter of 2007", "Fall of 2007", "Summer of 2007", "Spring of 2007", "Winter of 2006" On Mon, Oct 20, 2008 at 11:28 PM, Steve Shepherd <[EMAIL PROTECTED]> wrote: > 1. THE OUTPUT > I have c

[web2py:10480] Re: sqldesigner again

2008-10-20 Thread Steve Shepherd
humf to Buffalo - Niagara Rulez LOL On Mon, Oct 20, 2008 at 10:07 PM, Aspersieman <[EMAIL PROTECTED]> wrote: > > Hey > > This is awesome. > > However I think there is room for improvement : when you navigate to > http://designer.bojanka.net/ using opera it crashes completely. > > I used: >

[web2py:10478] Re: MVC and where data or information is developed

2008-10-20 Thread Steve Shepherd
1. THE OUTPUT I have changed my thinking on the groupings. If today was THU then WED would be "Yesterday", TUE would be "Tuesday", MON would be "Monday", SUN would be "Last Week". If monday was the start day of your config for a week. This is the very same behaviour as MS Outlook 2003 when you gro

[web2py:10538] Re: argument versus variable

2008-10-22 Thread Steve Shepherd
mmm the main idea of REST is to start black boxing functionality. Which is kinda great but has down sides of performance (as noted in the url that Yarko tendered) The theoretical world does need to be tempered with practical applications often. As in RoR convention over configuration is a maj

[web2py:10541] Re: argument versus variable

2008-10-22 Thread Steve Shepherd
Thanks Bill I also wonder if rest has some roots in SEO as I know from previous work I have done with search engine optimisation that slashes are a lot better than & or $ for traversing. Google has overcome this but Yahoo, MSN and a whole host of smaller search engines just do not traverse non slas

[web2py:10545] Re: pycon2009

2008-10-23 Thread Steve Shepherd
://web2py.appspot.com/web2conf/default/proposed_talks comes up with an internal error. Steve Shepherd On Thu, Oct 23, 2008 at 5:40 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > Hi, > > Yarko and I and whoever wants to help are working on a registration > app for PyCon2009. Although w

[web2py:10588] Re: pyworks 2008

2008-10-24 Thread Steve Shepherd
You are leading off - that is fantastic. Congratulations. I am trying to find a way of getting there. But airfares may be too high with only 20 days notice PS> Did you get a chance to look at the Google doc I shared with you? Steve On Sat, Oct 25, 2008 at 6:56 AM, mdipierro <[EMAIL PROTECTED]

[web2py:10590] Re: Lost some work tonite

2008-10-24 Thread Steve Shepherd
This is a good example and I agree. MY ultimate solution would involve adding ajax saves to the editor (like gmail does autosaves) It is such a simple fix for coders and such a major hassle for users when data is lost. Massimo@ While we are talking about the editor is there any news about whether

[web2py:10589] Re: How to implement RESTful requests? A proposal

2008-10-24 Thread Steve Shepherd
Bill My only question with your rest example is how do we handle multiple potential actions. For example what if the it is not just one create action taking place. Does the coder have to code a meta action that then chains into the sub actions. How would rest handle this? Steve --~--~-~-

[web2py:10763] Re: web2py cookbook anyone?

2008-10-28 Thread Steve Shepherd
Great Do you have a draft for us to have a noesy at then we can work out if we have content worth contributing Steve On Wed, Oct 29, 2008 at 12:54 PM, Pystar <[EMAIL PROTECTED]> wrote: > > The proposed "web2py cookbook" is still alive and going on fine, > although i have not gotten any help fro

[web2py:10804] Re: jQuery

2008-10-29 Thread Steve Shepherd
Voltron This is s cool. Excellent option for tables. There are a growing number of plugins for jquery which will make really great interfaces for users. I realise Masimo is working on T3 but a web2 jquery type frontend to web2py would really make web2py a step above the rest. Steve On Th

[web2py:10857] Re: Import db model from existing database

2008-10-30 Thread Steve Shepherd
I am not sure but there may be an upload option for postgres in http://designer.bojanka.net/designer.html?keyword=web2pydesigner This online designer will load and then save in a few different formats. Search the Group for other threads on sqldesigner and if needed contact the guy who posted it he

[web2py:10858] Re: Import db model from existing database

2008-10-30 Thread Steve Shepherd
For the DAL to work effectively. You can still use sql in web2py but the helpers like sqlform etc don't work if you use this approach. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To p

[web2py:10860] Re: Integration with Appcelerator

2008-10-30 Thread Steve Shepherd
Just to pickup on the prototyping discussion, I have pulled my hair out about this for over 3 years. The key to prototyping is to allow very quick changing of ideas to match the GOALS of the user. If you code it you start pouring concrete and immediately start building walls to further innovation.

[web2py:10970] Re: jQuery

2008-11-02 Thread Steve Shepherd
Oh I thought I would drop this onto this thread. I found an EXCELLENT article on jQuery by Rick Strahl. Rick has been in the development game for many years and explains the basics of jquery in this article. http://www.west-wind.com/presentations/jQuery/default.aspx

[web2py:10983] Re: if..elif..else in a view

2008-11-03 Thread Steve Shepherd
You need some quotes in there and parameterise the value Steve On Mon, Nov 3, 2008 at 10:06 PM, annet <[EMAIL PROTECTED]> wrote: > > Thanks for you replies, > > Adding the {{pass}} solved the problem, the following code runs > without errors: > > >{{for communication in communications:}} >

[web2py:11046] Re: code completion data source

2008-11-03 Thread Steve Shepherd
+100 for the Amy editor... Having collaborative development (I can then do Rapid Agile development over the shoulder of a developer anywhere from India to New Zealand and back to the USA) Plus adding in Code completion and parameter tips for functions would be a GOD send for those of us learning t

[web2py:11267] Full text Search for Sqlite and how to include it with Web2py

2008-11-05 Thread Steve Shepherd
Hi Folks Have been doing some extensive reading on Google gears. They include a sqlite utility call fts2 which provides full text search capabilities. Here is the link: http://www.sqlite.org/cvstrac/wiki?p=FtsTwo to the module. Any thoughts on how thiose could be implemented in web2py. The table

[web2py:11312] Re: Alternate wxPython Widget

2008-11-06 Thread Steve Shepherd
Laren Its all good this sort of Agile development. Finding different points of view even if it is built is NEVER a waste of time in my opinion. This whole group is growing at a huge rate of notts. I think that is testament to Massimos original and continuing vision and work ethic. Steve --~--~--