Extracting knowledge from Devnet
Posted: Sun Jul 29, 2007 1:26 pm
I while ago I wrote a very simple crawler that went through all the posts in the Theory and Design thread looking for definitions of MVC, PHP and JavaScript in an effort to see if there was any knowledge that could be extracted from the great deal of information posted on DevNet. After reading the article on wikipedia about natural language processing I realized that my idea of being able to trawl things to find useful information that could be brought together to give it greater value probably isn't a particularly feasible one. Nevertheless I saved the results on my computer and today whilst having a little clean-up I have decided to post them.
Make of this what you will
Code: Select all
*
68569
o PHP is actually much more flexible with regards to polymorphism than C++ is, to the point where methods you wish to be polymorphic don't have to have a common abstract parent function to be interchangeablePHP is one of the least restrictive languages when it comes to polymorphism
o PHP is actually much more flexible with regards to polymorphism than C++ is, to the point where methods you wish to be polymorphic don't have to have a common abstract parent function to be interchangeable
o PHP is one of the least restrictive languages when it comes to polymorphism
*
66007
o php is where ALL REQUESTS go for an application using the ZF so it's worth the extra effortphp is where ALL REQUESTS go for an application using the ZF so it's worth the extra effort
o php is where ALL REQUESTS go for an application using the ZF so it's worth the extra effort
*
68295
PHP is not one of them
*
60564
PHP is just a tool to complete the job
*
67828
o MVC is the both the easiest and most difficult pattern there isMVC is that it's poorly documented in the literature for PHP
o MVC is one of the simplest concepts in programming, yet finding it can be complicated because in one application you could be using many languages (PHP/HTML/Javascript/Stored Procs) so people get confused with what is the M the V and the C
o MVC is one of the simplest concepts in programming Interesting, because it sounds to me like you haven't understood it at all
o MVC is one of the simplest concepts in programming Interesting, because it sounds to me like you haven't understood it at all
o MVC is unit testability as well but I won't confuse you with that
o MVC is an interesting pattern with lots of useful information and good practices, but unfortunately it does not have the kind of cookbook style examples available with other patterns
o MVC is its relationship to 3-Tier architecture -- especially in PHP
*
67845
o PHP is easy, but the problem with starting in a language like PHP which is so incredibly forgiving is that you run the risk of thinking that bad practices are goodPHP is like comparing apples to oranges since Rails is a framework and PHP is a language
o PHP is like comparing apples to oranges since Rails is a framework and PHP is a language
*
67714
PHP is single threaded
*
67389
o PHP is a scripting language and always will be, but it certainly has large-scale potential, I'm just not 100% clear on the extent of it's potentialPHP is the way to go unless you're dealing with a module that requires either shared memory of HEAVY lifting
*
67278
MVC is that it requires you to do a little more work always, but you get the benefit that as application complexity increases the amount of additional work you need to do does not increase nearly as fast as going the short-cut route
*
67086
o PHP is ready for a class like thisPHP is ready for a class like this Well I'm not going to wait until it is
*
67110
o PHP is doing nothing wrongPHP is doing nothing wrong
*
67107
o PHP is a typeless languagePHP is dynamically typed an is_int() check would prevent a stringified number from being passed
*
66880
PHP is easy enough to learn for idiots to understand and start teaching to other people in wholly inaccurate ways
*
65715
PHP is already infamous for its insecurity (fact is you can't trust even yourself with PHP ), and a 1
*
65668
php is there a way to make a variable undecided?
*
65495
JavaScript is enabled otherwise it remains fully functional using static HTML, AJAX is simply used to reduce bandwidth, etc
*
65454
PHP is typically really fast unless you are serving the large files through the php intepreter (which would slow things down a bit, ie readfile()), although I take it your CDN handles that
*
65394
o php is included in bphp is loaded, I dont know why the php code in a
o php is not parsed (run)
o php is wrapped with PHP tags ()?signature:300+ free-use php scripts | tons of tutorials and articles | wally 2
*
65127
o MVC is designed to "decouple data access and business logic from data presentation and user interaction" and was doing a fine job of it but clearly that isn't what I'm afterMVC is one of many ways to structure your code
o MVC is one of many ways to structure your code
*
65176
PHP is a basic example, but it can be extended in a few different ways using Factories, for example
*
64932
PHP is not strongly typed a class makes it harder to mess up
*
64310
PHP is neither possible, nor the best idea
*
64375
o MVC is complexMVC is unproductive and unprofitable for the customer who's paying for it
o MVC is complex
*
64119
o PHP is so stuck in the past - much beyond developers' control due to the way hosting companies operate, but other languages pretty much move with the pace at which new versions come outPHP is so stuck in the past - much beyond developers' control due to the way hosting companies operate Yeah, I hate it too, but in my opinion it's a kind of a loop: People have sites and applications written in PHP4 -> Hosting companies don't want to lose their clients so they don't upgarde in the worst case and at best they run both PHP4 and PHP5 -> Developers don't code for PHP5 since most web hosting companies don't support it -> People use this code which is written in PHP4 and so on
o PHP is becoming just another programming language with all the features that allow programmers to feel special -- rather than the gem of simplicity and productivity that is was? When it comes right down to it, the main complaint about PHP is that it allows non-programmers to program poorly
o PHP is because it allows non-programmers to program poorly
o PHP is that it tries to be too many things to too many people
o PHP is going nowhere near java or anything like that
*
64022
javascript is the best option there - maybe you could use a rich textarea replacement like FCKeditor and modify the code to use bbcode instead of HTMLsignature:My name is Kieran
*
63415
o PHP is a server-side languageJavascript is client-side
*
63419
PHP is platform independent - you should be able to compile the source code, or get binaries for, nearly anything including Windows, Linux, BSD, MacOS, etc
*
63159
MVC is a complicated pattern
*
62723
o MVC is that it is three things in two layersMVC is that it is crystal clear and very malleable if you have a good understanding of and experience with these layers and dependencies
*
62606
MVC is really cool in java, and also realy usefull
*
61575
o PHP is stateless and your entire script runs and then exits on every single page requestPHP is stateless and your entire script runs and then exits on every single page request
*
59992
o MVC is the request of the PHP MVCMVC is now split across the server and the client
*
60669
javascript is enabled or will i have to do all the pages again for people who dont have javascript for the confirmations of deleteing thanks reece Back to top matthijsDevNet ResidentJoined: 06 Oct 2005Posts: 1299 Posted: Tue Dec 12, 2006 8:22 am Post subject: Well, the answer to that question depends on a lot of factors
*
59594
o PHP is a way that is not like PHP if you require namespacesPHP is used to solve problems, which is different than other languages
o MVC is quite clear and easy to understand in Java (using JSP/Servlets/JSTL and either POJOs/JBs/EJBs), I like strict typing (call me crazy), I love objects, and compiling is a second thought if you use any half-decent ide
*
59693
PHP is overwriting the value in any case
*
59619
PHP is not as volatile and does not compiling, and since the project I'm thinking about has only one developer on it, much of this functionality is not necessary
*
59470
php is better
*
59379
MVC is all about layers and separations
*
58963
o javascript is disabledPHP is intercepting the fact that the session ID is in the $_POST, looks it up in the database and calls the right php page/function to inject the html into the already generated page
*
58488
Javascript is pretty much what you're aiming for
*
58403
o PHP is 'PHP is cross platform and works with "/" regardless
*
57443
PHP is this ever argued, the rest of the world has moved on
*
56730
o PHP is much more proliferated - try finding a hosting company that offers Python out of the box compared rather than PHPPHP is still the best performing, most well suited, accessible, depolyable and easiest to learn of the lot
o PHP is still, without a shadow of doubt in my mind, the best tool for the job or will be within 9 months (when the ZF is more mature and PHP 6 is out), although doubtless the other tools are pretty good too
*
56247
PHP is writing tight loops or possibly loop unrolling
*
56104
o MVC is that the whole point about patterns is the power of a name: in theory, when a controller mentions a "Model" everyone should know what they're talking aboutMVC is that the whole point about patterns is the power of a name: in theory, when a controller mentions a "Model" everyone should know what they're talking about
o MVC is that they are solutions that sit on top of other solutions
o MVC is that it involves two separations, and to make it even more confusing one of those is a layer separation
o MVC is better suited (IMHO) for event driven architectures, where the entry point is clearly defined (controller) but whether any processing occurs is dependant on actions/events from the end user
o MVC is better suited (IMHO) for event driven architectures, where the entry point is clearly defined (controller) but whether any processing occurs is dependant on actions/events from the end user
o MVC is also procedural in nature as the request comes in, it is processed, and then you output your results
o MVC is essentially the same thing where the names were changed just to better reflect IPO in the programming environment
o MVC is to bridge the gap between the human user's mental model and the digital model that exists in the computer
*
55714
PHP is usually used as, doesn't have constants in this regard, but rather application settings, so I can see where everyone is going when they say they never use constants
*
55934
JavaScript is not activated !