Archive for the ‘PHP’ Category

20Apr

An “Ah-hah!” moment

Posted by Elf Sternberg as chat, database, Design, PHP, web development

There are moments when the lightbulb goes off in your head with the power of a thousand white-hot suns.  For me, it happened while I was reading the WordPress Database Schema back to back with Henri Bergius’s highly influentials (well, it was a Hell of an influence on me, at any rate) Decoupling Content Management. Take a close […]

I’ll hang my head in shame later. So, I wrote this for my wife, it’s a hack on the “recent_posts” function from default-widgets.php, which comes with WordPress. It’s magic is that it scans each post for an IMG tag and, if it finds one, inserts that as the background of the list object. A little […]

05Feb

WordPress or Joomla? Mutter mutter mutter…

Posted by Elf Sternberg as PHP

Wow, talk about a niche market ready for exploitation. I was talking a client today, and my first question to her was the first question I try to get most of my clients to answer: “If you don’t do this, if you don’t spend the money and the time, what’s the worst that could happen?” […]

21Jul

Drupal hangs on installation: cause and workaround

Posted by Elf Sternberg as PHP

One very rare problem that hits some people with Drupal is that it hangs on installation, and never gets anywhere.  Using Firebug, I was able to track the problem down to jQuery, then ripped out the minimized copy of jQuery, stuck in a full copy, and re-ran the install, which immediately revealed the bug. Drupal […]

I’ve been helping a close friend with her website, which is written in rails. She admits that’s a mistake, now, because it shares database tables with a PHP application, and the communication between the two has always less than stellar. I’ve been looking into her current major problem, but while I’ve been at it, I’ve […]

14May

Python can be just as ugly as PHP…

Posted by Elf Sternberg as PHP, python

I was reading through the WordPress source code, trying to figure out a problem for a contractor, when I saw the function compact().  When I saw it I boggled, read the description, and shook my head. Compact() takes a list of variable names as strings, and returns a hash of those variable names and their […]


Subscribe to Feed

Categories

Calendar

May 2017
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031