[kdewebdev-site] Phase I design and development opportunities

Chris Hornbaker chrishornbaker at earthlink.net
Sun Apr 18 16:13:30 EDT 2004


On Sunday 18 April 2004 04:11, Eric Laffoon wrote:
> On Thursday 15 April 2004 4:00 pm, Chris Hornbaker wrote:
> > > Just to expand on Chris' response, since the
> > > translated files would (could?) be an include() based
> > > on your language, it would be fast and easy on the
> > > server (esp. if an accelerator were installed such as
> > > zend or PHP-Accelerator).
> > >
> > > <p><i18n>Some Text</i18n></p>
> > > <p><i18n>Some other text</i18n></p>
> > >  could become:
> > >
> > > <?php
> > > // logic to setup $lang here (cookies, defaults,
> > > verification)
> > >
> > > include ("lang/$lang.php"); // en.php, de.php,
> > > whatever
> > > ?>
> > >
> > > <p><?=$i18n_0?></p>
> > > <p><?=$i18n_1?></p>
> > >
> > > -- eof
> > >
> > > We include ~600k per page with PHPA running, and it
> > > only takes about 0.05 seconds to do the include.
> >
> > I wanna hold Jacob back. All of what Jacob speaks is already doable (and
> > then some!) with the PHP code I presented some time ago. So if this is
> > what's being thought of, then please consider improving already available
> > code instead of re-inventing the wheel.
>
> One problem with what Chris had submitted to me a while back was that there
> wasn't a working example to look at and not a full description. I had

I've posted an example.

> posted here before that there was a problem with Chris' method that it
> required all strings to be entered in to a PHP function... which it appears
> is not true because it seems according to this he's using XML to declare
> the strings to be translated. This is a better and different process than
> it appeared on a quick perusal of the code.

I've always said you could use both.

> So while I find his idea much more acceptable my idea was not all the well
> expressed either (emphasis there as nothing has really been too clear
> without a mock up). ;-) Because Chris has a lot of time on this I asked
> David and Dave Reddish if it would be okay to add him to our team and have
> the okay on that. I'm busy this weekend. What I'd like to do with Dave and
> Jacob is explore a couple of ideas. I don't think it's reinventing the
> wheel either. Chris has some excellent ideas and does great work, but my
> approach is tempered by decades of practical experience. In fact there
> could be a lot of interchangable parts here...
>
> I would approach some things a little differently, but there is also some
> of the idea I have on how to structure things that was really not explained
> well. It was very vague. We are going to build a rather complex site and in
> my estimation this is probably the most challenging part, laying a
> framework. I would like to do a mock up of a few things, and in fact there
> are particular reasons I wanted Dave Reddish to help on it. After we look
> at things with some choices we can take the best parts of everything. The
> important thing is that we will be able, as a team, to determine what we
> like from real working models. This is a good idea. BTW you can build in
> your user directory too, everyone but me. ;-)
>
> I'll be available some time in the morning Monday PDT.
>
> BTW we should have Jabber rooms shortly. Anyone not signed up please do so
> as we can have group chats with this as well as IM. Anyone needing access
> to the server also I can set up your accounts Monday.
>
> Jabber: http://jabber.kdewebdev.org/cgi-bin/kdewebdev
> CVS: http://kittyhooch.com/kdewebdev.php

-- 
Christopher Hornbaker           
Jabber ID: Jilks at jabber.org     Email: chrishornbaker at earthlink.net
Join the Free State Project!    http://www.freestateproject.org
   "Liberty in Our Lifetime"
Was I helpful? Let me know! http://svcs.affero.net/rm.php?r=Jilks


More information about the kdewebdev-site mailing list