OOP

Qt C++: Threaded Communication with Artema Hybrid on Linux

Communicating with an Artema Hybrid CC Payment device is actually deceptively simple. I’ve written an application what uses a webkit widget exclusively for the UI display, and so I hook into the Javascript to provide some extra functionality to the app, in this case, reading and writing to/from the Artema Hybrid device. The documentation that [...]

Tags: , , , ,

Posted in: c/C++, C/C++ Programming, Computer Science, Javascript Tutorials, Linux, OOP, Qt, Tips and Tricks, Topics, Tutorials | No Comments »

Ruby on Rails Session in Models: Not So Evil Actually

I just finished reading this post from m.onkey.org on how to put your session into your models. First off, I love this guy, and his site, and most of what he says, but I’ve had it up to here with this nonsense. I also kind of felt a little dissed by the PHP comment. I [...]

Tags: , , , ,

Posted in: Computer Science, General Computing, OOP, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Tutorials, Writings | 1 Comment »

HowTo ActionScript 3 (as3 flash or flex or AIR) Class and Object Inheritance, extends

It seems I have been getting alot of hits due to my post on AS3 inheritance, and I notice that most of the documentation and examples out there don’t really cover the whys and the hows in a thorough manner. There are a couple of parts to this little tutorial, the first being a kind [...]

Tags: , , ,

Posted in: ActionScript 3 Tutorials, Flash/Flex, Flex/AIR Tutorials, OOP, Topics, Tutorials, Web Design | No Comments »

How To Flash CS5: Keyboard Navigation Action Script 3 KeyboardEvents

Well, I was watching an interesting little tutorial on keyboard navigation with AS3. Now, the guy’s tutorial was actually really good, however, it wasn’t really what I would call AS3. It was very on target for what it was doing, but didn’t leave much room for expansion in my opinion. So I decided to try [...]

Tags: , , ,

Posted in: ActionScript 3 Tutorials, Flash/Flex, Flex/AIR Tutorials, OOP, Topics, Tutorials, Web Design | 3 Comments »

Simple PHP closure/lamda/anonymous function usage.

This is a fun little example of the new Closure features in php. ?View Code PHPclass TArray { public $pMembers = array(); public $pCurrentIndex = 0; public function __construct() { $args = func_get_args(); if (empty($args)) return; if (count($args) == 1) $args = $args[0]; foreach ($args as $arg) array_push($this->pMembers,$arg); } public function push() { $args = [...]

Tags: , ,

Posted in: OOP, PHP Tutorials, PHP/MySQL, Topics | No Comments »

AS3 Multiple Inheritance/Mixins

Well, I just got done reading this post about multiple inheritance in as3 which probably should have been titled AS3 mixin technique, because that is more or less what it is, check out the wikipedia article on mixins for some history and pros and cons. I’ll will admit straight out that I am a supporter [...]

Posted in: ActionScript 3 Tutorials, Flash/Flex, Flex/AIR Tutorials, OOP, Topics, Tutorials | No Comments »

ActionScript 3.0 Wishlist

ActionScript 3.0 is just, well, pretty damn awesome. Nevertheless, as I’ve been working in AS3, I have come across a few limitations of the language, that while not show stoppers, leave just a little something to be desired. 1. No control over GC. That doesn’t sound important to your average Joe Programmer, but being able [...]

Posted in: Flash/Flex, OOP, Topics, Web Design | No Comments »

Powered by Wordpress. Design: Supermodne.