473,507 Members | 6,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

So you think PythonCard is old? Here's new wine in an old bottle.

For serveral years, I have been looking for a way to migrate away from
desktop GUI/client-server programming onto the browser based network
computing model of programming. Unfortunately, up until recently,
browser based programs are very limited - due to the limitation of
HTML itself. Eventhough PythonCard hasn't keep up with the latest
widgets in wxpython, the programs so created still works a lot better
- until now.

If you look at programs at some of the major sites these days - like
Google calendar, Netflix, blockbuster, and so forth - you would
undoubtedly notice that the quality of the programs are pretty much at
par with the desktop programs we use everyday. Since the curious mind
wanted to know how these programs are done, I started investigating
and found out that what a difference a few years have made to
Javascript - the once much hated beast of the Internet age - and
during my search for perfection, I found Qooxdoo (http://
qooxdoo.org/).

Qooxdoo is a Javascript toolkit that sits on top of Ajax. Take a look
at some of the *impressive* widgets
at http://demo.qooxdoo.org/current/showcase/#Form.

So, what's that got to do with Pythoncard? Read on.

After trying for a few days learning Qooxdoo, my head really really
hurts. Getting too old to learn this stuff, I was mumbling.

Then I looked some more. I found QxTransformer (http://
sites.google.com/a/qxtransformer.org/qxtransformer/Home) which is a
XSLT toolkit that creats XML code that invoke qooxdoo.

So, what's that got to do with Pythoncard? Read on.

After trying for a few days learning QxTransformer, my head really
really hurts. Getting too old to learn
this stuff, I was mumbling.

I want Pythoncard.

Damn Pythoncard! Once you got hooked, everything else looks
impossibly complicated and unproductive.

But then I looked closer. It turns out the XML file created by
QxTransformer is *very* similar in structure when compared to the
resource files used in PythonCard. Since there are no GUI builders
for QxTransformer, and I can't affort to buy the one for Qooxdoo
(Java! Yuk!), I decided to roll up my sleeves, took the Pythoncard's
Layout Manager and modified it and created my own "Poor Man's Qooxdoo
GUI Layout Designer".

The result? See the partially completed application at:

http://test.powersystemadvisors.com/

and the same application running from the desktop:

http://test.powersystemadvisors.com/...HelloWorld.jpg

It shouldn't be long before I can fill in the gaps and have the GUI
builder maps the rest of the Pythoncard widgets to Qooxdoo widgets.
Once I've done that, I can have the same application running from the
desktop, or from the browser. And it shouldn't take more than minutes
to create such applications.

Welcome to the modernized world of Pythoncard!!!
Jun 27 '08 #1
24 2346
In article <90**********************************@h1g2000prh.g ooglegroups.com>,
John Henry <jo**********@hotmail.comwrote:
>
But then I looked closer. It turns out the XML file created by
QxTransformer is *very* similar in structure when compared to the
resource files used in PythonCard. Since there are no GUI builders
for QxTransformer, and I can't affort to buy the one for Qooxdoo
(Java! Yuk!), I decided to roll up my sleeves, took the Pythoncard's
Layout Manager and modified it and created my own "Poor Man's Qooxdoo
GUI Layout Designer".
Cute! When you have working code, please do upload to PyPI.
--
Aahz (aa**@pythoncraft.com) <* http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?
Jun 27 '08 #2
On Apr 26, 8:46 am, a...@pythoncraft.com (Aahz) wrote:
In article <9028496e-30de-4853-8f57-b55d14e52...@h1g2000prh.googlegroups.com>,
John Henry <john106he...@hotmail.comwrote:
But then I looked closer. It turns out the XML file created by
QxTransformer is *very* similar in structure when compared to the
resource files used inPythonCard. Since there are no GUI builders
for QxTransformer, and I can't affort to buy the one for Qooxdoo
(Java! Yuk!), I decided to roll up my sleeves, took thePythoncard's
Layout Manager and modified it and created my own "Poor Man's Qooxdoo
GUI Layout Designer".

Cute! When you have working code, please do upload to PyPI.
--
Aahz (a...@pythoncraft.com) <* http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?
So far, I have the following widgets working:

window, button, checkbox, static text, static box, list, combobox,
spinner, radio button group

