Larry Wakeman’s Blog

LCW Plugin Architecture 2.0

Posted by on Jun 20, 2016 in Downloads | Comments Off on LCW Plugin Architecture 2.0

Don’t remember  LCW Plugin Architecture 1.0? Do you remember Web 1.0? LCW Plugin Architecture 1.0 The primary goal of this architecture was to create plugins that were easily customized. This was done by writing the plugin utilizing object oriented programming. This allows a class to be created that is a child of another class (inherits the parent class) so that methods (functions) can be modified. This is desirable because WordPress deletes the plugin before re-installing an update. Implementing this correctly places the modifications...

read more

Writing customizable and upgradable applications

Posted by on Oct 26, 2015 in Insights | Comments Off on Writing customizable and upgradable applications

I was working on a WordPress plugin and I wanted to make it both easily customized by the user as well as allowing standard WordPress upgrades to happen while not destroying the customizations. When WordPress does an upgrade, it removes the plugin or theme and installs the upgraded item. If the user had customized it in the usual manner (note – I did not say correct) the customizations will be lost. I came up with the following piece of code:   /** * Function add_class */ function add_gd_class($classname) { include_once...

read more

Personal Internet Security

Posted by on Sep 8, 2015 in Insights | Comments Off on Personal Internet Security

“I am become death, the destroyer of worlds.” J. Robert Oppenheimer This is a follow-on article to Security on the Internet. Though the fears of the Los Alamos scientists was not experienced by the creators on September 2, 1969 when at UCLA two computers sent test data through a 15 foot cable. They had no idea about the far reaching impact their discovery would have. Yesterday, the television news had an article about the hacking of baby monitors. I started thinking about personal security on the Internet. Historically there have...

read more

Security on the Internet

Posted by on Sep 2, 2015 in Insights | Comments Off on Security on the Internet

“Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing.” Helen Keller With the recent hack attacks on Ashley Madison and the Federal Government I have been pondering Internet Security or the lack thereof. I am going to consider the large attacks that make the news in this article but I hope to discuss more personal attacks at a later date. Historically...

read more

Our Political System

Posted by on Jun 30, 2015 in Insights | Comments Off on Our Political System

I was approached by a lady with a clipboard at Sunday’s farmers market. She wanted me to sign some post cards in support of AB 700, The California Disclose Act. Basically it force campaign advertisements to disclose the real identities of their donors. Good idea? Yeah, duh! Will it pass? Not in your life. The politicians rely too much on donations from large corporations, some of which may not be popular to the electorate. Anyway, in the cartoon above, Danae had gone to Washington to lobby for BOSS, the Benevolent Order of Superior...

read more

HTML5 Video, the Nitty Gritty

Posted by on Sep 18, 2013 in Uncategorized | Comments Off on HTML5 Video, the Nitty Gritty

Update Recently rechecked this subject and the current versions of IE, Firefox, Chrome, Safari and Opera all seem to be able to display mp4 files. I also tested with Safari and Firefox on the mac and Safari on the iPad. The only code required is: <video id=”video” width=”429″ height=”241″ autoplay> <source src=”video.mp4″ type=”video/mp4″> Your browser does not support the video tag. </video> End of Update I had a client earlier this week that wanted to replace a...

read more

Re did the web site again

Posted by on Mar 4, 2012 in The Blog | Comments Off on Re did the web site again

Well, an update to Drupal prevented me from entering new portfolio items, so I migrated the main site to WordPress.  Mad it much easier to have the themes look the same as I can actually use the same theme. As for the portfolio, I am now using the Types plugin which allows me to create and maintain custom post types and taxonomies easily.  I will next work on moving the blog into the main instance. I now have downloads. At the moment, this is a static page but I will also work to make it part of WordPress.

read more

Re-theming

Posted by on Aug 17, 2009 in The Blog | 0 comments

You may of noticed that I have re-themed the blog.  I know, whoopee.  Now I have to create a Drupal theme for the main site to match this one.  My work and education is cut out for me.

read more

Some thoughts on the Political System

Posted by on Aug 17, 2009 in Insights | Comments Off on Some thoughts on the Political System

I don’t vote.  Don’t get your knickers in a not, I don’t vote for a very good reason, there is noone running for any office that I would care to vote for. There was a congressman that I would of voted for if I lived in his district, but guess what, his party put up another candidate in a primary election and threw all of their support behind this new candidate.  Why?  Because he would vote his constituents desire and his own concieous, not the party line.  He was also not influeced by lobbyists.  With the budget crisis here in California and...

read more

And the fun keeps on coming

Posted by on Apr 30, 2009 in The Blog | Comments Off on And the fun keeps on coming

I finally got a little time to work on the main page here.  I would like to have the email addresses as pictures and the link popup a window where php will use the mail function to send the message.  The email adresses are encoded to prevent spammers from lifting the email addresses from the web page.  What I ended up doing instead, was to apply updates to the Drupal system.  Not too bas, just a bit of learning is all.

read more