Re: [Zope] anyone heard of Zamasing?

2008-04-17 Thread Philip Kilner

Hi Tim,

Tim Nash wrote:

 @Phil,
   I think you will find the "product" learning curve isn't that steep
at all. The famous z-shaped curve has more to do with the lack of
up-to-date documentation than anything else. Products are the way to
go. It is very much like wriitng 'Scripts Python'. I am going to put a
simple 'boring' product on the zope.org site (if they let me) which
will show how to use zope and extjs for anyone who is interested.
Looking forward to your "proof of concept"



Know it is the way to go - seems hard because I'm an RDBMS developer not 
a Python coder, has been a long time coming as the stuff I do in the ZMI 
really is mostly "glue" - not so complex that the classic management 
issues of ZMI have bitten me particularly hard.


Motivation for going Products route is need to share (and thus improve!) 
ideas, and need to package code up for use by others as we grow our 
business. Starting point is currently the "Beta Boring" product by 
Betabug (Thanks Sascha!)


Am taking a week's break from my consulting gig next week, so will be on 
with writing this up after today.



--

Regards,

PhilK


'work as if you lived in the early days of a better nation'
- alasdair gray
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: anyone heard of Zamasing?

2008-04-17 Thread Simon Michael

Tim Nash wrote:

up-to-date documentation than anything else. Products are the way to
go. It is very much like wriitng 'Scripts Python'. I am going to put a
simple 'boring' product on the zope.org site (if they let me) which


Hi Tim.. put it also on http://wiki.zope.org/zope2 if you wish. That is 
an easy place to grow and rework documentation.


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] authentication with python program

2008-04-17 Thread Miguel Beltran R.
I have this program what open a dtml what return a XML page, but I
have error with permisions:

import urllib, urllib2

pagina = "http://10.28.1.239/bitacoras/alta/estado2.html";
datos = {"btipo":"D",
 "bholo":87654321,
 "bplac":"dd-12345",
 "accion":"alta_gasolina",
}

params=urllib.urlencode(datos)
aut=urllib2.HTTPBasicAuthHandler()
aut.add_password("AFICON", pagina, "myuser", "mypass")
opener=urllib2.build_opener(aut)
urllib2.install_opener(opener)
r=urllib2.urlopen(pagina,params)
print r.read()
r.close()

but returned XML say:

  alta_gasolina
   error
Unauthorized
You are not allowed to access 'zsql_alta'
in this context

  

help? how I can send HTTPBasicAuth?

pd. Sorry by my bad english
-- 

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] anyone heard of Zamasing?

2008-04-17 Thread Tim Nash
@Garito,
  I hope you have another  release of ZSM. I really appreciate new
developer tools for zope like your ZSM and Zamasing. I am pretty
confident that the zope 3 crowd will eventually put back TTW,  simple
ZMI etc. (but hopefully not too much acquisitionthe great idea
that almost ruins zope 2).

Google is very close to making the business layer scalable, they have
been studying salesforce.com for some time now. When they conquer that
technical hurdle, huge ASP's will probably dominate computing
(especially in China). Easily distributed and maintained web services
like zope 2 may be one of the few remaining ways to compete with
monster ASP's. The zope 3 crowd will come back around with an even
better zope.

 @Phil,
   I think you will find the "product" learning curve isn't that steep
at all. The famous z-shaped curve has more to do with the lack of
up-to-date documentation than anything else. Products are the way to
go. It is very much like wriitng 'Scripts Python'. I am going to put a
simple 'boring' product on the zope.org site (if they let me) which
will show how to use zope and extjs for anyone who is interested.
Looking forward to your "proof of concept"

-Tim

On Thu, Apr 17, 2008 at 1:01 AM, Philip Kilner <[EMAIL PROTECTED]> wrote:
> Hi Tim,
>
>
>  Tim Nash wrote:
>
> >  It is great to see more posts about how well zope works for "Web
> > 2.0" projects. I have used extjs with zope and really like the
> > combination. I'd like to learn more about your jquery /plone setup and
> > how you make it work. Would it be a time consuming for you to create a
> > generic product that demonstrates your setup? It would be helpful to
> > have a common set of artifacts to discuss.
> >
> >
>
>  Am happy to share - it's all very simple stuff, the elements just work very
> elegantly together. I'm stringing other people's pearls here - the tools are
> great, putting them together is trivial.
>
>  However, having got the elements together, I'm now moving from a TTW
> approach (yes, I know - I'm a dinosaur!) to a Product approach, which is
> going to be a pretty steep learning curve for me. I need to document my
> starting point (which is effectively a common folder of scripts and
> templates, which the working pages access by acquisition), so I'll post a
> link to the list asking for feedback when I'm at that point.
>
>  N.B. This is going to take me at least a couple of weeks - I've got some
> paying work to finish off before I can move on to that.
>
>  I've got a "proof of concept" set of templates without Formulator or any
> RDBMS interaction that I did somewhere. It's only about three templates and
> a scrip. I'll post them when I find them, so that you can see how Taconite
> works with ZPTs, which is the most joyful part of it for me.
>
>
>  --
>
>
>  Regards,
>
>  PhilK
>
>
>  'work as if you lived in the early days of a better nation'
>  - alasdair gray
>
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] anyone heard of Zamasing?

2008-04-17 Thread Philip Kilner

Hi Tim,

Tim Nash wrote:

  It is great to see more posts about how well zope works for "Web
2.0" projects. I have used extjs with zope and really like the
combination. I'd like to learn more about your jquery /plone setup and
how you make it work. Would it be a time consuming for you to create a
generic product that demonstrates your setup? It would be helpful to
have a common set of artifacts to discuss.



Am happy to share - it's all very simple stuff, the elements just work 
very elegantly together. I'm stringing other people's pearls here - the 
tools are great, putting them together is trivial.


However, having got the elements together, I'm now moving from a TTW 
approach (yes, I know - I'm a dinosaur!) to a Product approach, which is 
going to be a pretty steep learning curve for me. I need to document my 
starting point (which is effectively a common folder of scripts and 
templates, which the working pages access by acquisition), so I'll post 
a link to the list asking for feedback when I'm at that point.


N.B. This is going to take me at least a couple of weeks - I've got some 
paying work to finish off before I can move on to that.


I've got a "proof of concept" set of templates without Formulator or any 
RDBMS interaction that I did somewhere. It's only about three templates 
and a scrip. I'll post them when I find them, so that you can see how 
Taconite works with ZPTs, which is the most joyful part of it for me.



--

Regards,

PhilK


'work as if you lived in the early days of a better nation'
- alasdair gray
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )