473,668 Members | 2,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1384
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
6725
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 language's 30+ year evolution. What to you think python largest compromises are? The three that come to my mind are significant whitespace, dynamic typing, and that it is interpreted - not compiled. These three put python under fire and cause...
0
1414
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 never seen any widget just half as powerful as tk's canvas in any other GUI toolkit." -- Eric Brunel Peter Otten delightfully illustrates the Pythonic tendency to produce working code that yields real measurements....
4
1402
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 interpreter), and prefabricated website user management (Zope). I know that these didn't originate with Python and Zope, and also that .NET adds extra Microsoft-specific goodies. However, the real possibility is that the Microsoft-centricity of...
4
2209
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 15+ year old, flat-file, client-tracking database. The staff uses OSX, while I administer the couple linux servers we have to run our website and some internal sites. In our initial brainstorming session, we decided to go with a Python backend...
18
3029
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 from the world of 'agile development': stop making so many decisions and start writing some actual code!" -- Peter Hansen Scott David Daniels and others illustrate that the most common answer for Python is, "It's (already) in there." In the...
34
3667
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 .jar packages. A jar file contains all the program files and you can execute the program with java -jar program.jar I am sort of hoping python has something like this because I feel it
0
1120
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 Düsseldorf, Germany, which is lively medium-sized city, with good airport connections world-wide and specifically to all major European cities, so it's easy getting there and ideal for a one day event.
2
2641
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 ~/Documents/Code/Python/src/jester/service.py -m jester then I did : make
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8572
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2782
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.