Re: [web2py] something like this google group

2011-06-02 Thread Tom Atkins
http://www.pyforum.org/ ? On 2 June 2011 17:01, mart msenecal...@gmail.com wrote: HI, anyone have a quick and dirty template to build something like a google group (group posts, group/individual replies, group/individual mail). Or maybe a suggestion on the best and quickest way to get one

Re: [web2py] Re: experimental in trunk... common_fields and precints

2011-05-26 Thread Tom Atkins
This is very useful - thanks Massimo! I will do some testing too... Still working on the LMS? ;-) On 26 May 2011 15:10, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I changed 'request_precinct' to 'request_tenant' since this is more appropriate. We are talking about buildig

Re: [web2py] Re: Two questions: one about markmin and one about SQLFORM

2011-05-17 Thread Tom Atkins
Two spaces at the end of a line makes a new line in Markdown... would it be possible to have the same behavior in Markmin? On 17 May 2011 04:09, Bruno Rocha rochacbr...@gmail.com wrote: On Mon, May 16, 2011 at 11:34 PM, JayShaffstall jshaffst...@gmail.comwrote: pJust enough of rainbr/ To

Re: [web2py] Re: Two questions: one about markmin and one about SQLFORM

2011-05-17 Thread Tom Atkins
OK - agreed. On 17 May 2011 14:21, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Why? I think using whitespaces in wiki syntax is bad because they are invisible. On May 17, 1:34 am, Tom Atkins minkto...@gmail.com wrote: Two spaces at the end of a line makes a new line in Markdown

[web2py] For interest: Python Requests package - HTTP for humans

2011-05-16 Thread Tom Atkins
http://docs.python-requests.org/en/latest/index.html

