Re: [Zope] Tutorial for zope4

2020-10-01 Thread Jürgen Gmach
Hi Miguel,

as you already noticed, a lot has changed in the last couple of years.

A couple of thoughts:

update
---
We have pretty good migration documentation, see here
https://zope.readthedocs.io/en/latest/migrations/index.html

db connections
-
I only make light use of zsqlmethod myself, but I cannot recall I had to change 
anything to make it work with Zope 4.

templates
---
Right, Chameleon is the way to go - if you need a transition time, you can (but 
you should NOT) use the old template engine, see here
https://jugmac00.github.io/blog/three-ways-to-get-into-trouble-or-welcome-back-pagetemplateengine/

tutorials
-
I am sorry. There are no uptodate tutorials I know of.

The best bet is to try to follow the existing tutorials, and when something 
does not work try to find out what is wrong and how to fix it, ideally update 
the documenation with a pull request, or if struggling, asking some detailed 
questions.


As of where to get help.
--

This list is pretty much only used to announce new releases - there are no more 
discussions here.

The best place to ask general questions is the https://community.plone.org/ 
forum - tag your questions with "Zope".

If you find a bug or want a new feature, you can use the github repositories of 
the Zope projects.

Best,
Jürgen

P.S.: One of the maintainers (icemac) hold a nice talk about migrating a huge 
Zope project to Python 3.

https://blog.gocept.com/2020/09/03/presentation-we-have-nearly-one-million-lines-of-python-2-code-in-production-and-now/
[https://gocept.files.wordpress.com/2020/08/snake-601832_1280.jpg?w=1200]
Presentation: We have nearly one million lines of Python 2 code in production — 
and now? – gocept 
blog
Still running Python 2 code in production is like steering a ship without radar 
in thick fog: You don’t know, which obstacle you will hit next. But there are 
ways to see the sun again – even for large code bases. This presentation 
contains a discussion of the possible ways and a success story. I…
blog.gocept.com


Von: Zope  im Auftrag von Miguel Beltran R. 

Gesendet: Dienstag, 29. September 2020 18:17
An: zope@zope.org 
Betreff: [Zope] Tutorial for zope4

Good morning list,Glad to be here again in the list and community

I used zope many years ago until version 2.13 and I want to update to the new 
version 4/5 but I have found that the Zope Book is not so useful to me as 
before.

I used to do me little systems all in the ZMI using pagetemplate, zsql method, 
postgresql, zserver, etc.

-Zserver was replaced in favor of waitress, no problem.
-pagetemplate is almost the same, but now use chameleon engine, no problem.
-zsqlmethod is not installed by default, I installed it using pip. The 
recommendation is to use zope.sqlalchemy. I dont know sqlalchemy and how to use 
it with zope 4/5. help here
-I tried to find the postgresql connector to zope 4 in pypi without success, 
even the ODBC connector I could not find it. how do I connect to a database?

Also, I saw that the Plone foundation have now the rights of Zope foundation. I 
wish them the best for his work.

do someone can recomend me a zope 4 tutorial for dummys?

--

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


Re: [Zope] Tutorial for zope4

2020-09-30 Thread Michael Howitz
Hi Miguel,

Am 29.09.2020 um 18:17 schrieb Miguel Beltran R. :
[…]
> -zsqlmethod is not installed by default, I installed it using pip. The 
> recommendation is to use zope.sqlalchemy. I dont know sqlalchemy and how to 
> use it with zope 4/5. help here

Maybe https://github.com/perfact/ZPsycopgDA would work for you for the database 
access.


Mit freundlichen Grüßen
--
Michael Howitz · m...@gocept.com · Software-Entwickler
gocept gmbh & co. kg · Leipziger Straße 70 · 06108 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 1229889-8
Zope, Python, Pyramid, Plone · Beratung und Entwicklung



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Tutorial Problems

2007-11-14 Thread Dieter Maurer
Xavier Balling wrote at 2007-11-12 19:45 -0500:
I am a newbie to Zope and am evaluating it for a project but I am having a
basic problem getting it to work properly.  Any hints or advice would be
helpful. I have searched online for similar problems to no avail.

I have installed on a windows platform here are the specifics:
 ...
Although the ZMI works, I login with no errors,  Products and/or Objects
that should be accessed from a can URL can't :

  - i.e. Zoo Object Folder created per the Zope Book 2.6 (
http://localhost:8080/Zoo  ) - I get the following error


 You have not created any users in this Zope instance. In order to log in
and manage this Zope instance, you'll need to add an adminstrative user
account.

Usually, Zope (and Python) error message are quite good -- worth to be
read carefully.

In your case, the message tells you:

  Add a user and use this user to manage the Zope instance.

To add a user visit acl_users in the ZMI.
There, use the Add... button, fill in the login details
(do not forget to grant the Manager role) and add.

Then, close your browser, reopen it and authenticate as
the new user. You should then be able to add other things


Come back, if you have more problems



-- 
Dieter
___
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] Tutorial

2006-03-28 Thread Lennart Regebro
On 3/28/06, Vishal Kashyap [EMAIL PROTECTED] wrote:
 What I wanted to ask is a tutorial which would help apache+php
 users/admin to migrate/adopt zope.

Well, the standard documentation, really. :) Php knowledge helps,
since you will know more about web applications, but there is nothing
else that is special.

Migration can either be done by reusing the SQL-database you used in
Zope, or by writing an import script. It's a matter of taste.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
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 )