Go Back   CodingForums.com > :: Other forums > Forum feedback and announcements

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-03-2012, 10:50 AM   PM User | #1
XmisterIS
Regular Coder

 
Join Date: Jun 2010
Posts: 239
Thanks: 50
Thanked 6 Times in 6 Posts
XmisterIS is an unknown quantity at this point
Suggestion for new a sub-forum.

It would be nice to have a DOM sub-forum in the PHP forum, seeing as there's one in the Javascript forum.

My reason for suggesting this is that i have found the PHP DOM library to be immensely powerful and useful, indeed it forms the backbone of all the CMS's that I have written and a lot of other things too.

BUT - I've discovered that each language's implementation of DOM seems to have its own little quirks and nuances that can have you sat there for ages thinking "WTF??" until you figure out that it's a peculiarity of that particular implementation. PHP's implementation is no exception! E.g. you can run into all sorts of memory pollution problems with the DOMNodeList class, if you're not careful (so I've discovered the hard way!). There are various other subtleties that I've learned the hard way too.

To have a PHP of sub-forum would be very helpful.

Last edited by XmisterIS; 02-03-2012 at 10:58 AM..
XmisterIS is offline   Reply With Quote
Old 02-03-2012, 06:11 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
I don't really see a necessity to have a DOM subform in PHP. DOM is highly used within Javascript itself, but has limit use overall in PHP.
I won't disagree with the power or usefulness of DOM, but there is no comparison between JS and PHP when it comes to the usefulness of the DOM as a whole - PHP has nothing on JS when it comes to the frequency of its use.

A big part of the problem is simply popularity to use. Having a DOM forum won't make DOM any more popular to use, and overall it doesn't appear that DOM is the chosen route to manipulation here (more simplexml than dom). The question then comes why not have a mysql subform for PHP? Why not a PDO? Why not a DateTime, or network handling, or LDAP, etc etc, until you have a subforum for every extension available. This will quickly become more problematic to look through.
Fou-Lu is offline   Reply With Quote
Old 02-03-2012, 07:49 PM   PM User | #3
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
Quote:
Originally Posted by Fou-Lu View Post
A big part of the problem is simply popularity to use. Having a DOM forum won't make DOM any more popular to use, and overall it doesn't appear that DOM is the chosen route to manipulation here (more simplexml than dom). The question then comes why not have a mysql subform for PHP? Why not a PDO? Why not a DateTime, or network handling, or LDAP, etc etc, until you have a subforum for every extension available. This will quickly become more problematic to look through.
Don't we have a MySQL forum? In which you're supposed to ask PHP-MySQL questions.
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 02-03-2012, 08:21 PM   PM User | #4
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Quote:
Originally Posted by Apostropartheid View Post
Don't we have a MySQL forum? In which you're supposed to ask PHP-MySQL questions.
We do, although most PHP based questions typically end up in the PHP forum not the MySQL one.
That wasn't my point though, my point is that we don't want to start jumping subforums to match every extension that PHP has available.
Fou-Lu is offline   Reply With Quote
Old 02-03-2012, 08:35 PM   PM User | #5
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
Quote:
Originally Posted by Fou-Lu View Post
We do, although most PHP based questions typically end up in the PHP forum not the MySQL one.
That wasn't my point though, my point is that we don't want to start jumping subforums to match every extension that PHP has available.
Yeah, of course I agree, I was just confused =P
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:53 AM.


Advertisement
Log in to turn off these ads.