Re: [web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Tom Atkins
I just emailed SImpleAuth support and got this reply back from Mike (which he agreed I could post here): - We completely understand the concerns. The founders (I'm one of them) are all developers and we built SimpleAuth because it's just what we needed as well. Every developer

Re: [web2py] Re: Janrain Alternative: SimpleAuth (And its totally free)

2011-04-27 Thread Tom Atkins
me time if you could point me to the php example. Massimo On Apr 27, 9:40 am, Tom Atkins minkto...@gmail.com wrote: I just emailed SImpleAuth support and got this reply back from Mike (which he agreed I could post here): - We completely understand the concerns

Re: [web2py] Pagination in web2py

2011-04-12 Thread Tom Atkins
This worked for me: http://www.web2py.com/book/default/chapter/12#Pagination On 12 April 2011 11:16, Francisco Costa m...@franciscocosta.com wrote: Hi! What is the ideal pagination method in web2py? Are there any plugins or examples?

[web2py] Off topic, for interest: Emscripten - Python code into JavaScript

2011-04-10 Thread Tom Atkins
http://code.google.com/p/emscripten/

Re: [web2py] Re: MongoDB and Web2Py

2011-04-01 Thread Tom Atkins
+1 On 1 April 2011 06:35, David Marko dma...@tiscali.cz wrote: I'm also interested in testing ... David Marko

Re: [web2py] Re: new URL router use cases

2011-03-24 Thread Tom Atkins
The problem for me is not being able to mix the new parameter-based routing with the pattern-based system (my regex skills are not good enough to make the patten system do what I want) . Is it possible to have parameter system in the global routes.py and then pattern system in the

Re: [web2py] Re: new URL router use cases

2011-03-24 Thread Tom Atkins
22, 3:13 am, Tom Atkins mink...@gmail.com wrote: I might be being naive here but in Flask I can do: @app.route('/yoursitename/users') ... def editusers(yoursitename): pass print url_for('editprofile', yoursitename='Supersite') gives: /Supersite/users On 22 March 2011 05:23

Re: [web2py] Re: new URL router use cases

2011-03-24 Thread Tom Atkins
Thanks Anthony - you're right and I do know this - just wrote the wrong thing in my previous post - I meant to say 'change to pattern-based'... make me wonder what other stupid mistakes I'm making... but double checked and I think I have everything correct and as suggested by Massimo. On 24 March

Re: [web2py] Re: new URL router use cases

2011-03-22 Thread Tom Atkins
, at 7:44 PM, Indra Gunawan wrote: Agree, Flask way looks more elegant (see Variable Rules). It could be nice if this way also exists on Web2Py. On 22 March 2011 06:05, Tom Atkins minkto...@gmail.com wrote: I was playing with Flask and I have to say its solution to routing is very nice: http

Re: [web2py] Re: new URL router use cases

2011-03-22 Thread Tom Atkins
sorry - should have been: @app.route('/yoursitename/users') ... def editusers(yoursitename): pass print url_for('editusers', yoursitename='Supersite') gives: /Supersite/users On 22 March 2011 08:13, Tom Atkins minkto...@gmail.com wrote: I might be being naive here but in Flask I can do

Re: [web2py] Re: new URL router use cases

2011-03-22 Thread Tom Atkins
It uses Werkzeug - full details here: http://werkzeug.pocoo.org/docs/routing/ On 22 March 2011 14:49, Jonathan Lundell jlund...@pobox.com wrote: Maybe so. Is there a formal definition of how Flask's routing works? All I could find was a rather brief overview at the quickstart link.

Re: [web2py] django toolbar

2011-03-21 Thread Tom Atkins
This looks great. Do you mean this Django toolbar: http://rob.cogit8.org/blog/2008/Sep/19/introducing-django-debug-toolbar/ http://rob.cogit8.org/blog/2008/Sep/19/introducing-django-debug-toolbar/If so I'd be very interested in SQL queries showing the number of queries run during response

Re: [web2py] Re: new URL router use cases

2011-03-21 Thread Tom Atkins
I am designing an app with a URL structure like this: myapp.com/yoursitename 'yoursitename' is effectively an argument as there could be many sites and users are allowed to create their own sites. But I'd like it to be 'top level'. Then within yoursitename there will be URLs like this:

Re: [web2py] Re: new URL router use cases

2011-03-21 Thread Tom Atkins
' or 'yoursitename' - it's top level but user chosen. They also have reserved URLs like: https://github.com/plans On 21 March 2011 21:51, VP vtp2...@gmail.com wrote: I think each yoursitename should be a different app. I think it's most efficient that way. On Mar 21, 4:37 pm, Tom Atkins minkto

Re: [web2py] Re: new URL router use cases

2011-03-21 Thread Tom Atkins
Thanks for the reply - I've considered the subdomain option but don't want to use it in this case. This article: http://warpspire.com/posts/url-design/ http://warpspire.com/posts/url-design/was previously linked on the forum and summarises very well the reasons I'm keen to go for a URL

Re: [web2py] Re: new URL router use cases

2011-03-21 Thread Tom Atkins
? On 21 March 2011 22:30, Jonathan Lundell jlund...@pobox.com wrote: On Mar 21, 2011, at 2:37 PM, Tom Atkins wrote: I am designing an app with a URL structure like this: myapp.com/yoursitename 'yoursitename' is effectively an argument as there could be many sites and users are allowed

Re: [web2py] Re: REST the web2py way - RFC

2011-03-21 Thread Tom Atkins
this may be of interest: http://stackoverflow.com/questions/5050481/restful-backend-framework-for-backbone-js-and-co

Re: [web2py] Re: Best way to return all users who have a specific role?

2011-03-20 Thread Tom Atkins
, rochacbruno rochacbr...@gmail.com wrote: In shell you need to fire db.commit() to persist changes. Em 19/03/2011, às 10:23, Tom Atkins minkto...@gmail.com escreveu: Hmm - I spoke too soon. Database changes work OK from controllers but not from shell... On 19 March 2011 13:03, Tom Atkins minkto

Re: [web2py] Re: Best way to return all users who have a specific role?

2011-03-19 Thread Tom Atkins
pm, Tom Atkins minkto...@gmail.com wrote: Thank you - yes the double hit on the database was what made it seem inelegant to me. Your joined query works fine and I can work with the return data. Any further improvements gratefully received! Hoping Massimo has an undocumented super 1

Re: [web2py] my newbie questions have been ignored

2011-03-19 Thread Tom Atkins
Sorry to hear your questions didn't get answered more quickly. I'm a relative newbie here and have always been impressed with the speed, helpfulness and friendliness of the group. Don't give up yet! With regard to the issues you're having with database commits I too am having problems in the

Re: [web2py] Re: Best way to return all users who have a specific role?

2011-03-19 Thread Tom Atkins
Oops - my mistake - I was using Navicat to look at my sqllite database and had left it open. hence sqllite db was locked. On 19 March 2011 10:41, Tom Atkins minkto...@gmail.com wrote: Thanks Massimo - I was considering using accessible_query. However, I've now got a problem before I try

Re: [web2py] Re: Best way to return all users who have a specific role?

2011-03-19 Thread Tom Atkins
Hmm - I spoke too soon. Database changes work OK from controllers but not from shell... On 19 March 2011 13:03, Tom Atkins minkto...@gmail.com wrote: Oops - my mistake - I was using Navicat to look at my sqllite database and had left it open. hence sqllite db was locked. On 19 March 2011

[web2py] auth.has_membership: how to specify user and role?

2011-03-18 Thread Tom Atkins
Given a user ID with ID of 1 and a group with ID of 1 and role = Super Admin and an entry in auth_membership to tie the two together so that user 1 is a member of group 1 I can do: auth.has_membership(1,1) True but if I do: auth.has_membership(1, role=Super admin) False (I'm running latest

Re: [web2py] Re: auth.has_membership: how to specify user and role?

2011-03-18 Thread Tom Atkins
Admin != Super admin On Mar 18, 11:51 am, Tom Atkins minkto...@gmail.com wrote: Given a user ID with ID of 1 and a group with ID of 1 and role = Super Admin and an entry in auth_membership to tie the two together so that user 1 is a member of group 1 I can do: auth.has_membership

[web2py] Best way to return all users who have a specific role?

2011-03-18 Thread Tom Atkins
OK my brain is still failing me today: What's the best way to return the details of all users who have a specific role? I have something like: for row in db(db.auth_user).select(): if auth.has_membership(user_id=row.id, role=('Super admin')): # do something but can't help

Re: [web2py] Re: Best way to return all users who have a specific role?

2011-03-18 Thread Tom Atkins
Thank you - yes the double hit on the database was what made it seem inelegant to me. Your joined query works fine and I can work with the return data. Any further improvements gratefully received! Hoping Massimo has an undocumented super 1 liner! ;-)

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

2011-03-16 Thread Tom Atkins
Works for me now - and certainly feels very snappy! No sessions files being created unless user logs in. On 16 March 2011 16:01, Massimo Di Pierro massimo.dipie...@gmail.comwrote: I found out that auth was causing session to be saved even if unused. I changed it. With the latest trunk,

[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

Re: [web2py] Proposals for New Tagline

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

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 rochacbr...@gmail.com wrote: On Tue, Mar 15, 2011 at 12:35 PM, Jonathan Lundell jlund...@pobox.comwrote: On Mar 15, 2011, at 8:12 AM, Kevin Ivarsen wrote: So far I like Productivity by design. I do

[web2py] Image resize before upload

2011-03-14 Thread Tom Atkins
I'd like to give users the option of resizing their images before uploading. There are a few tools around that do this. I've been looking at: http://www.plupload.com and http://www.shift8creative.com/projects/agile-uploader/index.html I haven't had much luck integrating them with web2py yet

Re: [web2py] virtual hosts. single or multiple installation?

2011-03-13 Thread Tom Atkins
I'm currently using one web2py instance and and then running multiple sites using code in routes.py. This example from Jonathan should be helpful: https://groups.google.com/d/msg/web2py/iq_YAstVUCI/pr65jJRY6JwJ This works fine but is not the most efficient way for high volume sites. Various

[web2py] For interest: Regressive enhancement with Modernizr and yepnope.js

2011-03-09 Thread Tom Atkins
how to only load JavaScript as a fall-back when browsers don't support an HTML5 feature - i.e. *regressive* enhancement: http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope/

Re: [web2py] Multiple forms grouped as one (django formset equivalent) with jquery plugin allowing clients to add and remove forms on the client-side

2011-03-08 Thread Tom Atkins
The SheepIt jQuery plugin looks excellent - thanks for the link. I'll need to make this work with web2py sometime in the next couple of months. Hopefully someone else (not mentioning any names ;-) ) will provide some example code before then! On 9 March 2011 04:18, Dr Schmulge

Re: [web2py] Re: should this be in the scaffolding app?

2011-03-02 Thread Tom Atkins
+1 for what VP says - minimal should be default with easy access to scaffolding for those who want it. On 2 March 2011 18:00, VP vtp2...@gmail.com wrote: I'd like this feature, but in some way I echo the sentiment by Plumo. Maybe there should be 2 scaffold apps, to be chosen by the user??

[web2py] Blog about my adventures with web2py

2011-02-18 Thread Tom Atkins
I've started a blog about my web2py learning. I'm new to Python and web2py, so please go gently on my coding horrors! Constructive criticism on more elegant ways to do things will be very much appreciated. http://knitatoms.net The site is built with web2py and there's an RSS feed to subscribe

Re: [web2py] Re: Blog about my adventures with web2py

2011-02-18 Thread Tom Atkins
On 18 February 2011 22:11, pbreit pbreitenb...@gmail.com wrote: Did you write your own blogging app? Yes - when the code is a bit less embarrassing I'll put it up on bitbucket...

Re: [web2py] Re: Blog about my adventures with web2py

2011-02-18 Thread Tom Atkins
On 18 February 2011 22:52, cjrh caleb.hatti...@gmail.com wrote: I would subscribe to the feed but I can't seem to find it. I've added a link 'RSS Feed' to the menu. There's also an auto discovery link in the head which is what I was relying on: link rel=alternate type=application/rss+xml

Re: [web2py] Re: top of the day: cross component interaction

2011-02-17 Thread Tom Atkins
very useful - thanks!

[web2py] How to add form vars to crud.create onaccept?

2011-02-09 Thread Tom Atkins
I have something like this which works fine: commentform = SQLFORM(db.comment) commentform.vars.post_id = post.id This populates commentform with the current post id. How can I do this with crud.create? (I know I need to use the onaccept method of crud.create but I'm stuck.)

Re: [web2py] Re: How to add form vars to crud.create onaccept?

2011-02-09 Thread Tom Atkins
On 9 February 2011 15:18, Massimo Di Pierro massimo.dipie...@gmail.comwrote: db.comment.post_id.default = post.id form = crud.create(db.comment) Doh! Thank you!

Re: [web2py] will jQuery UI work with web2py?

2011-02-09 Thread Tom Atkins
Yes it will work. (1.3.2+ means that version and any version higher) On 9 February 2011 19:40, Panupat panup...@gmail.com wrote: The latest jQuery UI (1.8.9) says it supports jQuery 1.3.2+. Seeing that web2py comes with jQuery 1.4.4, will jQuery UI work with this version?

Re: [web2py] Re: postgresql error ... class 'psycopg2.ProgrammingError'(relation auth_user already exists)

2011-02-07 Thread Tom Atkins
On 6 February 2011 15:51, Massimo Di Pierro massimo.dipie...@gmail.comwrote: The least comment in the issue thread says it is fixed after deleting the pyc. Is that not correct? Yes - fixed after dal.pyc was recreated with new version.

Re: [web2py] Re: postgresql error ... class 'psycopg2.ProgrammingError'(relation auth_user already exists)

2011-02-06 Thread Tom Atkins
know if you need any more info. I definitely have the latest version. On 4 February 2011 19:49, Massimo Di Pierro massimo.dipie...@gmail.comwrote: This is a trunk bug. The problem does should be there in stable. I will fix this tonight. On Feb 4, 12:50 pm, Tom Atkins minkto...@gmail.com wrote

Re: [web2py] Re: postgresql error ... class 'psycopg2.ProgrammingError'(relation auth_user already exists)

2011-02-06 Thread Tom Atkins
Oops - sorry, ignore my last message. I had an old version of dal.pyc... removed that and restarted web2py and everything is working great. Many thanks. On 6 February 2011 13:26, Tom Atkins minkto...@gmail.com wrote: Thanks for looking into this Massimo. I just pulled the most recent version

Re: [web2py] http and https

2011-02-04 Thread Tom Atkins
Yes - I should have said that I was assuming it was running behind Apache. With the standard setup as created by the 'setup-ubuntu.sh' or 'setup-fedora.sh' scripts (in the scripts folder) you'll already be set with a self-sigend certificate and Apache configured to send https requests to web2py.

Re: [web2py] postgresql error ... class 'psycopg2.ProgrammingError'(relation auth_user already exists)

2011-02-04 Thread Tom Atkins
I am getting the same error as reported by Carlos and cannot fix it. I have just set up a new server (Ubuntu 10.04 - postgres 8.4, Python 2.6.5) and have web2py trunk up and running fine. I have an unmodified 'welcome' app which runs perfectly with sqlite. I then delete all the files in

Re: [web2py] postgresql error ... class 'psycopg2.ProgrammingError'(relation auth_user already exists)

2011-02-04 Thread Tom Atkins
(PS I have tried auth.define_tables(migrate='False') and it doesn't help) On 4 February 2011 13:22, Tom Atkins minkto...@gmail.com wrote: I am getting the same error as reported by Carlos and cannot fix it. I have just set up a new server (Ubuntu 10.04 - postgres 8.4, Python 2.6.5) and have

Re: [web2py] Re: postgresql error ... class 'psycopg2.ProgrammingError'(relation auth_user already exists)

2011-02-04 Thread Tom Atkins
On 4 February 2011 14:33, Massimo Di Pierro massimo.dipie...@gmail.comwrote: You are using web2py trunk right? Yes - just a clean version of web2py pulled by Hg from Google code. Did you set a sequence_name manually? No (not even sure what sequence_name is!) - I tried another app of my

Re: [web2py] JQuery harmonica menu, but what's the use in web2py, I'm totally confused

2011-02-03 Thread Tom Atkins
This isn't really a direct answer to your question but it might help clarify some things for you (it got me thinking anyway)... it's a quote from a user on another mailing list: There's been a big move toward Javascript-heavy web apps in the last couple of years, and new tools frameworks are

Re: [web2py] JQuery harmonica menu, but what's the use in web2py, I'm totally confused

2011-02-03 Thread Tom Atkins
Sorry - posted broken link to CoffeeScript site. It should have been: http://jashkenas.github.com/coffee-script/ On 3 February 2011 08:16, Tom Atkins minkto...@gmail.com wrote: http://jashkenas.github.com

Re: [web2py] http and https

2011-02-03 Thread Tom Atkins
No need to start to instances of web2py. If you use Jonathan's new routers syntax available in trunk you can put something like this in routes.py: routers = dict( BASE = dict( domains = { 'www.domain.com:80 http://domain.com/' : 'myappname', 'secure.domain.com:443' :

[web2py] Re: execfile

2011-02-02 Thread Tom Atkins
See Massimo's response here: https://groups.google.com/forum/#!topic/web2py/dmN54cpMuXo

Re: [web2py] Re: Testing the new router

2011-02-02 Thread Tom Atkins
Thanks for your work on the new routers Jonathan - it makes life much easier. Quick question, say I have: routers = dict( BASE = dict( domains = { 'domain1.com' : 'app1', 'domain2.com' : 'app2', } ), ) But would also like www.domain1.com to map to app1 but

Re: [web2py] Re: Testing the new router

2011-02-02 Thread Tom Atkins
version they lose their session as the cookies don't match. With your suggestion the session is maintained regardless of the URL entered. On 2 February 2011 16:43, Jonathan Lundell jlund...@pobox.com wrote: On Feb 2, 2011, at 7:52 AM, Tom Atkins wrote: Thanks for your work on the new routers

Re: [web2py] Re: Testing the new router

2011-02-02 Thread Tom Atkins
Initially I tried the short version. Just tried the long version and it works too - impressively no typos in your untested code! Both also work nicely for http and https. What are the pros and cons of the short v long version? On 2 February 2011 17:26, Jonathan Lundell jlund...@pobox.com

Re: [web2py] Re: Testing the new router

2011-02-02 Thread Tom Atkins
On 2 February 2011 18:27, Jonathan Lundell jlund...@pobox.com wrote: The long version seems useful if you had more than one or two domains that you needed to redirect Of course - realised that just after I posted the question! , and it retains the incoming http vs https scheme. Yes - what

Re: [web2py] social network idea

2011-01-17 Thread Tom Atkins
http://pinboard.in gives me a list of people to check out based on their bookmarking history. I don't know the details of the algorithm and there's no flexibility in refining the recommendations but I've found some interesting people to add to my 'network'. You can only see the username of the

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

2011-01-09 Thread Tom Atkins
web2py - the resilient web framework ;-)

[web2py] Slickgrid - a table or data grid designed for MVC

2010-12-30 Thread Tom Atkins
https://github.com/mleibman/SlickGrid/wiki looks interesting. Grooveshark uses it, see here: http://blog.jerodsanto.net/2010/12/the-tech-behind-the-new-grooveshark/

[web2py] SimpleGeo - free tools for creating location aware apps with Python Client and SDK

2010-12-27 Thread Tom Atkins
Just for interest if you're building a location aware app: http://simplegeo.com

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

2010-12-22 Thread Tom Atkins
I hereby nominate web2py for 'Fastest developing full-stack web framework of the year award'. It's amazing how much has been added and fixed in 12 months since I've been using web2py. Well done Massimo and everyone. Looking forward to 2011!

Re: [web2py] Re: Python Shell on Chrome

2010-12-21 Thread Tom Atkins
very nice! thank you! On 21 December 2010 03:44, mdipierro mdipie...@cs.depaul.edu wrote: Anyway... I merged the google shell with web2py. We now have a new shell: http://127.0.0.1:8000/admin/shell/index/appname should work better then before and should work on GAE too. Please give it a

Re: [web2py] Re: it case you missed it...

2010-12-10 Thread Tom Atkins
The new DAL looks fantastic Massimo. So that people don't get the wrong impression though: It's a bit disconcerting to click the initial link in the Reddit article about 'brand new DAL' and then get a very large title saying 'Old web2py blog' and response flash saying 'Some info may be out of

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

2010-12-07 Thread Tom Atkins
Interesting way of doing things for web apps: http://www.hackers-with-attitude.com/2010/10/using-clojure-nosql-databases-and.html May have some relevance to web2py with the new support for NoSQL db's - I like the idea of auto data sync between client (local storage API) and server (NoSQL key

Re: [web2py] Re: Scalability of web2py?

2010-12-02 Thread Tom Atkins
I'm assuming John Heenan's criticisms of web2py would apply equally to Django? Please correct me if I'm wrong. Django can scale pretty well - here's a presentation showing how Disqus have scaled their Django app to 250 million visitors a month and a peak of 17,000 requests per second to Django

Re: [web2py] Re: Scalability of web2py?

2010-12-02 Thread Tom Atkins
I should have said John Heenan's criticisms of web2py *relating to scalability*... On 2 December 2010 11:46, Tom Atkins minkto...@gmail.com wrote: I'm assuming John Heenan's criticisms of web2py would apply equally to Django? Please correct me if I'm wrong. Django can scale pretty well

Re: [web2py] Re: Scalability of web2py?

2010-12-02 Thread Tom Atkins
Very sorry - I missed the link you already posted - will make sure to read full thread in the future! On 2 December 2010 12:23, Kuba Kucharski kuba.kuchar...@gmail.com wrote: requests per second to Django with Apache and mod_wsgi:

Re: [web2py] Re: Straw poll on the learning curve of markmin for the layman

2010-11-05 Thread Tom Atkins
I'm very happy about Markmin! I've used Markdown for years for creating eLearning resources and blogging. I have tried to get 'normal' users to use Markdown (Markmin would be the same) and it's not easy. Non-techy people will not use inline markup! So an editor like MarkItUp is essential. The

Re: [web2py] Re: Straw poll on the learning curve of markmin for the layman

2010-11-05 Thread Tom Atkins
[sorry - I meant The combination of MarkItUp and **Markmin** is excellent.] On 5 November 2010 09:30, Tom Atkins minkto...@gmail.com wrote: I'm very happy about Markmin! I've used Markdown for years for creating eLearning resources and blogging. I have tried to get 'normal' users to use

Re: [web2py] Re: Learning Management System survey

2010-11-05 Thread Tom Atkins
I can volunteer time and input for the LMS idea. I'm not experienced enough with Python and web2py yet to contribute good code but can help with frontend UI, design, jQuery and documentation. Assuming the project would have a Free license? I'd be happy to register, host, set up and manage a

Re: [web2py] Re: DateInput Calendar and other widgets

2010-11-02 Thread Tom Atkins
+1 for this one: http://trentrichardson.com/examples/timepicker/ http://trentrichardson.com/examples/timepicker/quite a few applications that i'm currently using make use of this approach - very usable and customisable. On 2 November 2010 07:16, annet annet.verm...@gmail.com wrote: more

[web2py] jsfiddle - handy web tool for testing javascript and jquery

2010-11-02 Thread Tom Atkins
just for interest: http://jsfiddle.net very useful for me learning and sharing jquery stuff. very easy to include jquery-ui - just check the box!

[web2py] plugin_wiki syntax highligting - how to use 2 CSS classes?

2010-10-20 Thread Tom Atkins
I'm using plugin_wiki to build a blog and wiki site. (plugin_wiki is fantastic for this - thanks Massimo!) I would like to use a jQuery syntax highlighter instead of the built-in one. Most of these highlighters require 2 CSS classes, eg: code class=syntax python def test(): blah blah /code

Re: [web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2010-10-20 Thread Tom Atkins
That makes sense about routes.py for multiple sites not being a production setting because web2py will be serving static files. Also, this is the same for the Tip of the day. The power of routes setup (perfect for me now with small development sites but hopefully not in the future)! Going back

Re: [web2py] Re: tip of the day. The power of routes

2010-10-18 Thread Tom Atkins
Fantastic - thanks Massimo. That is extremely useful - my regex skills are pretty poor but this really helps with getting to grips with routes.py. Love the 'tips of the day' - keep 'em coming! On 18 October 2010 03:07, mdipierro mdipie...@cs.depaul.edu wrote: I put the script in trunk under

Re: [web2py] Re: Learning Management System survey

2010-10-18 Thread Tom Atkins
Just in case anyone is still thinking about eLearning or Learning Management Systems here's an interview with the creator of Moodle: http://www.edugeekjournal.com/2010/10/18/is-moodle-going-down-the-path-of-open-social-learning/ Worth noting that he's considering a complete rewrite focuesed

Re: [web2py] Re: 2 problems, taskbar icon and windows service

2010-10-17 Thread Tom Atkins
I have the same problem as Youngblood: I've just tried to install web2py as a windows service and get the error below (Windows 7 32bit, Python 2.7, pywin installed, latest web2py source from mercurial): c:\path\to\web2pypython web2py.py -W install No handlers could be found for logger web2py

Re: [web2py] Re: 2 problems, taskbar icon and windows service

2010-10-17 Thread Tom Atkins
to get anywhere). When I previously installed the extensions for Python 2.5 it all went fine... that'll teach me to upgade (or to be using Windows)! On 17 October 2010 16:23, mdipierro mdipie...@cs.depaul.edu wrote: you need to install mark hammond win32 extensions On Oct 17, 7:13 am, Tom Atkins

[web2py] Apache wsgi virtualhost configuration for multiple web2py sites

2010-10-17 Thread Tom Atkins
I know this has been asked before but I've been unable to find a clear answer. (Apologies to Graham Dumpleton who must have answered this kind of question many times for Django etc but I can't work out how to do it for web2py) I have a Debian server set up and running web2py with mod_wsgi using

Re: [web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2010-10-17 Thread Tom Atkins
/$anything','/ app3/$anything'), ) On Oct 17, 5:21 pm, Tom Atkins minkto...@gmail.com wrote: I know this has been asked before but I've been unable to find a clear answer. (Apologies to Graham Dumpleton who must have answered this kind of question many times for Django etc but I can't work

Re: [web2py] Re: please help us test new web site

2010-10-12 Thread Tom Atkins
I vote A but with lower case like B - web2py - and perhaps a more stylish font? PS Great to see the effort going into this and the new site design - it will really help increase use of web2py (although it seems silly that aesthetics matter so much, it's a fact of life that they do).

Re: [web2py] Re: please help us test new web site

2010-10-12 Thread Tom Atkins
uh oh - getting carried away now: http://susweb.net/images/web2pylogo/

Re: [web2py] Re: please help us test new web site

2010-10-12 Thread Tom Atkins
sorry last post unless anyone would like more. i do miss the web2py orange. here's an idea for a site design which keeps the orange: http://susweb.net/images/web2pylogo/test/ and some alternative colours for the logo: http://susweb.net/images/web2pylogo/

[web2py] html5rocks.com

2010-10-12 Thread Tom Atkins
just for interest: http://www.html5rocks.com/ and http://slides.html5rocks.com

Re: [web2py] Learning Management System survey

2010-09-29 Thread Tom Atkins
I am very interested in a web2py Learning Management System (LMS). In fact this is a large part of why I am learning web2py: For the last 6 years I have been delivering courses using Moodle here in Ireland. When I started using Moodle it felt modern and impressive. 6 years later, Moodle feels

Re: [web2py] Re: welcome app normalize hack ie and html5 ready

2010-09-29 Thread Tom Atkins
Brilliant - many thanks Martin - this is very helpful and great to see web2py looking more beautiful. On 28 September 2010 23:29, Martin.Mulone mulone.mar...@gmail.com wrote: It's cost me a lot of time really, but I think i did it, after many try, i think the only way we have proper columns

Re: [web2py] Re: Learning Management System survey

2010-09-29 Thread Tom Atkins
The 'design flaw' relating to course content that you describe Massimo is a very important problem to solve. It comes up a lot in Moodle discussions - how can I reuse content (across courses and / or groups) but not have the wrong people access it at the wrong time. The new Moodle 2 has

Re: [web2py] Re: Problem with rss feed from wiki application in book

2010-09-26 Thread Tom Atkins
described by the book in chapter 3. Massimo On Sep 25, 12:34 pm, Tom Atkins minkto...@gmail.com wrote: I've just copied and pasted from the online book the wiki application in chapter 3. It all works great. I've added the function for the rss feed to controller/default.py and if I

[web2py] Problem with rss feed from wiki application in book

2010-09-25 Thread Tom Atkins
I've just copied and pasted from the online book the wiki application in chapter 3. It all works great. I've added the function for the rss feed to controller/default.py and if I go to: http://127.0.0.1:8000/mywiki/default/news I get a nice page showing the wiki entries. However if I go to:

Re: [web2py] Re: My editor ...

2010-08-19 Thread Tom Atkins
very impressive! hope you get time to continue to develop and agree with Massimo to release with web2py.

Re: [web2py] Re: suggestions for web2py website

2010-08-16 Thread Tom Atkins
+1 for a professional redesign of web2py.com - although it is a cosmetic thing I think you will be amazed how much more popular web2py will become with a stylish professional looking web2py.com. I'm willing to contribute money towards this if a fund is started. I know there are many excellent

Re: [web2py] Re: suggestions for web2py website

2010-08-16 Thread Tom Atkins
Forgot to say - a good aspect of the charlesproxy site design is the documentation - lots of information and subheadings but clean navigation. The excellent web2py book is nearly in this structure. If the design / foramatting matched the rest of web2py.com then :-) On 16 August 2010 13:01,