Shouldn't be long before the following works:

static line, image, image button, choice.

Jun 27 '08 #3
On Apr 26, 5:03*pm, John Henry <john106he...@hotmail.comwrote:
On Apr 26, 8:46 am, a...@pythoncraft.com (Aahz) wrote:


In article <9028496e-30de-4853-8f57-b55d14e52...@h1g2000prh.googlegroups..com>,
John Henry *<john106he...@hotmail.comwrote:
>But then I looked closer. *It turns out the XML file created by
>QxTransformer is *very* similar in structure when compared to the
>resource files used inPythonCard. *Since there are no GUI builders
>for QxTransformer, and I can't affort to buy the one for Qooxdoo
>(Java! *Yuk!), I decided to roll up my sleeves, took thePythoncard's
>Layout Manager and modified it and created my own "Poor Man's Qooxdoo
>GUI Layout Designer".
Cute! *When you have working code, please do upload to PyPI.
--
Aahz (a...@pythoncraft.com) * * * * * <** * * *http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?

So far, I have the following widgets working:

window, button, checkbox, static text, static box, list, combobox,
spinner, radio button group

Shouldn't be long before the following works:

static line, image, image button, choice.- Hide quoted text -

- Show quoted text -
Should static text GUI class support the operations of a string?
Jun 27 '08 #4
On Apr 26, 4:05 pm, castiro...@gmail.com wrote:
On Apr 26, 5:03 pm, John Henry <john106he...@hotmail.comwrote:
On Apr 26, 8:46 am, a...@pythoncraft.com (Aahz) wrote:
In article <9028496e-30de-4853-8f57-b55d14e52...@h1g2000prh.googlegroups.com>,
John Henry <john106he...@hotmail.comwrote:
But then I looked closer. It turns out the XML file created by
QxTransformer is *very* similar in structure when compared to the
resource files used inPythonCard. Since there are no GUI builders
for QxTransformer, and I can't affort to buy the one for Qooxdoo
(Java! Yuk!), I decided to roll up my sleeves, took thePythoncard's
Layout Manager and modified it and created my own "Poor Man's Qooxdoo
GUI Layout Designer".
Cute! When you have working code, please do upload to PyPI.
--
Aahz (a...@pythoncraft.com) <* http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
So far, I have the following widgets working:
window, button, checkbox, static text, static box, list, combobox,
spinner, radio button group
Shouldn't be long before the following works:
static line, image, image button, choice.- Hide quoted text -
- Show quoted text -

Should static text GUI class support the operations of a string?
Say what?
Jun 27 '08 #5
On Apr 26, 3:03*pm, John Henry <john106he...@hotmail.comwrote:
On Apr 26, 8:46 am, a...@pythoncraft.com (Aahz) wrote:


In article <9028496e-30de-4853-8f57-b55d14e52...@h1g2000prh.googlegroups..com>,
John Henry *<john106he...@hotmail.comwrote:
>But then I looked closer. *It turns out the XML file created by
>QxTransformer is *very* similar in structure when compared to the
>resource files used inPythonCard. *Since there are no GUI builders
>for QxTransformer, and I can't affort to buy the one for Qooxdoo
>(Java! *Yuk!), I decided to roll up my sleeves, took thePythoncard's
>Layout Manager and modified it and created my own "Poor Man's Qooxdoo
>GUI Layout Designer".
Cute! *When you have working code, please do upload to PyPI.
--
Aahz (a...@pythoncraft.com) * * * * * <** * * *http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?

So far, I have the following widgets working:

window, button, checkbox, static text, static box, list, combobox,
spinner, radio button group

Shouldn't be long before the following works:

static line, image, image button, choice.- Hide quoted text -

- Show quoted text -
All of the above works!

TextFields next.
Jun 27 '08 #6
On Apr 26, 11:04*pm, John Henry <john106he...@hotmail.comwrote:
On Apr 26, 3:03*pm, John Henry <john106he...@hotmail.comwrote:


