Re: [Zope] Re: Extensive Javascript GUI and security

2008-04-24 Thread Tim Nash
It is just a how to. And judging by the lack of discussion it has
generated I guess it is old news. Oh well, I am figuring out the
security problems anyway.

I'm thinking of switching to zope 3 just to get more feedback on my
posts! Well that and the Flint project looks interesting.
:)



On Thu, Apr 24, 2008 at 6:31 AM, Garito <[EMAIL PROTECTED]> wrote:
> But did you pretend to make something useful or a demo is enough?
> Why don't make the demo changing the ZMI GUI or something more useful? (ZMI
> is old enough and needs a renew version, don't you think so?)
>
>
>
>  Thanks!
>
> 2008/4/23, Tim Nash <[EMAIL PROTECTED]>:
> > Sorry, I am not a great writer. Let me list the points:
> >
> > -The code demonstrates how to build a full GUI in javascript.
> > - It uses the extjs library.
> > - Building a GUI like this reduces the load on zope which makes zope
> scalable.
> > - You can also distribute your GUI code to be closer to your
> > customers. For example, you can host your zope in Norway but place
> > your GUI on web servers in Norway, Australia, Spain, Russia etc.
> >
> > - I am having problem understanding how to set up the security when
> > using zope in this way.
> > - I wish someone would take a look at the code and help me figure out
> > the best security.
> >
> > Thanks!,
> >
> > Tim
> >
> >
> > On Wed, Apr 23, 2008 at 3:47 AM, Garito <[EMAIL PROTECTED]> wrote:
> > > Sorry, Tim, but I don't catch what you pretend with this demo
> > >
> > > Can you explain more about this test?
> > >
> > > Thanks!
> > >
> > > 2008/4/23, Tim Nash <[EMAIL PROTECTED]>:
> > > >
> > > >
> > > >
> > > > I updated the 'HowTo' to now include a TTW version of the same
> > > > product. This could be a useful way to compare TTW code with product
> > > > based code for anyone interested. That is if the security issues are
> > > > resolved.
> > > >
> > > >
> > > > http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> > > >
> > > >
> > > > The TTW zexp also doesn't require the installation of extjs but it is
> > > > for demo purposes only.
> > > >
> > > >
> > > > On Tue, Apr 22, 2008 at 1:35 PM, Tim Nash <[EMAIL PROTECTED]> wrote:
> > > > > I have created a zope product that demonstrates how I would like to
> > > > >  use zope with extjs library. The demo does not require an
> installation
> > > > >  of extjs. It is linked to here
> > > > >  http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> > > > >
> > > > >  I hope that using zope along with extjs in this way makes zope much
> > > > >  more scalable however I am having trouble figuring out the proper
> way
> > > > >  to set up security.
> > > > >
> > > > >  Could somebody check out my demo and give me feedback on how to set
> up
> > > > >  the security?
> > > > >  I would like the user to only have to log on once. Subsequent AJAX
> > > > >  calls should not require subsequent log in.
> > > > >
> > > > >  Also, I create new accounts by copying an account 'template' folder
> > > > >  that includes a acl_users folder in it. How do you set the proper
> > > > >  security when you create accounts in this way? How do you set the
> > > > >  security on an external Method in these folders?
> > > > >  I want to use zope to hold medical data for everyone from a
> physician
> > > > >  in the remote regions of the World all the way up to multi-hospital
> > > > >  chains. This requires a very scalable and very secure zope.
> > > > >
> > > > >  Thanks for any help!
> > > > >
> > > > >  Tim
> > > > >
> > > > ___
> > > > 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 )
> > > >
> > >
> > >
> > >
> > > --
> > > Mis Cosas
> > > http://blogs.sistes.net/Garito
> > > Zope Smart Manager
> > > http://blogs.sistes.net/Garito/670
> > > ___
> > >  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 )
> > >
> > >
> >
>
>
>
> --
>
> Mis Cosas
> http://blogs.sistes.net/Garito
>  Zope Smart Manager
> http://blogs.sistes.net/Garito/670
> ___
>  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 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

