Hi Tim,

> I'm new to TurboGears, but not to Python.  I'm developing Joomla  
> components (plugins) in PHP, which is the standard way to do it.   
> Two questions:  is it possible to develop Joomla components using  
> TurboGears or Python, and how hard is it?  Thanks for all responses!

there are several ways to do it:
- use Jon Parises PIP (Python in PHP): http://www.csh.rit.edu/~jon/ 
projects/pip/
   This embed Python interpreter directly into the Zend engine using  
a PHP extension.
   Contra: Look for Isaac's FrankenCode mail ;)
- attach the two systems via some network protocol like SOAP or JSON
   There are e.g. JSON interfacing libraries for PHP out there and  
TurboGears is able to output JSON code right from the start.
   With PHP5 there is a industry strength SOAP extension for PHP and  
there are Python SOAP extensions as well.
   Pro: loose coupling even across network borders, possibility to  
replace each side of the connection easily with something better just  
preserving the protocol.

Generally building an application in one application domain using  
mixed language programming is not a very feasible approach. For  
migrating larger applications from one system to another on the other  
hand it can be a very cool thing.

Hope that helps.

Best regards,
Volker
--
Dr. Volker Göbbels
Arachnion GmbH & Co. KG, Sandkaulbach 4, 52062 Aachen, Germany
http://www.arachnion.de, http://blog.arachnion.eu




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to