On Apr 26, 8:46 am, a...@pythoncraft.com (Aahz) wrote:
In article <9028496e-30de-4853-8f57-b55d14e52...@h1g2000prh.googlegroups.com>,
John Henry *<john106he...@hotmail.comwrote:
But then I looked closer. *It turns out the XML file created by
QxTransformer is *very* similar in structure when compared to the
resource files used inPythonCard. *Since there are no GUI builders
for QxTransformer, and I can't affort to buy the one for Qooxdoo
(Java! *Yuk!), I decided to roll up my sleeves, took thePythoncard's
Layout Manager and modified it and created my own "Poor Man's Qooxdoo
GUI Layout Designer".
Cute! *When you have working code, please do upload to PyPI.
--
Aahz (a...@pythoncraft.com) * * * * * <** * * *http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
So far, I have the following widgets working:
window, button, checkbox, static text, static box, list, combobox,
spinner, radio button group
Shouldn't be long before the following works:
static line, image, image button, choice.- Hide quoted text -
- Show quoted text -

All of the above works!

TextFields next.- Hide quoted text -

- Show quoted text -
Actually, I was asking what operations you chose to support in 'static
text'. Additional Python methods of strings could be made to work on
them.
Jun 27 '08 #7
John,

This is very interesting! Please do make this available. I love
PythonCard, but I am doing mainly web programming these days.

I will mention this on my next podcast. Can you do a slider?

Ron Stephens
Python411 www.awaretek.com/python/index.html
Jun 27 '08 #8
John Henry <jo**********@hotmail.comsaid :
Welcome to the modernized world of Pythoncard!!!
Hey, that's really neat !

I remember dabbling in Pythoncard in the early days, some years ago, it was
a very interesting project. I gave it up eventually, partly because it
seemed somewhat abandoned (I see it's still stuck in 2006 ?), but mostly
because the wxPython dependency was either unavailable or too hefty for the
sort of machines I was interested in using it on (a Sharp Zaurus then, now
Nokia Internet tablets). Since then I've been doing web apps instead,
hosted and used on the devices themselves.

So using Pythoncard as a designer for web apps, of course that rings a
bell...

Do you have any idea of the computing requirements of Qooxdoo and
QxTransformer, compared to a native Pythoncard app ? I wonder if your stuff
would run acceptably on today's mobile platforms (the Nokias have a Firefox
derivative that is reasonably competent at javascript), and would give it a
try if it's not too arcane.

Do keep us posted !

TIA,
fp
Jun 27 '08 #9
On Apr 27, 11:36 am, Ron Stephens <aware...@gmail.comwrote:
John,

This is very interesting! Please do make this available. I love
PythonCard, but I am doing mainly web programming these days.

I will mention this on my next podcast. Can you do a slider?

Ron Stephens
Python411www.awaretek.com/python/index.html
Not sure if Qooxdoo supports slider yet. I have to ask.
Jun 27 '08 #10
On Apr 27, 12:23 pm, Fred Pacquier <xne...@fredp.lautre.netwrote:
John Henry <john106he...@hotmail.comsaid :
Welcome to the modernized world of Pythoncard!!!

Hey, that's really neat !

I remember dabbling in Pythoncard in the early days, some years ago, it was
a very interesting project. I gave it up eventually, partly because it
seemed somewhat abandoned (I see it's still stuck in 2006 ?), but mostly
because the wxPython dependency was either unavailable or too hefty for the
sort of machines I was interested in using it on (a Sharp Zaurus then, now
Nokia Internet tablets). Since then I've been doing web apps instead,
hosted and used on the devices themselves.

So using Pythoncard as a designer for web apps, of course that rings a
bell...

Do you have any idea of the computing requirements of Qooxdoo and
QxTransformer, compared to a native Pythoncard app ? I wonder if your stuff
would run acceptably on today's mobile platforms (the Nokias have a Firefox
derivative that is reasonably competent at javascript), and would give it a
try if it's not too arcane.

Do keep us posted !

TIA,
fp
The performance of Qooxdoo is quite amazing - for a Javascript based
web application. Don't know about cell-phones though. You can try
their showcase web site I cited earlier.

Yes, who would have throught we don't have to give up on Pythoncard?
Jun 27 '08 #11
John Henry <jo**********@hotmail.comsaid :
The performance of Qooxdoo is quite amazing - for a Javascript based
web application. Don't know about cell-phones though. You can try
their showcase web site I cited earlier.
Just for the record, Nokia Internet tablets (770, N800, N810) are the only
things made by Nokia that are not cell-phones... They're ARM machines with
a 800x480 4" screen, Wifi, Bluetooth, and Linux. And Python, pyGTK and
Pygame. Probably pyQt next as they just bought Trolltech. But no wxPython.

