Re: [Zope3-Users] Re: Using dotted package names
Sorry, wrong Post. I was talking to put support for dotted packages, for AGX generated products. On 9/23/06, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: Fabio Rizzo Matos wrote: > Olha pq não estava rolando os nossos pontos! > > /me precisamos corrigir o agx para gerar os nomes de pacotes com > pontos. Hoje ele está substituindo para ponto. English, please. > abraços > > On 9/23/06, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: >> George Lee wrote: >> > I am trying to be a good programmer and create pure Zope packages >> instead of >> > Plone products when possible. >> >> That's great! Note that you will either need Zope 2.10 or Zope 2.9 + >> Five 1.4 for this. >> >> > How do dotted package names (like plone.portlets or dotted.name) >> work? In >> > \zopeinstance\lib\python, is the package actually in >> > \zopeinstance\lib\python\dotted.name, or is it in >> > \zopeinstance\lib\python\dotted\name? >> >> The latter. >> >> > What is the purpose of using the dotted name? >> >> Short answer: package namespaces. >> >> Long answer: Say you're creating a widget library. You could call your >> package simply "widget". But then if I create a widget library and >> called it "widget", too, we'd have a conflict and couldn't use them at >> the same time. That's why you call your package "george.widget" and I'll >> call my package "philikon.widget". Makes sense? >> >> ___ >> Zope3-users mailing list >> Zope3-users@zope.org >> http://mail.zope.org/mailman/listinfo/zope3-users >> > > -- Fabio Rizzo ThreePointsWeb [EMAIL PROTECTED] ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Using dotted package names
Fabio Rizzo Matos wrote: Olha pq não estava rolando os nossos pontos! /me precisamos corrigir o agx para gerar os nomes de pacotes com pontos. Hoje ele está substituindo para ponto. English, please. abraços On 9/23/06, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: George Lee wrote: > I am trying to be a good programmer and create pure Zope packages instead of > Plone products when possible. That's great! Note that you will either need Zope 2.10 or Zope 2.9 + Five 1.4 for this. > How do dotted package names (like plone.portlets or dotted.name) work? In > \zopeinstance\lib\python, is the package actually in > \zopeinstance\lib\python\dotted.name, or is it in > \zopeinstance\lib\python\dotted\name? The latter. > What is the purpose of using the dotted name? Short answer: package namespaces. Long answer: Say you're creating a widget library. You could call your package simply "widget". But then if I create a widget library and called it "widget", too, we'd have a conflict and couldn't use them at the same time. That's why you call your package "george.widget" and I'll call my package "philikon.widget". Makes sense? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Using dotted package names
Olha pq não estava rolando os nossos pontos! /me precisamos corrigir o agx para gerar os nomes de pacotes com pontos. Hoje ele está substituindo para ponto. abraços On 9/23/06, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: George Lee wrote: > I am trying to be a good programmer and create pure Zope packages instead of > Plone products when possible. That's great! Note that you will either need Zope 2.10 or Zope 2.9 + Five 1.4 for this. > How do dotted package names (like plone.portlets or dotted.name) work? In > \zopeinstance\lib\python, is the package actually in > \zopeinstance\lib\python\dotted.name, or is it in > \zopeinstance\lib\python\dotted\name? The latter. > What is the purpose of using the dotted name? Short answer: package namespaces. Long answer: Say you're creating a widget library. You could call your package simply "widget". But then if I create a widget library and called it "widget", too, we'd have a conflict and couldn't use them at the same time. That's why you call your package "george.widget" and I'll call my package "philikon.widget". Makes sense? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users -- Fabio Rizzo ThreePointsWeb [EMAIL PROTECTED] ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Using dotted package names
George Lee wrote: That entirely depends on how independent you want to keep philikon.a from philikon.b. But that question also arises when having just a and b. Is it possible/typical/advised to have a base set of functionality in philikon, and then be developing separate packages philikon.a and philikon.b down the line that use philikon? Not really. 'philikon' is a namespace package, that means it doesn't have any functionality of its own. You'd have to make something like 'philikon.base'. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Using dotted package names
> That entirely depends on how independent you want to keep philikon.a > from philikon.b. But that question also arises when having just a and b. Is it possible/typical/advised to have a base set of functionality in philikon, and then be developing separate packages philikon.a and philikon.b down the line that use philikon? Peace, George ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Using dotted package names
George Lee wrote: What is the purpose of using the dotted name? Short answer: package namespaces. Long answer: Say you're creating a widget library. You could call your package simply "widget". But then if I create a widget library and called it "widget", too, we'd have a conflict and couldn't use them at the same time. That's why you call your package "george.widget" and I'll call my package "philikon.widget". Makes sense? Yup, thanks. Would philikon.a and philikon.b be able to share anything back and forth each other, in a deeper way than packages just named a and b? That entirely depends on how independent you want to keep philikon.a from philikon.b. But that question also arises when having just a and b. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Using dotted package names
> > What is the purpose of using the dotted name? > > Short answer: package namespaces. > > Long answer: Say you're creating a widget library. You could call your > package simply "widget". But then if I create a widget library and > called it "widget", too, we'd have a conflict and couldn't use them at > the same time. That's why you call your package "george.widget" and I'll > call my package "philikon.widget". Makes sense? Yup, thanks. Would philikon.a and philikon.b be able to share anything back and forth each other, in a deeper way than packages just named a and b? Peace, George ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Using dotted package names
George Lee wrote: I am trying to be a good programmer and create pure Zope packages instead of Plone products when possible. That's great! Note that you will either need Zope 2.10 or Zope 2.9 + Five 1.4 for this. How do dotted package names (like plone.portlets or dotted.name) work? In \zopeinstance\lib\python, is the package actually in \zopeinstance\lib\python\dotted.name, or is it in \zopeinstance\lib\python\dotted\name? The latter. What is the purpose of using the dotted name? Short answer: package namespaces. Long answer: Say you're creating a widget library. You could call your package simply "widget". But then if I create a widget library and called it "widget", too, we'd have a conflict and couldn't use them at the same time. That's why you call your package "george.widget" and I'll call my package "philikon.widget". Makes sense? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users