Friday, January 9, 2015

4 reasons there are only two development choices

Two choices the right one and the wrong one . Unfortunately, 99% of the start up companies I have worked for made the wrong choice. Some of them spent good development time trying to invent and create a third choice. Which is why I don't work for them, or they don't exist any longer.

The 4 reasons this happened:

1.They never got to the point of bringing a product to market.

2. The product they brought to market was a bust because it was not a good representation of the idea that would have made them a great niche company.

3. They never had a product in such a stage of development that investors would consider them.

4. The product just did not work as promised or advertised.

Actually there is a fifth reason. At some point during development they ran out of money. While chasing a third choice they found themselves with a company and product that was doing nothing. The company was not bringing in investors or income because the product was never something they could present or sell.

I believe in doing things the "like this" way so much that I use it to write my blog posts. I wrote this post by first getting the idea about how to use the graphic I saw for a pulse post. I then uploaded the image and wrote some text about how it pertained to me and my experience. I then spent some time reading the post. After reading the post several times I came up with what was missing and updated it about six times to make it better.

I always made sure that each update was something that had meaning and was insightful. It also had to contain information about my experience with Start up companies. At all stages it was a completely readable and informative post. Not great at all stages but something a developer could take to heart and enjoy. In the last versions one of which you are now reading I looked for typos and did some duplicate word and grammar editing.

This is the final marketed product, hope you enjoyed it. I also hope that you use it to make your next meeting using agile and scrum better.

Monday, May 12, 2014

Drupal vs. CCK Compared CCK is just better!! because it's not "Fast Food"

This is an ongoing list of things that are different in CCK and Drupal 5 to 7. Basically everyting that I hated about Drupal 5 whenI first started an everything that I dislike about Drupal as a code base and the ideas that I dislike that have been implemented using procedural code. I have done these things in OOP using the native functionality of PHP.

first off. PHP frameworks and systems have become the fast food of the web. Just like fast food they re becoming the source of unhealthy websites and expensive adding to the heath care costs of businesses and NGO's running websites.

CCK uses Classes and namespaces in an extremely simple architecture to leverage the OOP parts of PHP to create modules, templating is done using PHP not another framework like smarty or twig. So learning PHP OOP means that you have already learned CCK. A developer need only open the directory containing the CCK files to learn the basic architecture that is used in CCK and they will almost instantly know how things work and how to modify anything and everything. There Is no need to learn to study hundreds of pages of documentation about,Drupal, Symphony 2 or have any knowledge of intricate paradigms used in these structures.

To make the argument for CCK over Drupal here's a list of things you can research. yourself



And hundreds of other functions. These are stupid and nolonger needed in today's PHP OOP world.


Since modules are simple namespaced classes built using PHP's native OOP


CCK uses all the basic things that made Drupal popular 10 years ago, understandable code and ease of modification and does them using simple OOP structures that can be understood at a glance. If you read the PHP documentation which you should do if you want to be a good php programmer, then you already will know what you need to know about anything in CCK.

Why am I doing this? Frankly because I think that any dedicated self-taught PHP coder can build a CMS that is better than Drupal.

They only need some guidance and a little spring board to get started. CCK is this jump start.

I believe that the internet and the profession of being a website developer is being polluted by overly complicated systems like Drupal, Symphony and others that advertise ease and convenience. Just like fast food restaurants are polluting our bodies. I want to show that your business can live without fast food code.
I guess I want to be like the Jamie Oliver of websites. and show that lean nutritious code can be had at an affordable price without all the fat, additives or learning about expensive machines and cooking utensils. You just have to gain a little knowledge about cooking.

Thursday, March 6, 2014

How to Login in as SSH root user from WinSCP to AWS

When dealing with Amazon Web Services using the command line for accessing the file system to configure the server using Putty is OK. But what if you need a visual interface for handling multiple tasks and projects? This is when WinSCP will make your dev life easier. But AWS and WinSCP do not get along by default. Most tutorials will lead to adjusting the sudoers file but does not work because WinSCP continues to throw a ssh command that AWS does not understand and will give a bash error. Here are some quick steps to using WinSCP after you have successfully connected using Putty.

Friday, February 14, 2014

How to Use Zend Framework 2 Forms in Another Script (Factory)

Here's the same stand-alone form class for Zend Framework 2. I am posting this script as-is from the Content Connection Kit so you'll need to modify it to remove errors of omission. The demo url is

Be aware that I have found that ZF2's take-over of session handling means that any use of session_start() in the container script will cause ZF2 to fail with fatal error. This means that the use of session_start() for other frameworks or class libraries like PFBC running in the same scope will block ZF2 from loading. Because of things like this incompatibility with other systems like Drupal 7.x< 8.x and Symfony2 can be expected. You can work around the problem of ZF2 sessions by avoiding the use of captcha and other functionality that is dependant on sessions. But if anyone knows of a way to disable/override ZF2 session handling completely please speak up!

How to Use Zend Framework 2 Forms in Another Script

I have been going back and forth on Zend Framework 2. First it helps me by providing some really robust code. The flip side of the coin is ZF2 makes me crazy because it's always explained terribly by classically educated computer scientist. Given that me and much of the PHP community are autodidacts this is a turn-off.

I always can tell how useful a PHP framework is by trying to do what I learned first in PHP, building a HTML form. Not one post or tutorial I could find gave a straight forward answer a to how things worked. What was worse no one gave working code for using ZF2 as a library used by another simple PH script. Trying to get this done simply and without Zends MVC in place seemed to be unattainable. This meant that ZF2 was not something I would use at first thought. That has changed now that I have this code working. This is a complete stand-alone class use of the Zend framework and only needs to be called.

Thursday, February 6, 2014

Problem connecting to SQL Server from Linux with Cpanel hosting [SOLVED]

I was having trouble getting a Centos VPS to connect to SQL Server via tcpip. After fighting with FreeTds configurations for a week I finally figured out it was a networking problem. Connecting from my PC was ok but connections timed out when connecting between the shared hosts ip addresses. The culprit was the CSF firewall on the Linux server which is apparently part of all Cpanel installions. I simply added the SQL Servers ip address to csf.ignore and csf.allow. You can find out more on how to handle this in the readme for CSF

Monday, January 13, 2014

Drupal 7: Create Forms in a Single Function

I really do not like using Drupals stucture for creating HTML forms automatically. It's too complicated to create and debug. I took the time out in a project to find an easier way. Here's the code for having the form print out directly when the method is called: