Deversus Software Inc.

CakePHP 1.3 SimpleTest and Partial Mocks

by Mike Polga on December 12, 2014

Recently I was refactoring some old code we had built on CakePHP 1.3, and I was frustrated by a lack of easy error handling, specifically in the model function I was working with. After doing some digging, I determined that extending the ErrorHandler class, and creating my own error-types was the way to go. For specifics on this, see: CakePHP 1.3 Error Handling. This allows you to stop execution and show your own error page, which is great for unrecoverable errors. It’s also much easier than bubbling all the way back to the controller, or somewhere else, to handle the error. I ran our unit tests which, with CakePHP 1.3, are using SimpleTest, and immediately saw the problem – when the code was hitting these new error cases, it was handling them like it would normally handle them – by redirecting to my custom error page. What to do? [click to continue…]


Deversus is hiring

by Mike Walsh on May 18, 2013

Business is booming at Deversus and we currently have career openings available for the right Ruby on Rails Developer, PHP Developer, or Web UI/UX Designer. More details are available on our Career Opportunities page.


Happy New Year from Deversus!

January 3, 2013

We’d like to wish all of our clients, associates and friends a very healthy, happy, and prosperous New Year! 2012 was a great year for us and our clients. We celebrated our one year launch anniversary of Socket, our online quoting software. We also partnered with several new clients and successfully launched a record number [...]

Read the full article →

Fix for postfix in Mac OS X 10.8 Mountain Lion

July 26, 2012

After installing OS X 10.8 Mountain Lion, a few things in our web development environment stopped working (namely Apache with multiple vhosts, BIND/wildcard DNS, Phusion Passenger and the rmagick2 gem, and postfix). The reason being is that Apple overwrites all of the configuration files that those tools rely on (although the old ones are all [...]

Read the full article →

7 Tips For Choosing The Right Quoting Software

January 17, 2012

Choosing the right quoting software or proposal solution for your business can be an arduous and confusing process. Several solutions exist under the varied labels of “quoting software”, “proposal software”, “estimating software”, etc.; some run on Windows, others on Mac, and some are web-based. Many offer overlapping features, although there are some significant differences that [...]

Read the full article →

How to maintain a vision for your software

November 15, 2011

(Or how to say no to your customers) Henry Ford said famously in reference to popularizing the automobile: “If I had asked people what they wanted, they would have said a faster horse.” Instead, Ford thought more broadly and created a product that addressed the true needs of his customer. Similar discrimination is key in [...]

Read the full article →

Introducing Socket: Sales quoting software with instant, online quoting system

May 30, 2011

Deversus recently released a new product called Socket, currently in private beta testing. Socket is an online quoting system that lets businesses build their own online quote forms, plug them into their website, sell online, and track and manage leads.

Read the full article →

Make Web Not War in Van!

April 24, 2011

We got a heads up from our friends at Invoke Media about Make Web Not War hitting Vancouver (now totally sold out!) and we thought it would be a great opportunity to check out what they have to offer and network with fellow web devs. The event is on May 7 at Masik Studios and will [...]

Read the full article →

Tip: How to enable AirPlay video in HTML5 video player

March 14, 2011

It appears as though Apple is requiring content providers to expressly allow AirPlay video in order for video to be playable from Safari onto an Apple TV. To enable AirPlay video in an HTML 5 video player, simply add the following attribute to the video tag: x-webkit-airplay=”allow” So, your HTML5 video tag might look like [...]

Read the full article →

Socket: E-commerce for the rest of us. Coming soon.

March 11, 2011

We recently launched a teaser page for a new (SaaS) product we’ve been working on called Socket. Socket completely rethinks how e-commerce should work for businesses that offer more complex products/services than those that fit in with the “add-to-cart” model. These businesses typically include those within the B2B or service industries. Until now, these businesses have [...]

Read the full article →