Re: [Zope] Re: Extensive Javascript GUI and security

2008-04-24 Thread Garito
But did you pretend to make something useful or a demo is enough?
Why don't make the demo changing the ZMI GUI or something more useful? (ZMI
is old enough and needs a renew version, don't you think so?)

Thanks!

2008/4/23, Tim Nash <[EMAIL PROTECTED]>:
>
> Sorry, I am not a great writer. Let me list the points:
>
> -The code demonstrates how to build a full GUI in javascript.
> - It uses the extjs library.
> - Building a GUI like this reduces the load on zope which makes zope
> scalable.
> - You can also distribute your GUI code to be closer to your
> customers. For example, you can host your zope in Norway but place
> your GUI on web servers in Norway, Australia, Spain, Russia etc.
>
> - I am having problem understanding how to set up the security when
> using zope in this way.
> - I wish someone would take a look at the code and help me figure out
> the best security.
>
> Thanks!,
>
> Tim
>
>
> On Wed, Apr 23, 2008 at 3:47 AM, Garito <[EMAIL PROTECTED]> wrote:
> > Sorry, Tim, but I don't catch what you pretend with this demo
> >
> > Can you explain more about this test?
> >
> > Thanks!
> >
> > 2008/4/23, Tim Nash <[EMAIL PROTECTED]>:
> > >
> > >
> > >
> > > I updated the 'HowTo' to now include a TTW version of the same
> > > product. This could be a useful way to compare TTW code with product
> > > based code for anyone interested. That is if the security issues are
> > > resolved.
> > >
> > >
> > > http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> > >
> > >
> > > The TTW zexp also doesn't require the installation of extjs but it is
> > > for demo purposes only.
> > >
> > >
> > > On Tue, Apr 22, 2008 at 1:35 PM, Tim Nash <[EMAIL PROTECTED]> wrote:
> > > > I have created a zope product that demonstrates how I would like to
> > > >  use zope with extjs library. The demo does not require an
> installation
> > > >  of extjs. It is linked to here
> > > >  http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> > > >
> > > >  I hope that using zope along with extjs in this way makes zope much
> > > >  more scalable however I am having trouble figuring out the proper
> way
> > > >  to set up security.
> > > >
> > > >  Could somebody check out my demo and give me feedback on how to set
> up
> > > >  the security?
> > > >  I would like the user to only have to log on once. Subsequent AJAX
> > > >  calls should not require subsequent log in.
> > > >
> > > >  Also, I create new accounts by copying an account 'template' folder
> > > >  that includes a acl_users folder in it. How do you set the proper
> > > >  security when you create accounts in this way? How do you set the
> > > >  security on an external Method in these folders?
> > > >  I want to use zope to hold medical data for everyone from a
> physician
> > > >  in the remote regions of the World all the way up to multi-hospital
> > > >  chains. This requires a very scalable and very secure zope.
> > > >
> > > >  Thanks for any help!
> > > >
> > > >  Tim
> > > >
> > > ___
> > > 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 )
> > >
> >
> >
> >
> > --
> > Mis Cosas
> > http://blogs.sistes.net/Garito
> > Zope Smart Manager
> > http://blogs.sistes.net/Garito/670
> > ___
> >  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 )
> >
> >
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
Zope Smart Manager
http://blogs.sistes.net/Garito/670
___
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] Re: Extensive Javascript GUI and security

2008-04-23 Thread Tim Nash
Sorry, I am not a great writer. Let me list the points:

-The code demonstrates how to build a full GUI in javascript.
- It uses the extjs library.
- Building a GUI like this reduces the load on zope which makes zope scalable.
- You can also distribute your GUI code to be closer to your
customers. For example, you can host your zope in Norway but place
your GUI on web servers in Norway, Australia, Spain, Russia etc.

- I am having problem understanding how to set up the security when
using zope in this way.
- I wish someone would take a look at the code and help me figure out
the best security.

