tag:blogger.com,1999:blog-55428402641564776062008-05-02T14:11:37.002-04:00PHP GuyDonald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5542840264156477606.post-12884224247808649012008-04-30T21:56:00.003-04:002008-05-02T14:11:37.032-04:00jQueryWell I've been using<a href="http://www.jquery.com"> jQuery</a> from quite some time now, and I must say they have a <u>great</u> product. It is a extremely easy to use as well as makes things such as alternating row colors in a table so easy, with two lines of code you can have alternating row colors on a table. The plugin support is great and pretty much anything you can think of you can find a plugin for.<br /><br />Andromeda is rocking along and from what I here from Ken there may be some news coming in the next couple of weeks or so.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comtag:blogger.com,1999:blog-5542840264156477606.post-49731895520948320772008-02-21T20:52:00.002-05:002008-02-21T20:58:12.255-05:00Andromeda SVNWell now that Andromeda has had SVN support built in for about two weeks I must say it makes pushing updates from dev to staging <span style="font-weight:bold;text-decoration:underline;">ALOT</span> easier also has allowed for cooperative development of Andromeda even more possible.<br /><br />I would say keep your eye on the <a href="http://www.andromeda-project.org">Andromeda site</a> in the coming weeks for more exciting news.<br /><br />And for those of you who have yet to try it...just do it already!! It will change your world.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comtag:blogger.com,1999:blog-5542840264156477606.post-30082091155376901212008-02-10T22:49:00.000-05:002008-02-10T23:14:05.551-05:00Busy WeekWell this past week has been extremely busy both @ work and after work with Andromeda. Which is funny because both are connected. The e-commerce project I have been working on for the past ~5 months now uses Andromeda, so a lot of the bugs, most in my custom code not so much Andromeda lately, that I find keep Ken a little busy.<br /><br />But besides that Ken has been busy this week getting SVN(subversion) working for upgrades of Andromeda, and also deploying Andromeda applications. We will hopefully be announcing the AndroPage feature this week, it is currently available in the most recent releases of this week we just haven't announced it. I am working on getting the LIPHP site wrapped up so we can get that out there.<br /><br />I have a couple of extra that I am going to work on this coming week for Andromeda which include report back features this way we can start to see how people are using Andromeda as well as where in the world people are using it.<br /><br />I can actually say that I finally have used a framework that I would use for anything. And it does try to separate the code into all sort of sections and folders, my worst experience with something like that was fusebox(Coldfusion) or Mach-II also coldfusion. Drupal and Joomla have way too much stuf to sort through to find anything, and then when you have found it you havent it something that just has the title that you were looking for.<br /><br />Andromeda make creating an application with logic easy, and even just a website is easy to throw together with Andromeda and is even easier since the introduction of AndroPages. I am going to also start working out my idea of creating a google chart plugin for AndroPage which will bring reports to the next level.<br /><br />Well that also for now, happy programming everyone.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comtag:blogger.com,1999:blog-5542840264156477606.post-87290816449486457262008-01-30T12:15:00.000-05:002008-02-01T17:20:05.156-05:00Upcoming Andromeda FeatureAbout three weeks ago I was working on a project for work, that is using <a href="http://www.andromeda-project.org/">Andromeda</a> and for some reason got to thinking about reports. And I thought to myself why couldn't we use <a href="http://www.yaml.org/">YAML</a> to define reports. So I sent an email to <a href="http://database-programmer.blogspot.com/">Ken Downs</a> and suggested that we should get together and hash this idea out. So we got together about two weekends ago, and I presented this idea to him, and then showed him <a href="http://www.smarty.net/">Smarty</a> and showed him a couple of things that could be done with it.<br /><br />Basically the whole "concept" comes down to the following<br /><ul><li>We already have our tables defined in the application YAML file</li><li>A report is just how to display the data</li><li>Smarty Gives us a way to have some logic (Looping, Alternating Row Color)</li><li>WE just need a filter for the data to display (WHERE CLAUSE)<br /></li></ul>So over the course of the rest of the weekend Ken coded up the concept of an AndroPage, which literally passes off the data to a another class that handles either turning the data into a Report(PDF) or a page(Smarty). After he was done with that I put into place the code that loops through the sections, and assigned the row(s) to the appropriate Smarty Variables named after the section they are in.<br /><br />The definition of page looks like this:<br /><blockquote><pre>options:<br /> title: Reviews<br /><br />section review:<br /> onerow: "Y"<br /> table reviews:<br /> column name_book:<br /> compare: = @book<br /> column review:<br /> column ts_ins:<br /> column ts_upd:<br /> column uid_ins:<br /> column uid_upd:<br /><br />uifilter book:<br /> description: Book Title<br /> type_id: vchar<br /> colprec: 50<br /><br />template: p_review.tpl<br /></pre></blockquote><br /><span style="font-weight: bold;">options:</span> Allows us to set things such as page title.<br /><br /><span style="font-weight: bold;">section:</span> Allows us to litterally pull as much data as we want and place it in different sections around the page, such as maybe client information in one area and then ads pertaining to this clients industry in another area.<br /><br /><span style="font-weight: bold;">onerow:</span> Specified that we only expect one row back for this page(This is done so that we do not need a foreach loop in the smarty template)<br /><br /><span style="font-weight: bold;">table:</span> Refer to tables that are specified in the application YAML file. Multiple tables can be specified and Andromeda will attempt to join the tables based on primary_keys<br /><br /><span style="font-weight: bold;">column:</span> The columns to be used for display from the tables.<br /><br /><span style="font-weight: bold;">uifilter: </span>Tells Andromeda that we need to filter on something, and if its not specified display a page so the user can enter it.<br /><br /><span style="font-weight: bold;">template: </span>Tells Andromeda that this is a Smarty Page and to use the specified template.<br /><br />Each section get assigned to a Smarty variable with the same name, then you just have to create the Smarty template.<br /><br />An example of a Smarty template is this:<br /><blockquote><br /><pre>{* Smarty *}<br />&lt;table border="0" cellpadding="0" cellspacing="0"&gt;<br />&lt;tbody&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;&lt;h3&gt;{$review.name_book}&lt;/h3&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;Review:&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;{$review.review}&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;Reviewed by: {$review.uid_ins} on {$review.ts_ins}&lt;/td&gt;<br /> &lt;/tr&gt;<br />&lt;/tbody&gt;<br />&lt;/table&gt;<br /></pre></blockquote>There as still a couple of minor bugs which should be fixed shortly and then there will be a release.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comtag:blogger.com,1999:blog-5542840264156477606.post-43471352227567311792008-01-24T21:03:00.000-05:002008-01-24T21:22:34.841-05:00Blog ChangeI have decided to go with Blogger instead of Drupal as there were too many options in Druapl and changing something took some digging. So now I am using blogger.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comtag:blogger.com,1999:blog-5542840264156477606.post-6374416522986465162007-10-23T13:16:00.000-04:002008-01-24T21:01:08.620-05:00EngagedWell after three years of dating, Melissa and I are engaged. We left for a cruise on October 11th so I figured before the cruise I would give her a Carribean Pirate Treasure hunt. I made a map with two X's on it, one was the location of the treasure chest with the ring in it and the other was the location of the scroll with the combination to the small luggage lock i used to lock the chest.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.comtag:blogger.com,1999:blog-5542840264156477606.post-59811941663632899582007-08-06T18:55:00.000-04:002008-01-24T20:59:46.978-05:00First PostWell this is the first post on my new developer blog. I am looking to get more involved in open source projects, and maybe even some C based projects, as I do not really know C (haven't used it since school, and its use then was extremely basic), but would love to learn more. So if you have a C based project that you are working on and are looking for some help, I would be more than willing.Donald J Organ IVhttp://www.blogger.com/profile/14412453157119493777noreply@blogger.com