Re: How to use pshell?

2010-12-16 Thread Chris McDonough
On Dec 14, 2:42 am, Chris McDonough wrote: > > It's likely we should make registry a global in pshell for this purpose. I did this just now on the trunk. - C -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Felipe De Siqueira
Pyjamas is completely HTML5 compliant, supports SVG graphics and the HTML5 canvas. Whatever you want to do in HTML you still can BTW, just write it in the HTML(html) function and it will also not be compiled. Pyjamas uses tables not divs when it compiles it's own code but Python gives you complet

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Bruce Wade
I think you missed the point on 100% control, yes you might have complete DOM control but I also want optimized HTML without table bloat etc. Plus with HTML5 coming strong how would that work with pyjamas? On Thu, Dec 16, 2010 at 3:27 PM, Felipe De Siqueira < felipedesique...@gmail.com> wrote: >

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Felipe De Siqueira
A few things about Pyjamas... Anything you can do in javascript you can do in pyjamas. Including but not limited to... 1. Importing/using javascript libraries 2. Writing Javascript code inside the Python code (the pure javascript inside the in line Javascript function is simply not compiled) 3.

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Christoph Zwerschke
Am 16.12.2010 21:24 schrieb Bruce Wade: I agree with everything Jeremy says, plus using jQuery instead of pyjamas gives you 100% control over everything including your HTML. Maybe it is just a personal bias or because I come from a C/C++ programming world but I can't stand how some technology tri

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Eric Rasmussen
On the topic of frameworks I'm curious: has anyone tried Cappuccino? I'm not too keen on learning yet another language that compiles to Javascript (Objective-J), but their demos ( http://cappuccino.org/learn/demos/) are some of the most impressive I've seen. -Eric On Thu, Dec 16, 2010 at 12:58

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Iain Duncan
Also, I'm using Chameleon.zpt for templating. It's much faster than genshi, but for me, xml templating is way easier for ajax development. iain On Thu, Dec 16, 2010 at 12:51 PM, Iain Duncan wrote: > Interesting, my big project started as a Pylons and jQuery app, existed for > a while as a hybrid

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Iain Duncan
Interesting, my big project started as a Pylons and jQuery app, existed for a while as a hybrid Pylons/BFG and jQuery/Dojo thing, and then as it grew it just made more and more sense to do it entirely in Dojo and BFG. The whole ZCA thing really comes into it's own as the app gets bigger and more co

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Iain Duncan
I would register a dissenting opinion and say use Dojo if it's going to be a big, long lived app. I love jQuery for small projects, and projects where the ajax is essentially garnish. It's awesome for adding ajax goodness to a regular app and adding quick and dirty stuff without having to change yo

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Brian O'Connor
> The one comment that was made: "That being said, chances are if the web > site needs javascript to _function_, it's done wrong" is a bad statement > once again if the RIA requires WebGL how can you use a javascript framework > without javascript? > > > I said there were a few exceptions. If WebG

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Bruce Wade
I agree with everything Jeremy says, plus using jQuery instead of pyjamas gives you 100% control over everything including your HTML. Maybe it is just a personal bias or because I come from a C/C++ programming world but I can't stand how some technology tries to automate the UI. For example it wont

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Eric Rasmussen
I'll add that any developer from a non-Javascript background looking to learn Javascript should read The Good Parts by Douglas Crockford. It's only about 100 pages, and it is all you will need to learn the language and the best way to leverage Javascript's prototypal inheritance model in your codin

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Jean-mathieu Grimaldi
Hi As Brian said, jQuery could be your best friend. To start quickly : - some exercises with python json, learn how to render json with your pylons controllers : >> import json >> toto = { 'foo' : 1, 'bar': ('toto', 'abcd',)} >> print json.dumps(toto) - jQuery dom, ajax and json manipula

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Felipe De Siqueira
I second Gines recommendation. with Pyjamas you really don't have to write any javascript and HTML. The compiler works great as long as you are compiling pure Python. There are no compatibility issues with browsers since the compiler obscures that away producing multiple interface pages from you

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Marco Mariani
> However when I asked my users what they'd like to see in the next > version, one thing came up loud and clear : they want a rich internet > application. Which means more ajax. A lot more. The safe answer as of 2010 is "use jQuery", especially since they bundle it with the Microsoft VS stuff. N

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Brian O'Connor
Hi Jeremy, I've done quite a bit of AJAX programming on my web sites, and even a little COMET. If you were to only listen to one thing I say in my post, its this: use jQuery( http://jquery.com/ ). It may not be python like pyjamas is, but javascript is a VERY powerful language and it more than p

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Ginés Martínez
Of course, only local filesystem, referenced by file:// will fail. Solution (copied from http://pyjs.org/): - Launch Google Chrome with the additional parameter --allow-file-access-from-files (or --disable-web-security, if you want to be rude), e.g. google-chrome --allow-file-access-f

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Jeremy Morel
Bruce: Unfortunately, the chapter on javascript in the Pylons Book only covers basic uses of javascript. It goes into ajax, but never enters the topic of building and designing a large AJAX app. It describes the basic technologies, not how to use them in a larger project. It teaches good masonry, b

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Bruce Wade
Ignore my last response it is 4:55am here I am clearly tired/blind. On Thu, Dec 16, 2010 at 4:54 AM, Bruce Wade wrote: > Wow that looks pretty good, what is the license on that? I didn't notice it > on the site. > > > On Thu, Dec 16, 2010 at 4:48 AM, Mengu wrote: > >> hi jeremy, >> >> i recomme

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Bruce Wade
Wow that looks pretty good, what is the license on that? I didn't notice it on the site. On Thu, Dec 16, 2010 at 4:48 AM, Mengu wrote: > hi jeremy, > > i recommend you using Qooxdoo. it is, simply, the greatest RIA > JavaScript framework with exclusive GUI toolkit. It also has Python > RPC which

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Mengu
hi jeremy, i recommend you using Qooxdoo. it is, simply, the greatest RIA JavaScript framework with exclusive GUI toolkit. It also has Python RPC which you can use. see qooxdoo at: http://qooxdoo.org if you face any problems with integrating qooxdoo and pylons, just let me know. On Dec 16, 1:26

Create a map of controllers

2010-12-16 Thread Lukasz Szymanski
Hi guys, the same as title. Is it possible to create a map of controllers in a project , and how? Something similar to Djangos backend module. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Bruce Wade
Are there any large/serious applications done with pyjamas? On Thu, Dec 16, 2010 at 3:51 AM, Ginés Martínez wrote: > Here http://pyjs.org/wiki/pyjamaswithpylonsjsonrpc/ you have how integrate > it in pylons. > > > 2010/12/16 Ginés Martínez > > See http://pyjs.org/. It's a porting of GWT. >> Che

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Ginés Martínez
Here http://pyjs.org/wiki/pyjamaswithpylonsjsonrpc/ you have how integrate it in pylons. 2010/12/16 Ginés Martínez > See http://pyjs.org/. It's a porting of GWT. > Cheers. > > 2010/12/16 Bruce Wade > > This is a good start: >> http://pylonsbook.com/en/1.1/css-javascript-and-ajax.html?highlight

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Ginés Martínez
See http://pyjs.org/. It's a porting of GWT. Cheers. 2010/12/16 Bruce Wade > This is a good start: > http://pylonsbook.com/en/1.1/css-javascript-and-ajax.html?highlight=ajax > > I > am in the same situation though, I need

Re: Building a RIA with Pylons and Ajax

2010-12-16 Thread Bruce Wade
This is a good start: http://pylonsbook.com/en/1.1/css-javascript-and-ajax.html?highlight=ajax I am in the same situation though, I need to make heavy use of AJAX for my next application. My current app is in Django however

Building a RIA with Pylons and Ajax

2010-12-16 Thread Jeremy
Hello, This thread is going to be a little off topic, I'm sorry for that, but I have no idea of who to ask or where to start with my problem. I've been developing for a few years now a simple issue tracking system called Naphtaline (www.naphtaline.net) which aims at providing non tech audiences w