Joey Adams Dot Net

Southern Fried Programming


Archive for the ‘Projects’


Home Server Speed + Development Changes

Last week I moved everything in a couple rooms of the house around, and now my workstation and server cabinet are in my room (and it hot as hell, I run like 4 electric fans + ceiling fan just to cool down).

I am now in a situation, which is fun for any enthusiast. I love redoing the network, or just working on it. I am seeing some speed issues with this site, and my other projects. Of course these are not meant to be highly available or that fast anyway, but they are suffering performance issues greatly.

 I am suspecting the Rackmount Hub I have in the cabinet that hooks the servers together with the network. I am going to try to get a rackmount switch, and see if that helps out, which it should.

The network environment is a mess right now, although an ordered mess, haha. I need to build the rest of a PC  to have in the living room to power the extender for my home PVR, I am going to just use a crossover cable to connect the two, then connect the pc wirelessly to the network to get updates and guides.

The windows server is not doing the print server correctly, nor have I finished setting up the fax, because I lack another phone. So if you call the house 3 times, you get data tones :) .

I have also switched my development flow to using subversion, and never t0uching production folders. I am using WebDrive to map the projects directory to my pc, and using ZendStudio’s svn functions to make changes to the trunk of the projects repo, which runs on the windows server. Whenever I am ready to show a client a new feature, I copy the trunk to the staging branch, and update the staging directory.

The staging server is password protected so only me and the client can see development. The development server is only accessible to my local network. Once the client approves the changes, I will copy the staging branch to the live branch, then update the live(production) folder.

 This effectively makes several backups of the source, at different states, on different harddrives, and I never have to touch files in the production environment, this is a very important concept.

Just a note on Zend Studio, also note I am using ZS for Eclipse. I really wish it had some type of remote-svn project resource. Or even a remote-project resource that you could have say a ‘php’ or ‘framework’ project without hacking up the project settings. It just made it very difficult to use its built-in project settings with svn on a remote server, which is a very very common development environment. 

Zend just has never been very good with community support. I am not sure about their product support, but the forums are a ghost town, and offer not much help, and emailing them does hardly any good, ALTHOUGH it may have changed.

I submitted several requests on a lot of different emails about my profile in the zend yellow pages after getting my ZCE , because I could not edit the details, this was about a year and a half ago, I just now a few weeks ago received an email saying it was fixed haha.

So maybe they have a new support team.

I will write up some network statistics after changing, and a how-to for subversion development at home.

AT&T/Bellsouth Filtering SMTP out vs My postfix, IIS mail servers

If I have ever spoken to you regarding mail servers, it was probably a frustrating conversation. Me and mail servers just do not get along. I have tried numerous times on all sorts of platforms from unix to linux and windows to get sendmail, postfix, even iis to work correctly.

Well, as a developer, I am needing mail functionality in my php applications. I also would like my joeyadams.net and other domains to be able to have unique email addresses. I already have a windows 2k3 server set up for file/print and previously mail with exchange, which actually worked… well some of the time.

 So here is my plan, on my redhat box, ditch sendmail, use postfix. On win2k3 setup simple iis smtp and pop3 services.

(more…)

MYSQL Abstraction Pro + iObject, Powerful Abstraction

I have created a MYSQL abstraction layer that I am pretty proud of.

Here are some of the features:

  • Maintain only one persistent connection to database
  • Can create multiple stored connections at runtime
  • Error Logging
  • Select between 3 return type with each query, including all new iObject
  • iObject (improved Object) has helper methods, and is extensible via Plugin
  • Escape function for variables/array before using them in query
  • Get results in xml or html format, great for reports/test

(more…)

Zend Framework 1.5 Praise, and Free Skeleton App Download

If you know anything about me and my profession, you know that I am a extreme advocate of the Zend Framework and its standardization of PHP programming, well Zend has just release v1.5 of the framework.

To be honest, I could beat a dead horse by reiterating what is new in 1.5, however I am going to focus on what I have been working with and so far love about the new version.

Also, You can download my compiled skeleton 1.5 project, complete with the 1.5 Library at the end of this article. (more…)

