Wednesday, March 9, 2011

JumpLoader and Yii :: Uploading Files with the Yii Framework

I will try my best to keep this article like an inverted pyramid of information... but with this first sentence, I've already blown it, haven't I? Oh well. Odds are that if you're reading this post, you are looking for some simple widget / component for your Yii based web application that will allow a user to upload files to the server. Never fear, the JumpLoader yii component is here! [http://www.yiiframework.com/extension/jumploader-java-uploader]

What can this JumpLoader component do for you? Simple: it can be easily integrated into your Yii application as an extension, added as a component, and then used as a widget in your application's view files. Yes, it really is that easy. You can simply follow the link provided above to learn more about downloading and installing the JumpLoader Java Loader extension for the Yii Framework).

Tuesday, March 1, 2011

To Hell With It All, and Back Again? Chapter 1: Genesis



We've all gone down the path at some point: the black, shadowy stretch of what is possible; the path which connects the imagined with the realized, the make-believe with reality; the path of which successful failures dare not speak, of which failed successes reminisce, and of which the few and the proud often brag. How should we know this path when it approaches us? Just look for the sign which says, "Glory and despair await all those who dare... and for the rest of you, there are cookies and sandwiches in the back."

Now, let's get down to business. I am writing all of this with the hope that it will lend some semblance of aid to the poor schmuck (like myself) who decides to tackle similar (if not identical) projects... plus, I really would like a record of what the hell I've done wrong, and (on occasion) what I've done right. The Lord knows that our failures are our greatest victories.

My current project involves the design, development, and implementation of a Gantt Chart Generator of a sort. This generator, of a sort, is to be built within the Yii web application framework. Currently, I have produced a "rapid prototype" (which translates as: "a heap of code shoe-stringed within a single class, with few specialized functions to speak of, all rolled up and covered in a papier-mache interface"). This prototype takes advantage of the available widget functionality of Yii... and, more specifically, inherits from an extension known as "Open Flash Chart 2 Widget". Essentially, I extended this widget (subsequent "OFC2Widget") to provide the specific Gantt Chart generator that I desired. Of course, there are issues (euphemism for errors) that need resolved, but the widget does produce a simple gantt chart.

The task at hand is to redesign the internal structure of this proto-widget.