Re: Frameworks for "Non-Content Oriented Web Apps"

2005-01-02 Thread paolo_veronelli
[EMAIL PROTECTED] wrote:
I have started a topic that is really vauge. I knew that this topic is
very general and abstract but I think it turned out to be more general
that I had expected.
Let me make an attemp at defining "Non-Content Oriented Web
Applications".
A "Non-Content Oriented Web Application":
(1) will be accessed from web browser(obviously).
(2) will be developed using 'W3C' and other open standards(STRICTLY, to
ensure compatibility and portablity).
(3) will expose some kind of functionality to the user, not just some
document to read.
(4) functionality can be very simple to very complex.
I sat down to define what I actually mean by "Non-Content Oriented Web
Applications" with a fairly clear idea, But suddenly every thing
vanished from my mind, "OH MY GOD, I AM OUT OF WORDS". I think all of
you have been i such situation at least once. So please help me in
defining these  "Non-Content Oriented Web Applications". To give a
example, I think GMAIL comes quite close to what I am talking aout.
 

Well,this is what we are working on,about  point 2) 1) ~3) ~4) ,but I
really don't think it has something strongly related with gmail.
We are using nevow and rdf,mainly.Nevow for rendering  pages,and rdf to
build them on the fly.
Probably,what I find related to your questions  in this project is the
open  server ontology we are trying to build.
Eventually ontologies and semantics have nothing to do with python core(
:-(( ),but with a good scripting language it's easy to mix semantic net
querying  with   pages ,rendering  technical, nevow code.
This way functionalities of the service are changed,and built during the
service run,just adding triples to the semantic net and changing the
contents sticked to its nodes.
We hope to have code in the contents of the semantic net soon.This will
allow to upload a piece of code ,some templates,together with the right
metadatas in the semantic net
and see the service implied running around in the pages which URI is
matched by the pattern coded in the metadata of the service.
It's not clear to me also,but this is how it works:using semantic
matching(which can be very complex) to decide the interface to
information pieces an URL renders.
Last but not least,all the informations ,their logic and the rendering
engine end functionalities(templates and their specific code),are
distribuited as definition as the reside in the semantic net service.My
poor english(and stoned mind).
I hope I got something of your lost words,have fun and have a look at
www.pytypus.org.
Yours
--
http://mail.python.org/mailman/listinfo/python-list


Re: Frameworks for "Non-Content Oriented Web Apps"

2005-01-04 Thread paolo_veronelli
[EMAIL PROTECTED] wrote:
Hi,
There are great Python Web Application Framework. But most of them are
meant for content oriented web apps.
Is there something that can ease the development of application that
are not content oriented(I call them "NON CONTENT-ORIENTED WEB
APPLICATIONS" because I don't know what else to call them). I mean the
applications like, accounting,  high volume data entry apps,  where
normally GUI clients have ruled. I know very high quality ERP and
similar packages have been implemented in a web based environment. But
problem is that they have been developed with the tools that were
actually meant for content oriented apps like Zope, PHP, etc.
But is there some sort of framework or something that is actually meant
for such web apps,application that make heavy use of forms, have very
high amount of user interaction etc.
What I am asking here may sound off beat, but I think, in todays world
where web based solutions offers such a flexibility, we really need it.
I also know that I am to ambiguous, but as is the characteristic of
this wonderful community, talks that start as most abigous, transform
in crystal clear.
PS: I am a web developer, using PHP for living. I have been playing
with python for a while. I found python is really a cool language(do I
need to say that ;-)) with a really, really impressive collection of
modules and frameworks. While developing a school information system, I
felt the need of such a framework that makes developing of "Non-Content
Oriented Web-Apps" easy.
I know I posted a similar message earlier, but this time I a bit more
general.
 

In pytypus everything is not content is metadata( a part from some of 
the code ,which part is useful for accessing informations) ,so my 
definition will simply be metadata oriented.

--
http://mail.python.org/mailman/listinfo/python-list


interface like behavior for mudules

2005-02-18 Thread paolo_veronelli
Hello  pyple,
I have two modules :remote.py  and local.py which have some classes with 
the same names specifically one we can call Model.So it exist 
remote.Model class and local.Model class

A third module called uri.py  derives some of its classes from a not 
better specified repository.Model

at the beginning of uri.py I can write 'import local as repository' or 
'import remote as repository'. In either cases the module uri is ready 
to be imported from a fourth module

Now I have two applications ,say applocal.py and appremote.py. Both 
import uri as a module ,but the first wants uri to have imported local 
as repository and the second wants uri to have imported remote as 
repository.

In pseudo language applocal.py would have 'import uri with local as 
repository'  at the beginning and appremote.py would have 'import uri 
with remote as repository'

I wonder if there is a way to keep uri unique,because as it is now I 
have to keep two modules,say urilocal and uriremote which differs only 
for a line at the top.

I suppose __import__ is there to help me, but I have no idea on how.
Hope I have been clear,thanks for considerations and help
Yours Paolino
--
http://mail.python.org/mailman/listinfo/python-list