Do you want to enter the world of WordPress theme and plugin development? Are you thinking of designing or building a theme or plugin from scratch? We have done both free to use, open-source projects, as well as projects built for large scale markets such as Mojo Marketplace. Designing and building WordPress themes and plugins entails much more than creating custom websites or web based applications for a single use. Here are some useful tips to help get you started: Be Prepared Rather than building for a client where the…

Read More

One of our  LAMP test servers recently crashed and luckily we were able to salvage the hard disk drive from that server.  Restoring the PHP web files from that box was easy, as you can imagine.  We struggled to restore the databases though because we didn’t have export files like we were used to.  Keep in mind that your database server version should be the same.  If you’re on Ubuntu 12.04 and have kept up to date with both systems, the version numbers should match up. Here are the steps…

Read More

Corporate Zen is a website development firm that has serviced the Washington, DC, Maryland and Northern Virginia area since 1998. Recently, Corporate Zen has rebranded, developing a new logo and launching a new website. Corporate Zen’s new website development showcases our commitment to excellence in Web Development and Web Design, highlighting our eagerness to grow with our clients, our goal of providing the best product for the lowest price and our specialization in Open-Source solutions. Our new website exhibits responsive design, meaning that changes are made based on the web…

Read More

I am using Railo and EHCache to cache an array of 300,000 items from a database that need to be updated every 30 minutes.  So, naturally, I use the CacheGet() and CachePut() functions. Here’s my code, really simple: <cfset cachedURLList = cacheGet(“URLList”)> Every few minutes I would get an error report from our server….”variable [CACHEDURLLIST] doesn’t exist”.  I realized that CacheGet() must return the object by reference.  I am only caching URLList for 5 minutes.  I must have been making a request at the 4:30 minute mark, the requests each last 90…

Read More

I’m following up on my CFSummit 2013 blog post, a few people have asked me about this, so I wanted to make a page dedicated to this topic. ColdFusion 10 ships with Solr version 3.4 (Solr Specification Version: 3.4.0.2012.02.02.15.09.05 ).  It looks like they got the source code from the git repository on February 2nd, 2012.  In my application that I was writing, I was indexing a huge amount of data (full text of PDF files).  The solr instance bundled within ColdFusion couldn’t handle the amount of data that I…

Read More

So I went to my first developer conference last week, the Adobe ColdFusion Summit 2013 hosted by Adobe at the Mandalay Bay Hotel and Casino in Las Vegas.  It was my first time meeting a lot of people in the community. The keynotes were great, they really got me excited for ColdFusion Splendor, which should come out sometime next year.  I’m skeptical of the new <cfclient> tag, but I’ll give wait until CF11 comes out and I have a chance to use it before I completely write it off. I…

Read More

Last week I was working on a web crawler to crawl 250,000 URLs each night.  We had 5 client crawlers running and connecting to a master MSSQL 2013 database.  FusionGronker in ##coldfusion on freenode recommended that I try FusionReactor (a tool that allows you to monitor EVERYTHING that’s going on in your Java (ColdFusion) servers in real time. After many hours of debugging, I noticed every hour or so, a thread was getting stuck in a Native Method call.  There was no way to kill the thread, since it was…

Read More

We recently had some issues with one of our X-Cart sites.  The site is behind a Cloud Load Balancer with SSL termination at Rackspace and X-Cart wouldn’t play nicely, it kept causing an infinite redirect loop because it wouldn’t detect that the request was already secure. The solution was to have X-Cart properly detect if the request was coming in via HTTPS.  The way the load balancer works is that it accepts traffic on both port 80 and 443.  It forwards all traffic to the server on port 80 (even traffic…

Read More

I needed to prepopulate a database file for a Phonegap project that I was working on. My database was 10mb, so loading it from a SQL file via AJAX on the first launch was not an option. After many hours, I finally figured out how to do it. Enjoy! I hope this can be useful to some of you. Materials Required: PhoneGap https://github.com/chbrody/Cordova-SQLitePlugin/ Android Version, I used version downloaded on 8/7/2012. Versions differed a lot for me in updates. For example, the latest version automatically appends “.db” to your window.sqlitePlugin.openDatabase()…

Read More