Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Rench & Gangstagrass
Been launched a while now, but I forgot to ring the alarm.
Two sites for the price of one: Rench & Gangstagrass, running from the same Txp install. Designed by Block, but the code (front and back) was all Maniqui’s work – I’ll leave it to him to explain the cross-domain magic.
Offline
Re: Rench & Gangstagrass
Working on this 2-in-1 websites was a great experience, which I really enjoyed. Adapting such a beautiful design to HTML/CSS/JS was both a challenge and a breeze, as Block fellas really know how to design for the web, knowing its ever-changing nature (its possibilities and constrains), but also pushing stuff to the edge.
And then, doing the back-end code was also lots of fun, because, you know, it’s Textpattern, which is fun by nature. I’ll try to share (here or at TXPtips.com) some new cool tricks I’ve learned while doing this 2-in-1 website.
Regarding the cross-domain magic, I’ve talked about it briefly in this post.
Basically, we used a (PHP) Reverse Proxy to serve a domain from a TXP section.
It’s not hard to set up, but you will need something better than a basic cheap hosting to be able to do it.
In this case, it was set up on a basic Dreamhost plan.
The thing work like this: when you go to www.gangstagrass.com
, it fetches the website from a section on www.renchaudio.com/somesection
(it’s not “somesection”, really, but I don’t want to link to it so to avoid the URL getting crawled; but it won’t be difficult for you to find out which is the real name for the section ;) .
So, this Reverse Proxy approach opens up the possibility of developing microsites and manage them from the same TXP installation.
In this case, Gangstagrass is just a single page website, but if we were to add an article to the GG section on Rench audio website, that article would be reachable at www.gangstagrass.com/some-article
. As you can see, you would be able to have a microsite that could also have some inner/deeper links, where you could have some “sections” that would be, in reality, just some TXP articles.
Well, if some one find all this exciting (I hope so!), I’ll gladly reveal more details about the setup, and other tips to make it easier to have two (or more!) domains being served from the same TXP installation.
Offline
Re: Rench & Gangstagrass
Fascinating work by Block and your good self Julián.
Offline
#4 2010-09-06 22:46:45
- sereal
- Member
- From: Indonesia
- Registered: 2010-02-18
- Posts: 55
Re: Rench & Gangstagrass
hi pieman, I really curious on how you build the store section, want to share ?
pretty sites, awesome !
$(mydocument).notyetready(function() {});
dowebsitesneedtolookexactlythesameineverybrowser ?
Offline
Re: Rench & Gangstagrass
Nice work, Tres cool.
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline