jwinslow
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Multiple BlogsI actually have a theme I can lend you banson. Send me an email and I’ll share it with you.
Forum: Requests and Feedback
In reply to: UMLI practice what I complain about.. I have created a short version UML, or rather the beginnings of a UML for a simple template that I found. Since I am not a wizard with WP yet I was unable to discover all the relationships the files have and in what instance each would be called in.
Trying to reverse engineer what the structures are. If anyone has some spare time perhaps you can help me associate the relationships of the files. The image file is a .png you should be able to edit the individual images and add to the schema. Any help is appreciated.
This would be a good start on the front end in combination with the database UML WordPress DB UML making it MUCH more simpler for a new comer to visualize relationships instead of reading and spending hours on top of hours guessing and taking up database space on the forum. A simple check and you should be able to see exactly where and what went wrong if your template fails to work, or even adding functionality to the core itself.
Forum: Requests and Feedback
In reply to: UMLIpstenu thank you for responding. I had reviewed the documentation last week which was most helpful in understand what files were necessary. I didn’t find much about what relation the files had to each other.
I have begun developing a UML starting with the top structures of an average template. Neither my first in my experience at NCSU. In fact it was very standard as you most likely know, that developers should have a relationship model of SOME sort in the development process. I am trying hard also to involve the database calls and relations to the core code being called, the actions and when.
There really aught to be a UML project for new comer developers. I can imagine if you’ve been working with WP for years on end for a living that SOME developers may not require one, however I think it would be a useful tool for yet many developers and new comers.
In further explanation about the OO concept, each file is an object itself. It may be a base structure for another file later on another file calls in all the high level files. Therefore UML does apply. Every component in WordPress is an Object. The header is an object. The navigation is an object. The Search is an object. The side_nav is an object. Everything that is defined by a CSS rule is an object. All of what I am saying validates a purpose for a UML.
This piece is up for debate, but the concept now is that everything in programming is an OO (object-oriented) design. Though the programming may not necessarily be OOP (object-oriented-programming). Understandably PHP is a C and Perl combination or sorts which are not OOP languages. But in web development PHP is a foundation of an object used, either as a visual component or a file with a processing job that can be named i.e “functions.php” is an object.
It may take a week or so to complete the UML I have begun. I will post it up here and let the community rip away at it, whatever it takes.
While at the Wordcamp conference, I had spoken to Aaron Brazell whom is the author of The Word Press Bible in regards to developing or discovering a UML model. He had partially described such a model in his presentation on “wp_content and Beyond”. It was a topic that seemed on the tip of all the presenters tongues during their presentations but for some reason was never rectified or fully elaborated on.
Forum: Requests and Feedback
In reply to: Feature: Restrict thumbnail sizes for specific post tpesI have only been working with WordPress for a week so I may not be qualified to answer this however I am not without ideas, I understand any additional functionality must be added to the ini.php file and added consecutively to the specific file and method that calls the image size.
As I would see this, you would mimic or duplicate the code that uses the default size image, adding a bitmapmatrix filter which you can find rather effective examples online, and add this to your method. This would allow you to reuse the same image on a different scale from the same source. In the instances where you would want to call the “custom” thumbnail you would need to find that section of code and add the condition. I hope this idea helped a little however as I said, Im not very qualified.