Re: [nyphp-talk] Good Font Size Control

2007-08-08 Thread Dan Cech
Michael B Allen wrote: > On 8/8/07, Tom Sartain <[EMAIL PROTECTED]> wrote: >> As far as the AAA controls, the easiest way I've seen to do this is to >> have alternate style sheets for each font size, then use javascript to >> switch between them. I'm hoping you have a few sites to refer to and >> f

RE: [nyphp-talk] Good Font Size Control

2007-08-08 Thread Andy Dirnberger
> Changing the font-size of the body has no effect on text within td > elements. Changing the font-size on td elements has no effect on form > input elements like buttons. Etc, etc, etc. This problem can't be > *that* hard. Is there really no better way to control font-size of all > page elements s

Re: [nyphp-talk] Good Font Size Control

2007-08-08 Thread Michael B Allen
On 8/8/07, Tom Sartain <[EMAIL PROTECTED]> wrote: > As far as the AAA controls, the easiest way I've seen to do this is to > have alternate style sheets for each font size, then use javascript to > switch between them. I'm hoping you have a few sites to refer to and > figure out the logistics of it

Re: [nyphp-talk] Good Font Size Control

2007-08-08 Thread Tom Sartain
If you want good font size control, set the font size of your body to 62.5% This should effectively give you a starting size of 10px. Then you can use the magic of ems to scale your fonts with pixel perfection. 1.6em gives you 16px font. 1.2em gives you 12px font and so on. Even though you have fo

[nyphp-talk] Good Font Size Control

2007-08-08 Thread Michael B Allen
Hi Again, I'm working on a site and I'd like to give the user a little more control over the font size throughout the site. Something like those "A" controls on sites that allow the user to select x-large, large, regular, small, or x-small. How is that best done? So far I've just been using

Re: [nyphp-talk] Xampp Mysql Connection Issues

2007-08-08 Thread Daniel Convissor
Anan: You have to examine the error messages to figure out what's up. Check out my web page on MySQL on Windows: http://www.analysisandsolutions.com/code/mysql-tutorial.htm If this web page doesn't address the specific error message you're getting, Google for whatever the error messages say.

Re: [nyphp-talk] What json library do you use?

2007-08-08 Thread Daniel Convissor
On Wed, Aug 08, 2007 at 11:00:49AM -0400, Cliff Hirsch wrote: > Json will be standard from php5.2 onwards. But for those of us that are a > bit behind, what json library do you recommend for development http://pecl.php.net/package/json. Your PHP code doesn't need to change a bit: json_encode() a

Re: XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread Elliotte Harold
Kenneth Downs wrote: Then consider that you want to be able to make queries like, "Find all the paragraphs containing both the words 'Bush' and 'incompetent'" so you can't just shove everything into a BLOB. Two words: text search. Nope, not the same thing at all. Index engines like FAS

Re: XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread Elliotte Harold
Jeremy Mcentire wrote: Not to mention that the utility of XML is not simply inherent in it's being small. No one is claiming that it is small. But, there is utility there that makes it worth the size. There is always a tradeoff. To complain about XML because it takes more characters to st

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Edward Potter
I think the scary reality is that those banks and CC companies are generally managing all their database needs with some abstracted Cobol. It does the job. Everyone's afraid to touch it. And the folks that built it died years ago. yipes! :-) ed On 8/8/07, Kenneth Downs <[EMAIL PROTECTED]> wr

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Kenneth Downs
Elliotte Harold wrote: Kenneth Downs wrote: A sourceforge project does not a phenomenon make. I guess when the banks and airlines have our data in the XML files, and I don't mean a few hybrid patchwork examples, I mean the hardcore permanent long-term stuff as well as the transactional suppo

Re: XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread Kenneth Downs
Elliotte Harold wrote: David Krings wrote: The best thing about XML is that it is really is just a flat file and everything in it has a beginning and an end. I cannot think of anything that one would want to store in XML that cannot be stored in a db and that also cannot be stored in a text f

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Kenneth Downs
Jeremy Mcentire wrote: Of course, if you really want to rock, try combining XQuery+XQueryP+APP+a native XML database. Once the tooling matures a bit, that's a stack that's going to make all previous web dev frameworks look like PowerBuilder. Not a chance. There is no such thing as a native X

Re: XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread Jeremy Mcentire
The best thing about XML is that it is really is just a flat file and everything in it has a beginning and an end. I cannot think of anything that one would want to store in XML that cannot be stored in a db and that also cannot be stored in a text file with way less overhead. Examples are

Re: [nyphp-talk] What json library do you use?

2007-08-08 Thread Rob Marscher
On Aug 8, 2007, at 2:09 PM, Jon Baer wrote: What even a little more confusing is that a full package is already in the Zend Framework ... http://framework.zend.com/manual/en/zend.json.html $json = Zend_Json::encode($phpNative); $phpNative = Zend_Json::decode($encodedValue, Zend_Json::TYPE_OBJE

Re: [nyphp-talk] What json library do you use?

2007-08-08 Thread Jon Baer
What even a little more confusing is that a full package is already in the Zend Framework ... http://framework.zend.com/manual/en/zend.json.html $json = Zend_Json::encode($phpNative); $phpNative = Zend_Json::decode($encodedValue, Zend_Json::TYPE_OBJECT); - Jon On Aug 8, 2007, at 11:52 AM, Cl

Re: [nyphp-talk] Xampp Mysql Connection Issues

2007-08-08 Thread Jon Baer
Provided you are running XP SP2 you need to deactivate the firewall (or setup 3306 separately) ... http://www.apachefriends.org/en/faq-xampp-windows.html#xpsp2 - Jon On Aug 8, 2007, at 12:05 PM, anan tette-tawia wrote: Issue I have been trying to learn php development by installing xampp o