I was not speaking of running just the client part in the device's browser,
either - but the full Monty (haha) with the web server and the application
engine, python, middleware and all. I'm doing it right now using a full-
blown framework (web2py), so it's not unreasonable. There's no Ajax in
there though, so I'm wondering what kind of impact those tools you mention
would have, server side.
Yes, who would have throught we don't have to give up on Pythoncard?
Proof of superior vision, architecture and design, all that time ago...
Jun 27 '08 #12
On Apr 27, 12:23 pm, Fred Pacquier <xne...@fredp.lautre.netwrote:
>
Do keep us posted !

TIA,
fp
Check it out now.

Only one to be added is the Multicolumn List (table), and then menus.
The other widgets (Togglebutton, BitmapCanvas, Gauge, Notebook,
CodeEditor) will not be implemented initially.

http://test.powersystemadvisors.com
Jun 27 '08 #13
On Apr 28, 12:41 pm, John Henry <john106he...@hotmail.comwrote:
On Apr 27, 12:23 pm, Fred Pacquier <xne...@fredp.lautre.netwrote:
Do keep us posted !
TIA,
fp

Check it out now.

Only one to be added is the Multicolumn List (table), and then menus.
The other widgets (Togglebutton, BitmapCanvas, Gauge, Notebook,
CodeEditor) will not be implemented initially.

http://test.powersystemadvisors.com
table and menus all work
Jun 27 '08 #14
Hi,

I am one of the two developers working on the xml-to-javascript
converter (qxtransformer) John has mentioned and we are thrilled that
our project has found a use in the PythonCard community.

However, we have a problem getting PythonCard to work on our Macs (Mac
OS 10.5 Leopard). We should probably be asking this on the PythonCard
help list, but since the list seems to be somewhat deserted (very few
posts) and John is active here and people seem to be using PythonCard,
maybe someone has an idea. It might be very simple and stupid - I have
never worked with python before.

I am using
- PythonCard 0.8.2 release on Leopard, which is copied by setup.py to /
Library/Python/2.5/site-packages
- John's layoutEditor package, (http://qxtransformer.googlegroups.com/
web/layoutEditor.zip)

PythonCard email list says that Leopard and PythonCard 0.8.2 seem to
like each other generally:

http://sourceforge.net/mailarchive/f...thoncard-users

and I can get the examples working. However, when I start John's
modified layoutEditor.py, I get an empty window and the following
error is thrown:

no resource file for /Users/bibliograph/Programme/PythonCard/tools/
layoutEditor/multipropertyEditor
Traceback (most recent call last):
File "/BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/
Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-
unicode/wx/_core.py", line 14095, in <lambda>
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 153, in on_initialize
self.propertyEditorWindow = model.childWindow(self,
PropertyEditor)
File "/Library/Python/2.5/site-packages/PythonCard/model.py", line
213, in childWindow
rsrc = resource.ResourceFile(filename).getResource()
File "/Library/Python/2.5/site-packages/PythonCard/resource.py",
line 45, in __init__
self.dictionary = util.readAndEvalFile(rsrcFileName)
File "/Library/Python/2.5/site-packages/PythonCard/util.py", line
39, in readAndEvalFile
f = open(filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found

there is a file PythonCard/tools/layoutEditor/modules/
multipropertyEditor.rsrc.py

When I resize the window, I get the following errors

Tue Apr 29 10:48:08 noname Python[40440] <Error>: CGContextConcatCTM:
invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>: CGContextSaveGState:
invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>: doClip: invalid
context
Tue Apr 29 10:48:08 noname Python[40440] <Error>: CGContextSaveGState:
invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>:
CGContextSetBlendMode: invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>:
CGContextSetShouldAntialias: invalid context
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/PythonCard/model.py", line
884, in _dispatch
handler(background, aWxEvent)
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 560, in on_size
self.createDC()
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 556, in createDC
dc.SetLogicalFunction(wx.INVERT)
File "/BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/
Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-
unicode/wx/_gdi.py", line 4079, in SetLogicalFunction
wx._core.PyAssertionError: C++ assertion "status == noErr" failed
at ../src/mac/carbon/graphics.cpp(1324) in EnsureIsValid(): Cannot
nest wxDCs on the same window

Thanks for any pointers,

Christian
Jun 27 '08 #15
On Apr 29, 1:57 am, Panyasan <c.boulan...@qxtransformer.orgwrote:
Hi,

I am one of the two developers working on the xml-to-javascript
converter (qxtransformer) John has mentioned and we are thrilled that
our project has found a use in the PythonCard community.

However, we have a problem getting PythonCard to work on our Macs (Mac
OS 10.5 Leopard). We should probably be asking this on the PythonCard
help list, but since the list seems to be somewhat deserted (very few
posts) and John is active here and people seem to be using PythonCard,
maybe someone has an idea. It might be very simple and stupid - I have
never worked with python before.

I am using
- PythonCard 0.8.2 release on Leopard, which is copied by setup.py to /
Library/Python/2.5/site-packages
- John's layoutEditor package, (http://qxtransformer.googlegroups.com/
web/layoutEditor.zip)

