Archives for Software Dev - Page 27
Service Bus Architecture
A Sample Use Case Say you have an ‘Account Creation’ Service. For users who want to create a new Savings account, you offer a RESTFul Service. For folks who are…
Books on Algorithms
Also see my – Problem Books for Pure Math, Physics and Mathematical Physics If you are looking for a recap of computer science algorithmic concepts either for fun or for…
Publish Subscribe Pattern in C# and some gotchas
The eventing mechanism built into the .NET runtime makes it a piece of cake to implement a simple publisher - subscriber pattern (C# code follows). public class EmployerPublisher { public…
In Stream vs. In Display
In-Stream can sometimes lead to more views because the Ads appear when someone is already watching a video and the Ads PLAY before the actual ; In-Display requires the user…
Google Video Ads, Facebooks Video Ads
CPM vs. CPC In all ads, you can pay for either impressions (CPM) or clicks (CPC). An Impression – as the term implies – is every time the ad is…
Business Architecture versus Enterprise architecture (Technical)
Business Architectural Frameworks differ slightly from regular EA Frameworks (TOGAF). At a high level, the BAF is agnostic of specific lifecycle or methodology requirements. A regular EA framework needs to…
DevOps (Agile) versus QA (Waterfall, SDLC)
When working within the TOGAF framework, it is important to propose the right architecture for the right development ; For example, for an Agile methodology, there would be a heavy…
Calling wordpress shortcodes from within PHP code
I was looking for a way to display my linked in profile in the sidebar. template needed to be edited – but I wasn’t sure how to call the shortcode…
List Items–Vertical Spacing
The margin-bottom attr accomplishes this. margin-bottom: 8px; Since you don’t need the spacing on the last list item,li:not(:last-child) { margin-bottom: 5px; }
PHP–JSON object to array
The trick was to pass in ‘true’ to the This returns an associative array instead of an object.$json_string = ''; $jsondata = file_get_contents($json_string); $obj = json_decode($jsondata,true); echo ‘<pre>’; print_r($obj);