So I’ve had some experiments porting Design Patterns outlined in Java to PHP. As far as the usefulness, that remains to be seen.
Today was some work in Chapter 6 of Head First Design Patterns, which essentially has the user building a ‘Universal Remote’ with 7 slots, each with an On and Off state. While copying the code and creating the design pattern, I was brainstorming practical uses for this routine in web development, but came up blank.
Another thought I had was using Javascript objects to store information about a page’s state, while using AJAX calls to update the page content and have the Javascript read back and updates to the page’s state.
Anyway, this is all just wild talk until there are some code examples, right? I know next to nothing of GitHub, but that seems to be the next logical step in allowing people to access my code and appropriately slander my shortfalls as a web developer.
Peace,
Gregg