[kdewebdev-site] Phase I design and development opportunities

Eric Laffoon eric at kdewebdev.org
Sat Apr 17 22:11:29 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 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.

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
- -- 
Eric Laffoon - Quanta+ Team Leader 
http://kdewebdev.org  eric at kdewebdev.org
Mailing list - http://mail.kde.org/mailman/listinfo/quanta
GPG Fingerprint: 48FB 218D 747F A54A 319D EE98 4A25 794E A453 004B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAgf/xSiV5TqRTAEsRAnLVAJ9Eisa9GdB5gIaEul0kckhfnv73xACfS/WS
j4zb3zFPA+5N3dn/SEB0ufM=
=BubV
-----END PGP SIGNATURE-----


More information about the kdewebdev-site mailing list