PythonCard email list says that Leopard and PythonCard 0.8.2 seem to
like each other generally:

http://sourceforge.net/mailarchive/f...e=EE5213D5-A00...

and I can get the examples working. However, when I start John's
modified layoutEditor.py, I get an empty window and the following
error is thrown:

no resource file for /Users/bibliograph/Programme/PythonCard/tools/
layoutEditor/multipropertyEditor
Traceback (most recent call last):
File "/BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/
Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-
unicode/wx/_core.py", line 14095, in <lambda>
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 153, in on_initialize
self.propertyEditorWindow = model.childWindow(self,
PropertyEditor)
File "/Library/Python/2.5/site-packages/PythonCard/model.py", line
213, in childWindow
rsrc = resource.ResourceFile(filename).getResource()
File "/Library/Python/2.5/site-packages/PythonCard/resource.py",
line 45, in __init__
self.dictionary = util.readAndEvalFile(rsrcFileName)
File "/Library/Python/2.5/site-packages/PythonCard/util.py", line
39, in readAndEvalFile
f = open(filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found

there is a file PythonCard/tools/layoutEditor/modules/
multipropertyEditor.rsrc.py

When I resize the window, I get the following errors

Tue Apr 29 10:48:08 noname Python[40440] <Error>: CGContextConcatCTM:
invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>: CGContextSaveGState:
invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>: doClip: invalid
context
Tue Apr 29 10:48:08 noname Python[40440] <Error>: CGContextSaveGState:
invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>:
CGContextSetBlendMode: invalid context
Tue Apr 29 10:48:08 noname Python[40440] <Error>:
CGContextSetShouldAntialias: invalid context
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/PythonCard/model.py", line
884, in _dispatch
handler(background, aWxEvent)
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 560, in on_size
self.createDC()
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 556, in createDC
dc.SetLogicalFunction(wx.INVERT)
File "/BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/
Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-
unicode/wx/_gdi.py", line 4079, in SetLogicalFunction
wx._core.PyAssertionError: C++ assertion "status == noErr" failed
at ../src/mac/carbon/graphics.cpp(1324) in EnsureIsValid(): Cannot
nest wxDCs on the same window

Thanks for any pointers,

Christian
Christian,

It appears you're missing a file. Where did you placed my program? I
see that there are two places being mentioned:
no resource file for /Users/bibliograph/Programme/PythonCard/tools/
layoutEditor/multipropertyEditor
and
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 556, in createDC
Jun 27 '08 #16
Christian,

It appears you're missing a file. Where did you placed my program? I
see that there are two places being mentioned:
no resource file for /Users/bibliograph/Programme/PythonCard/tools/
layoutEditor/multipropertyEditor

and
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 556, in createDC
I unzipped the folder you uploaded and placed it in the PythonCard/
tools folder. I get the same error if I try to start the default
resourceEditor.py or layoutEditor.py scripts, so it does not seem to
have to do with your modifications.
When I copy multipropertyEditor.rsrc.py files from PythodCard/tools/
resourceEditor/modules folder to PythodCard/tools/resourceEditor/, it
will throw the error about a different file - might this be some kind
of PATH error?

C.
Jun 27 '08 #17
On Apr 29, 8:28 am, Panyasan <c.boulan...@qxtransformer.orgwrote:
Christian,
It appears you're missing a file. Where did you placed my program? I
see that there are two places being mentioned:
no resource file for /Users/bibliograph/Programme/PythonCard/tools/
layoutEditor/multipropertyEditor
and
File "/Library/Python/2.5/site-packages/PythonCard/tools/
layoutEditor/layoutEditor.py", line 556, in createDC

I unzipped the folder you uploaded and placed it in the PythonCard/
tools folder. I get the same error if I try to start the default
resourceEditor.py or layoutEditor.py scripts, so it does not seem to
have to do with your modifications.
When I copy multipropertyEditor.rsrc.py files from PythodCard/tools/
resourceEditor/modules folder to PythodCard/tools/resourceEditor/, it
will throw the error about a different file - might this be some kind
of PATH error?

C.
It certainly looks like it's not finding a file. Not knowing Mac or
Linux, I don't know how files are searched.

There are a whole bunch of test programs that comes with Pythoncard.
Do they work? (Not all of them will work - some requires a database)
Jun 27 '08 #18
On 29 Apr., 18:17, John Henry <john106he...@hotmail.comwrote:
>
There are a whole bunch of test programs that comes with Pythoncard.
Do they work? (Not all of them will work - some requires a database)
Yes, the examples work. Just the resourceEditor.py and the
layoutEditor.py in the distributed version and your modified
layoutEditor.py don't.
Jun 27 '08 #19
On 29 Apr., 20:30, Panyasan <c.boulan...@qxtransformer.orgwrote:
On 29 Apr., 18:17, John Henry <john106he...@hotmail.comwrote:
There are a whole bunch of test programs that comes with Pythoncard.
Do they work? (Not all of them will work - some requires a database)

Yes, the examples work. Just the resourceEditor.py and the
layoutEditor.py in the distributed version and your modified
layoutEditor.py don't.
Ok, here is how it works for me: copy all the *.rsrc.py from the
modules subdirectory to the parent directory. This works for the
standard resourceEditor folder and your custom layoutEditor folder.
What the heck. Now I can deal with more productive things...
Jun 27 '08 #20
On Apr 29, 1:16 pm, Panyasan <c.boulan...@qxtransformer.orgwrote:
On 29 Apr., 20:30, Panyasan <c.boulan...@qxtransformer.orgwrote:
On 29 Apr., 18:17, John Henry <john106he...@hotmail.comwrote:
There are a whole bunch of test programs that comes with Pythoncard.
Do they work? (Not all of them will work - some requires a database)
Yes, the examples work. Just the resourceEditor.py and the
layoutEditor.py in the distributed version and your modified
layoutEditor.py don't.

Ok, here is how it works for me: copy all the *.rsrc.py from the
modules subdirectory to the parent directory. This works for the
standard resourceEditor folder and your custom layoutEditor folder.
What the heck. Now I can deal with more productive things...
Mmmmmm...this is a Mac thing.
Jun 27 '08 #21
John, you are the man
during my search for perfection, I found Qooxdoo (http://qooxdoo.org/).

...

I found QxTransformer (http://sites.google.com/a/qxtransfor...ansformer/Home) which is a
XSLT toolkit that creats XML code that invoke qooxdoo.
Qooxdoo is indeed really impressive. But I read that YAHOO will serve
the javascript files for you from their CDN when you use YUI, for
free, and that's no peanuts, so I wonder, did you find anything at all
like that that could be used with YUI?

I have evaluated XForms, Laszlo, Flex, ZK, ... but I have to say
QxTransformer is the cleverest solution I have found so far (thanks to
you). I love it.

I want Pythoncard.
I feel with you

Thanks!
Jaime
Jun 27 '08 #22
On May 5, 11:04 am, jbarci...@gmail.com wrote:
John, you are the man
during my search for perfection, I found Qooxdoo (http://qooxdoo.org/).
...
I found QxTransformer (http://sites.google.com/a/qxtransfor...ansformer/Home) which is a
XSLT toolkit that creats XML code that invoke qooxdoo.

Qooxdoo is indeed really impressive. But I read that YAHOO will serve
the javascript files for you from their CDN when you use YUI, for
free, and that's no peanuts, so I wonder, did you find anything at all
like that that could be used with YUI?
Sorry but I don't know any of this. I am pretty new to web
programming.
I have evaluated XForms, Laszlo, Flex, ZK, ... but I have to say
QxTransformer is the cleverest solution I have found so far (thanks to
you). I love it.
I want Pythoncard.

I feel with you
I have done quite a bit of work to improve things. We are now
officially calling the project PyQooxCard. See:

http://sites.google.com/a/qxtransfor...ansformer/Home

I put together my first app which took less than a day. Not bad
because there are 36 screens, and over 100 data fields. See:

http://epc.powersystemadvisors.com

3 cheers to PythonCard.

Thanks!
Jaime
Jun 27 '08 #23
Have you shown this stuff to the google AppEngine folks!
Thats being touted as the thing that'll make web-2 easy

but you have to write code (Python) which will turn off 99% of
possible users.

What made Hypercard really great (and Supercard on DOS, and the new
clones like Revolution) is that it was a drag-n-drop GUI designer, it
"built-in" the data storage (persistence layer is what we call it now)
it was INTEGRATED, (you only had to get the one thing, not heinz-57-
bloody-pieces) and it used an easily-readable interpreted programming
language.

App-Engine has the persistence, and the integration, its missing the
others and without them it'll never be great.

call those guys, they need you!
I need your stuff on their infrastructure. THAT would be worth a case
of champagne.
Jun 27 '08 #24
On May 30, 9:50 am, p...@ulkarodgers.com wrote:
Have you shown this stuff to the google AppEngine folks!
Thats being touted as the thing that'll make web-2 easy
App-Engine has the persistence, and the integration, its missing the
others and without them it'll never be great.
Google App Engine is _only_ focused on providing a framework for
scaleable apps, the GUI end is left entirely up to the developer (and
really _shouldn't_ be integrated at that level, IMO).

There's nothing preventing you from building something on top of GAE
that does what you want; using their AJAX Libraries API is a good
place to start: http://code.google.com/apis/ajaxlibs/
Jun 27 '08 #25

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1302
by: Ron Stephens | last post by:
Thanks, Tony, we long term newbies need to stick together ;-)) I just updated a few PythonCard versions of three of the modules from askMerlin, and posted them in a link right below the...
2
2066
by: Adrian Smith | last post by:
I am using pythoncard 0.7.2 for windows. I am trying to use the same code for a large number of buttons so started out by using def on_mouseDown(self,event): but then I need to display the...
0
1051
by: PipedreamerGrey | last post by:
I'm trying to create a standalone version (.exe) of PythonCard's Custdb sample using Py2Exe version 0.5.0. Everytime I attempt to compile the program, I get an error during compilation. This is...
3
1641
by: Deltones | last post by:
Hi all, I'm just getting into Python/wxPython/Pythoncard and I'm trying the tutorial from this page: http://pythoncard.sourceforge.net/walkthrough1.html Is it me who's totally dense or...
1
1713
by: Varun Hiremath | last post by:
Hello everybody, I was trying to install pythoncard on my system and I got this error. I am using an unstable version of Debian. Can someone tell me what the error could be. Is it because I am...
1
1953
by: jlocc | last post by:
Hi!! I am working on a school project and I decided to use PythonCard and wxPython for my GUI development. I need a password window that will block unwanted users from the system. I got the...
2
1504
by: loren.davie | last post by:
Hi, I'm attempting to build a small app that uses pythoncard for a gui layer. The intention is to use py2app to construct an .app bundle for the Mac. I'm running OS 10.4 on an Intel MacBook...
4
2341
by: Tequila | last post by:
I'm having some trouble starting PythonCard on my PC. I've downloaded and ran python-2.5.msi to install Python on my machine. And PythonCard-0.8.2.win32.exe to install PythonCard. When I try...
8
2050
by: king kikapu | last post by:
Hi to all folks here, i downloaded and "playing" with PythonCard and i just want to share my thoughts so maybe we can discuss a little about it. I was used to wxGlade before and i think...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.