BrokenWeb Security Consulting and Development in the works

I have mentioned a few times possibly starting a IT Security consulting and web development venture. Here lately, while working a full-time job, going to college full-time, taking care of my son, training MMA, and studying for the MYSQL-DEV exams, I don’t have time to put this together.

However in down time I have gone over ideas, talked to some people, and have some pretty neat things planned for this. I have a lot of great ideas for the site, including frequent blogs on security for both business owners and individuals wanting to become more secure. Video demonstrations of how attacks work. (more…)

Linksys DMA2100 Home PVR Wrap-Up

I installed a Dlink green ethernet switch last night.  Network is perfect, all bars with no loss or defects, and navigating the menus are super fast.

I figured out the deal with the video not being wide screen. Turns out, since we have analog cable, video is sent in 4:9 format, not 16:9 which I was setting the TV for. Amazingly, when showing 4:9, there is no deformations, video is very clear. So it is win win.

I have also begun ripping DVD’s I own into MPEG format so that I can watch them on the extender.

All in all, after tweaking, I would say it was definitely worth the effort.

Linksys DMA2100 Extended Review

OK so I’ll start out by popping off with issues that have not been fixed.

  • I am still unable to get full-screen video playback, however mysteriously, some online content does play back in full-screen mode.
  • Composite video connections do not work, yet I have not tried resetting the device (an action that requires a menu to finish, I think, which is quite stupid imho).

So I increased the power of my wireless AP, however it is very limited, and quite old, so that is one factor in the horrible performance when using wireless, especially when the device is able to use Wireless N technology. I suspect a newer AP with N technology would perform vastly better. Instead , I replaced the antenna on the device with some high gain ones I had lying around:

Linksys DMA2100 New Antenna

(more…)

Linksys DMA-2100 and Home PVR Initial Review

Today I received the Linksys DMA-2100. I already had my Vista PC setup with a tuner card and media center, so I was ready to get the DMA2100, which I’ll call the extender for the rest of this article, hooked up to the plasma in the living room.

Setup was very easy, just connect power and A/V cables, then go through on-screen GUI on the extender and media PC and you’re done.

Here is my review, which I’ll explain:

Pros:

  1. Easy Installation
  2. Does what it says it does
  3. No Monthly fees
  4. Stunning interface
  5. Connections for all devices.

Cons:

  1. Wireless Network graph is horrible, when PC and Extender are but 10 ft apart, room to room.
  2. Wide-screen, but does not fill the 46″ Plasma.
  3. Composite on my unit does not work.
  4. The network issue makes the unit unusable.
  5. Some buttons on remote do not work.

WAIT! Some of these issues are addressed farther down, do not stop reading if you are considering this product. (more…)

LousVoice.com Launched!

In my last project I had the pleasure of working with a very experienced voice talent. His name is Lou Christian, and he has had almost 40 years in broadcast media. He does professional voice overs for radio and television. I created a web presence for him, as well as a back-end application for him to edit pages with a Rich Text Editor, with preview, as well as manage other functions of the site.

This was done on top of the Zend Framework 1.5, and the media player was created with Adobe Flex.

I have listened to his work, both dry and post production, and I was just blown away. The sound is very crisp, and is extremely good quality. His prices are also very reasonable, and to top it off, he is one class act. Lou is a really energetic and crazy guy who loves what he does.

So if you are looking for some voice over or voice tracking, please check out his web site at LousVoice.com

Home PVR Linux Vs. Windows

Here is my problem. I work overnights, and go to the gym in the evenings so there are shows that I’d like to watch, but I have to always miss. It would be nice to watch them in the morning or the next day when I’m off work, when there is nothing good on anyway.

I’ve always liked the idea of a TiVo, but just one of my beliefs is right of ownership, and the distinction between a product and service. I believe after the initial price of the TiVo box, you should only have to pay service fees if you intend to use an “exclusive” set of features of the TiVo. Things like downloading online movies, access to internet tv or stations, or some of their other online features. However the guide, and recording features should be available without service charges, less you just have an expensive paperweight.

Enter PVR’s, or Personal Video Recorders. (more…)