Re: [nyphp-talk] Friendly URLS... The easy way!

2007-08-08 Thread Marc Antony Vose
Ha... OK; my apologies. Let me rephrase... "...but since mod_rewrite in this context isn't the most difficult thing in the world..." :) Marc Le 9 août 07 à 00:55, David Mintz a écrit : Woa -- stop the presses! mod_rewrite is now "dead simple" to use! (-: On 8/6/07, Marc Antony Vose

Re: [nyphp-talk] Friendly URLS... The easy way!

2007-08-08 Thread David Mintz
Woa -- stop the presses! mod_rewrite is now "dead simple" to use! (-: On 8/6/07, Marc Antony Vose <[EMAIL PROTECTED]> wrote: > > but since mod_rewrite is so dead simple to use... > -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary streams flow through th

Re: [nyphp-talk] Xampp Mysql Connection Issues

2007-08-08 Thread David Krings
anan tette-tawia wrote: _*Issue*_ I have been trying to learn php development by installing xampp on my pc. The problem i am having is that i am able to save my php scripts and run them successfully but when i started trying to write programs that have to connect to the mysql database it sta

Re: [nyphp-talk] Xampp Mysql Connection Issues

2007-08-08 Thread Adrian Noland
On 8/8/07, anan tette-tawia <[EMAIL PROTECTED]> wrote: > > *Issue* > > I have been trying to learn php development by installing xampp on my pc. > The problem i am having is that i am able to save my php scripts and run > them successfully but when i started trying to write programs that have to >

[nyphp-talk] Xampp Mysql Connection Issues

2007-08-08 Thread anan tette-tawia
Issue I have been trying to learn php development by installing xampp on my pc. The problem i am having is that i am able to save my php scripts and run them successfully but when i started trying to write programs that have to connect to the mysql database it started giving me all kinds of

Re: [nyphp-talk] What json library do you use?

2007-08-08 Thread Cliff Hirsch
On 8/8/07 11:00 AM, "Cliff Hirsch" <[EMAIL PROTECTED]> wrote: Json will be standard from php5.2 onwards. But for those of us that are a bit behind, what json library do you recommend for development, knowing that it will be phased out as we switch to the native php5.2 json extension? > > Best rega

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Jeremy Mcentire
Of course, if you really want to rock, try combining XQuery+XQueryP +APP+a native XML database. Once the tooling matures a bit, that's a stack that's going to make all previous web dev frameworks look like PowerBuilder. Not a chance. There is no such thing as a native XML database and the

Re: XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread Elliotte Harold
David Krings wrote: The best thing about XML is that it is really is just a flat file and everything in it has a beginning and an end. I cannot think of anything that one would want to store in XML that cannot be stored in a db and that also cannot be stored in a text file with way less overhe

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Elliotte Harold
Kenneth Downs wrote: A sourceforge project does not a phenomenon make. I guess when the banks and airlines have our data in the XML files, and I don't mean a few hybrid patchwork examples, I mean the hardcore permanent long-term stuff as well as the transactional support for the reservations

[nyphp-talk] What json library do you use?

2007-08-08 Thread Cliff Hirsch
Json will be standard from php5.2 onwards. But for those of us that are a bit behind, what json library do you recommend for development, knowing that it will be phased out as we switch to the native php5.2 json extension? Best regards, Cliff Hirsch ___

Re: XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread Keith Casey
On 8/8/07, David Krings <[EMAIL PROTECTED]> wrote: > The best thing about XML is that it is really is just a flat file and > everything in it has a beginning and an end. I cannot think of anything > that one would want to store in XML that cannot be stored in a db and > that also cannot be stored i

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Jeremy Mcentire
I think XML is the cleanest method to abstract not only content from design, but from code as well. If you take a look at this sample site, you can see a simple implementation. I'm working up a generic framework or CMS that will use this approach. http://jmcentire.ath.cx:8080/ If you hav

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Kenneth Downs
Elliotte Harold wrote: Kenneth Downs wrote: Not a chance. There is no such thing as a native XML database and there never will be because XML is a file format (oops, data format), and an extremely inefficient one at that. To have a native database you need a data model. XML uses the hierar

XML vs. rel DBs [was: Re: [nyphp-talk] Many pages: one script]

2007-08-08 Thread David Krings
Elliotte Harold wrote: Relational databases didn't take the world by storm overnight. XML databases won't either. But they will be adopted because they do let people solve problems they have today that they cannot solve with any other tools. My problem is that I don't get paid 500k/year for w

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Elliotte Harold
Kenneth Downs wrote: Not a chance. There is no such thing as a native XML database and there never will be because XML is a file format (oops, data format), and an extremely inefficient one at that. To have a native database you need a data model. XML uses the hierarchical model and if you'

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Elliotte Harold
David Krings wrote: Don't worry! Finally someone who sees XML as what it is and that it is by far not as glorious and the key to world peace as many claim. In the end XML is an ini file on steroids. And XML without DTD is only half of the pieso much for self-defining. If all you do is

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread David Krings
Kenneth Downs wrote: And if you insist on using XML just because its so wonderful to use 17 characters to store the state NY, it will never be able to compete with even the most immature relational engines for pure speed. Maybe on example and toy sites, but never for anything that needs to sc

Re: [nyphp-talk] Many pages: one script

2007-08-08 Thread Kenneth Downs
Elliotte Rusty Harold wrote: Of course, if you really want to rock, try combining XQuery+XQueryP+APP+a native XML database. Once the tooling matures a bit, that's a stack that's going to make all previous web dev frameworks look like PowerBuilder. Not a chance. There is no such thing as