Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-09-30 17:52:50

peginald
New Member
Registered: 2012-09-30
Posts: 2

Integrating into an existing web site

Hi,

First, I’m completely new to Textpattern, so apologies if this seems a bit mad.

THE SITUATION: I have an existing and successful commercial web site built with Python, CherryPy and MAKO templates. I’ve worked on it for a few years, it works well and I like the programming environment. Basically, I don’t want to change.

GOING FORWARD….

I’ve decided I need to get some blogging software – at the very least – and maybe some additional CMS bits and bobs – and doing my usual thing of reinventing the wheel is damaging my business. I don’t want to write my own half-baked blog software.

I like the simplicity of TP and Python CMS software is rather scarey – besides, i don’t think it will integrate much easier than TP, unless I migrated everything to the CMS software.

As it is a shopping environment, there are session items, such as a shopping basket, that are difficult to share between two web apps – no matter what technology they are – and I’m trying to work out how to glue them together.

I see two ways of doing this. First the database format of TP is so simple, I feel I can use TP for just content management, and then just pull the blog posts directly from the database in my existing application. I appreciate this is reinventing part of the wheel, but may be perfectly workable to blogs/articles etc. without user comments.

Alternatively for those parts of the site served by TP, I could provide a JSON interface to my existing server that would basically ask “Do I have anything in the shopping basket” or even just provide HTML code snippets for display.

Does anyone have an opinion on this. Has anyone done anything similar? Am I mad?

Thanks for your time.

Paul

Offline

#2 2012-10-01 03:22:47

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: Integrating into an existing web site

You can spit out JSON at your existing ‘server’ as long as it’s listening and fetching. Textpattern makes a great publishing platform. Jump in.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#3 2012-10-01 08:39:35

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Integrating into an existing web site

Textpattern can be a good fit for what you want, I think. You can integrate as much or as little of the CMS into your existing setup relatively easily. You might also find rah_external_output plugin very useful for injecting Textpattern powered content into pages of third-party tools or existing setups.

Offline

#4 2012-10-01 17:38:51

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: Integrating into an existing web site

philwareham wrote:

You might also find rah_external_output plugin very useful for injecting Textpattern powered content into pages of third-party tools or existing setups.

Indeed.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#5 2012-10-03 15:21:20

peginald
New Member
Registered: 2012-09-30
Posts: 2

Re: Integrating into an existing web site

Thanks for your help – rah_external_output looks ideal!

Offline

Board footer

Powered by FluxBB