old wordpress page

This is the wordpress page.

Discuss wp here.


In 1999 Sun released its first version of JSP.  PHP was created in 1995.  Since they look similar in the way they are immersed into html, I assume that JSP was influenced by PHP.

There is a difference between JSP and PHP.           JSP is “compiled” into a Java Servlet, i.e., byte-code.  PHP is a scripting language and, as such, does not require compiling ahead of time.

WordPress is a collaborative effort.  It intermingles code and html, breaking the MVC (model view controller) rule about separation.  For example, if you look at the previous two sentences you may ask yourself, “what does being a collaborative effort have to do with intermingling code and html, or “controller” with “data”.  (I would prefer “data” to “model” so we then have the Data View Controller pattern, but since everyone knows what “model” means we will move on.)

“The central component, the model, consists of application data, business rules, logic, and functions. A view can be any output representation of information, such as a chart or a diagram. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants. The third part, the controller, accepts input and converts it to commands for the model or view.”  –Wikipedia

“As client technologies have matured, frameworks such as JavaScriptMVC and Backbone have been created that allow the MVC components to execute partly on the client (see also AJAX).”

If you see html as the “view” part and the PHP code as the “controller” part, it gets a little messy.  However, talk about messy, if you come to advanced JavaScript from Java or a C++ background, you may find it difficult to come to grips with the anonymous functions nested deep within a stack of anonymous functions.

However, you could see html as code and therefore, as “controller” as well.  The “controller” produces the “view”.  The “controller” accesses the database (“model”), gets and saves data, uses the data to produce the web page dynamically.

Let me create some beautiful works of art for you using the WordPress framework.