473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

advice required re migrating php app to python and most likely zope

Hi,
I've two relatively small web applications that are currently implemented in
PHP and needed to be migrated to python and most likely zope afterwards as
we're getting a third-party Zope powered CMS later this year.

There isn't an immediate need for them to be developed as zope
modules/extensions so I was wondering what the best approach might me -
especially as they'd be deployed in the middle of a PHP driven website.

Would I be best off to enable mod_python inside apache for the moment, writing
good modular reusable code that may|should need minimum tweaks for when our
Zope CMS comes on-line or should I go the full way and design the web apps for
Zope from day zero?

k.
--
Ken Guest
Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/
Jan 5 '06 #1
2 1367
Ken Guest schrieb:
Hi,
I've two relatively small web applications that are currently implemented in
PHP and needed to be migrated to python and most likely zope afterwards as
we're getting a third-party Zope powered CMS later this year.

There isn't an immediate need for them to be developed as zope
modules/extensions so I was wondering what the best approach might me -
especially as they'd be deployed in the middle of a PHP driven website.

Would I be best off to enable mod_python inside apache for the moment, writing
good modular reusable code that may|should need minimum tweaks for when our
Zope CMS comes on-line or should I go the full way and design the web apps for
Zope from day zero?


If you want ZOPE, the only way is to use it right from the start. There
is not much you can write as "good modular reusable code", as ZOPE
imposes quite a few constraints on the way things _have_ to happen. That
isn't a bad thing! Its just that with ZOPE, you've got to grok what it
is about to use it, and much things are different from the simple
one-page-one-script-stuff you ususally come up with in PHP.

So better start with ZOPE right away.

DIez
Jan 5 '06 #2
On Thu, Jan 05, 2006 at 10:10:39PM +0100, Diez B. Roggisch wrote:
Ken Guest schrieb:
Hi,
I've two relatively small web applications that are currently implemented in
PHP and needed to be migrated to python and most likely zope afterwards as
we're getting a third-party Zope powered CMS later this year.

There isn't an immediate need for them to be developed as zope
modules/extensions so I was wondering what the best approach might me -
especially as they'd be deployed in the middle of a PHP driven website.

Would I be best off to enable mod_python inside apache for the moment, writing
good modular reusable code that may|should need minimum tweaks for when our
Zope CMS comes on-line or should I go the full way and design the web apps for
Zope from day zero?


If you want ZOPE, the only way is to use it right from the start. There
is not much you can write as "good modular reusable code", as ZOPE
imposes quite a few constraints on the way things _have_ to happen. That
isn't a bad thing! Its just that with ZOPE, you've got to grok what it
is about to use it, and much things are different from the simple
one-page-one-script-stuff you ususally come up with in PHP.


Well it'll be zope/plone to be more exact - good to know I should start off
with zope sooner rather than later, thanks Diez.

k.

--
Ken Guest
Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/
Jan 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

65
by: Anthony_Barker | last post by:
I have been reading a book about the evolution of the Basic programming language. The author states that Basic - particularly Microsoft's version is full of compromises which crept in along the...
0
by: Cameron Laird | last post by:
QOTW: "They say that when you have a hammer, everything looks like a nail. When using Python, most everything /is/ a nail." -- Josiah Carlson "This is the main reason I stick to Tkinter. I've...
4
by: John Benson | last post by:
Hi, I've been reading the above-titled book and it looks like some major Python and Zope features have been cherry-picked for pushing down into .NET, like application memory management (Python...
4
by: Socheat Sou | last post by:
After a brief, but informative, discussion on Freenode's #zope chatroom, I was advised to consult the gurus on c.l.p. I'm working for a small company who is in desperate need to rewrite it's...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
34
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas...
0
by: eGenix Team: M.-A. Lemburg | last post by:
Hello, eGenix is looking into organizing a one day conference specifically for companies doing business with Python, Zope and Plone. The conference will likely be held in or close to...
2
by: Gabriel Rossetti | last post by:
Hello everyone, I'm trying to use python's freeze utility but I'm running into problems. I called it like this : python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.py...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.