Thanks!,
Tim

On Wed, Apr 23, 2008 at 3:47 AM, Garito <[EMAIL PROTECTED]> wrote:
> Sorry, Tim, but I don't catch what you pretend with this demo
>
> Can you explain more about this test?
>
> Thanks!
>
> 2008/4/23, Tim Nash <[EMAIL PROTECTED]>:
> >
> >
> >
> > I updated the 'HowTo' to now include a TTW version of the same
> > product. This could be a useful way to compare TTW code with product
> > based code for anyone interested. That is if the security issues are
> > resolved.
> >
> >
> > http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> >
> >
> > The TTW zexp also doesn't require the installation of extjs but it is
> > for demo purposes only.
> >
> >
> > On Tue, Apr 22, 2008 at 1:35 PM, Tim Nash <[EMAIL PROTECTED]> wrote:
> > > I have created a zope product that demonstrates how I would like to
> > >  use zope with extjs library. The demo does not require an installation
> > >  of extjs. It is linked to here
> > >  http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> > >
> > >  I hope that using zope along with extjs in this way makes zope much
> > >  more scalable however I am having trouble figuring out the proper way
> > >  to set up security.
> > >
> > >  Could somebody check out my demo and give me feedback on how to set up
> > >  the security?
> > >  I would like the user to only have to log on once. Subsequent AJAX
> > >  calls should not require subsequent log in.
> > >
> > >  Also, I create new accounts by copying an account 'template' folder
> > >  that includes a acl_users folder in it. How do you set the proper
> > >  security when you create accounts in this way? How do you set the
> > >  security on an external Method in these folders?
> > >  I want to use zope to hold medical data for everyone from a physician
> > >  in the remote regions of the World all the way up to multi-hospital
> > >  chains. This requires a very scalable and very secure zope.
> > >
> > >  Thanks for any help!
> > >
> > >  Tim
> > >
> > ___
> > 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 )
> >
>
>
>
> --
> Mis Cosas
> http://blogs.sistes.net/Garito
> Zope Smart Manager
> http://blogs.sistes.net/Garito/670
> ___
>  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 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] Re: Extensive Javascript GUI and security

2008-04-23 Thread Garito
Sorry, Tim, but I don't catch what you pretend with this demo

Can you explain more about this test?

Thanks!

2008/4/23, Tim Nash <[EMAIL PROTECTED]>:
>
> I updated the 'HowTo' to now include a TTW version of the same
> product. This could be a useful way to compare TTW code with product
> based code for anyone interested. That is if the security issues are
> resolved.
>
>
> http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
>
>
> The TTW zexp also doesn't require the installation of extjs but it is
> for demo purposes only.
>
>
> On Tue, Apr 22, 2008 at 1:35 PM, Tim Nash <[EMAIL PROTECTED]> wrote:
> > I have created a zope product that demonstrates how I would like to
> >  use zope with extjs library. The demo does not require an installation
> >  of extjs. It is linked to here
> >  http://wiki.zope.org/zope2/HowToCreateJavascriptGUI
> >
> >  I hope that using zope along with extjs in this way makes zope much
> >  more scalable however I am having trouble figuring out the proper way
> >  to set up security.
> >
> >  Could somebody check out my demo and give me feedback on how to set up
> >  the security?
> >  I would like the user to only have to log on once. Subsequent AJAX
> >  calls should not require subsequent log in.
> >
> >  Also, I create new accounts by copying an account 'template' folder
> >  that includes a acl_users folder in it. How do you set the proper
> >  security when you create accounts in this way? How do you set the
> >  security on an external Method in these folders?
> >  I want to use zope to hold medical data for everyone from a physician
> >  in the remote regions of the World all the way up to multi-hospital
> >  chains. This requires a very scalable and very secure zope.
> >
> >  Thanks for any help!
> >
> >  Tim
> >
> ___
> 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 )
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
Zope Smart Manager
http://blogs.sistes.net/Garito/670
___
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 )