Re: Questions.
Aleksander Slominski <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
lrargerich wrote: > Hi, some questions for my PHP Pull-Parser > > 1) My PHP Pull parser needs a name, ideas? i do not know what are name conventions for PHP (just googled) but what about XML_Pull_Parser (or just Pull_parser)? or maybe some other fancy name that has nothing to do with XML and do not start with XML (to make it a bit different from the crowd) :-) > 2) "require" is reserved in PHP, do you have an alternate name for > that method "requireElement" ?. Sidenote for API designers: don't > name method using words that may be reserved in some languages :-) i had not idea "require" is reserved in PHP - it looks like every useful verb in english may be reserved and should not be used (and that descriptive function names are better ... ). thanks, alek