Archive for Articles

PHP vs ASP.NET

Have you ever talked to a NASCAR fan and asked him Chevy or Ford?  Or a college football fan and asked Ohio State or Michigan?  Or how loaded is the question, are you a Republican or a Democrat?  It’s pretty funny how it’s really hard to find someone with an unbiased reaction to those questions.  If YOU are asked one of those questions, you almost don’t even want to answer  because there’s a 50/50 chance you’ll end up in some sort of endless argument.  (Read about halfway down this article to see how loaded the question Pepsi or Coke? can be)  The same holds true for computer geeks when you ask PHP or .NET?  Programmers seem to either be gung-ho Open Source advocates or Micorosft worshipers.

Well, folks, the good people at Home Base Web Solutions are here to offer an unbiased overview of the two for your reading enjoyment.  We do realize that if you are reading this article, you probably are thinking of programming your own website rather than paying us to do it for you and we are OK with that.  If your site fails, give us a call and we will make it right.

First of all, before getting into specific pros vs cons of the PHP vs .NET, there are some important general concepts to understand:

  • First and foremost, .NET is a framework, PHP is a language.  .NET can be developed using many different languages, the most popular are C# and VB.
  • .NET is proprietary, PHP is Open Source.  Support IS available for both.  Microsoft support may come from certified professionals, but sometimes costs money.  PHP support is more readily available, but may come from forums with no guarantees.
  • .NET may include compiled code (.dll’s), PHP is interpreted at run time.  If designed properly, this should result in faster loading pages in .NET… however, unless you are doing some sort of very complex operations behind the scenes, the difference is negligible.  There are probably specific examples out there where one method is faster than another, but there are many variables that go into how fast a page will load.  If the page is designed well, it will load fast.  A nanosecond either way won’t bring down anyone’s server.

Now below is a quick comparison of some general features comparing PHP vs .NET.

Features .NET PHP
Easier and quicker to learn X
Faster to deploy on small websites X
Superior development environment X
Built in plumbing for a wide variety of functionality X
Designed to scale X
Loosely typed, easier to develop small applications X
Generally quicker to make simple changes to existing apps/sites X
Hosting costs are generally the same X X
Precompiled (.NET) vs. Interpreted at run time (PHP) X
More control over the entire HTTP pipeline using HttpModules and HttpHandlers X
Debugging and error handling capabilities X
Object Oriented framework: inheritance, polymorphism, overloading, etc. X

Now before we get a million comments about the quick run-down above, it is important to note that it IS possible to develop object oriented code using PHP and just because .NET has some neat debugging capabilities doesn’t mean that they’re always immediately easy to implement. There is plenty of material out there that argues tooth and nail either way, but in our general experience, we have found everything above to hold true… for us.

At Home Base we may use either .NET or PHP depending on the application. Small standard web applications such as blogs, brochure websites, standard shopping carts, and basic content management systems are done using pre-existing open source, PHP based solutions. WordPress, Joomla, and a host of shopping cart solutions are out there. They are easy to install and easy to customize. An entry level programmer can open up a PHP based website and probably figure out some of the nuts and bolts of the system to make some minor changes.

For large custom applications, our preference is to use .NET. The scalability, built in components, and inherent object oriented framework provide solid fundamentals for a well designed application. .NET also provides us a platform to more easily implement a multi-tiered framework, which allows us to use some development techniques such as test driven development, or the ability to plug in specialists into specific layers if ever necessary.  .NET also opens the door for us to have multiple User Interface gateways.  We could develop an application and interchange a web interface with a mobile interface with a desktop interface or even some custom robotic pimp shit interface that hasn’t been invented yet.  If your application is properly layered, you can interchange all of those UI’s without touching your core.  (I am currently developing an application for the Microsoft Surface. 90% of my development and testing will be using a simulator. This is all possible, and easy, with proper layering.)  We will save the benefits of an N-Tier software architecture for another post though.

We also prefer MS SQL Server 2005/2008 vs MySQL, but again, that’s another post. You can technically use either database application for either PHP or .NET, but typically SQL Server comes hand in hand with .NET and the same holds true for MySQL with PHP.  If your database is small (<100,000 records) and your server load isn’t at CNN levels, MySQL should work fine.

I will try to update this post with some good links to similar content.

AGILE / SCRUM Project Management in under 10 minutes

I found this excellent video that wraps up AGILE in a nutshell.

Hamid Shojaee covers all the SCRUM bases: product back logs, release back logs, team roles, burndown charts, and more.

Acuho-I presentation update

My presentation:  Juggling stakeholders, vendors, and complex integration points has been accepted for the ACUHO-I conference in October.  I am half excited, half nervous because it has to be an hour long and it will be at a national conference.  I was on a “panel of experts” at the StarRez Housing Software conference last year, but I didn’t really have to say much.  It is really exciting to get the opportunity to speak at something like this, however, it is the middle of September already and I have a lot of work to do on the content. :)

Another Update: Apparently the I in ACUHO-I stands for International.  I am not sure if that means “Canana can come and play too,” but I guess I am technically presenting at an international conference.

OSU HomeBase … new look… same purpose -> none

Tailgating, Ohio State Football

Tailgating, Ohio State Football

The brainchild website of the business, OSU Home Base underwent a new look. OSU Home Base is a website dedicated to our alumni group and Ohio State Football. The purpose is to serve as a general forum for old friends to stay connected and to meet new friends with common interests. I created this site as an undergrad student and during one of its many transformations, I got a lot of attention and a few job offers. I got enough offers, in fact, that I decided to go a little bigger and start my own business… and Home Base Web Solutions was born.

Love it or hate it, Social Media is everywhere

August 28, 2009 Mike Baron Comments Off Social Networking

What can cops learn from social media?

A blog on Cops 2.0 asks if there might be something that law enforcement might learn through social networks about being more media savvy before stepping in front of reporters.

The current system requires CIO’s or command staff to be the primary and virtually only media contact. There are circumstances, however, when beat officers need to talk to reporters.

The article suggests that officers might benefit from following the social buzz surrounding an event before talking to reporters. Social media provides unfiltered sources of information surrounding such an event. Participating in social media can also “help non-media-trained officers learn how to channel a quality that’s lacking in most “canned” media interviews: authenticity.”

Read the entire article here.

Google’s CEO Eric Schmidt Resigns From Apple’s Board of Directors

August 3, 2009 Mike Baron Comments Off Articles, In The News

Announced today on this press release, Google’s CEO Eric Schmidt stepped down from Apple’s board of directors. Many have said that the position created a conflict of interest between Google and Apple as the two technology giants battle it out in several areas.

CUPERTINO, California—August 3, 2009—Apple® today announced that Dr. Eric Schmidt, chief executive officer of Google, is resigning from Apple’s Board of Directors, a position he has held since August 2006.

“Eric has been an excellent Board member for Apple, investing his valuable time, talent, passion and wisdom to help make Apple successful,” said Steve Jobs, Apple’s CEO. “Unfortunately, as Google enters more of Apple’s core businesses, with Android and now Chrome OS, Eric’s effectiveness as an Apple Board member will be significantly diminished, since he will have to recuse himself from even larger portions of our meetings due to potential conflicts of interest. Therefore, we have mutually decided that now is the right time for Eric to resign his position on Apple’s Board.”

Apple ignited the personal computer revolution in the 1970s with the Apple II and reinvented the personal computer in the 1980s with the Macintosh. Today, Apple continues to lead the industry in innovation with its award-winning computers, OS X operating system and iLife and professional applications. Apple is also spearheading the digital media revolution with its iPod portable music and video players and iTunes online store, and has entered the mobile phone market with its revolutionary iPhone.

Feed your social networks

Update all of your social networks with Ping.fm

Update all of your social networks with Ping.fm

With all of the buzz worthy social networking sites out there, it can be overwhelming and extremely time consuming keeping them all up to date. Enter ping. The idea is pretty simple, you send text messages to ping and ping can update over 40 different social networking sites including facebook, twitter, AOL Instant Messenger, wordpress, MySpace, and many others.

Review Home Base on Yelp!

Real People, Real Reviews

Real People, Real Reviews

For local businesses with a storefront, sites like Yelp can make a real impact. Yelp allows businesses to create listings with all the necessary information for a consumer to find you, while other customers can review and comment on your business. Many of these sites will let business owners “claim” their listings and add information, such as phone numbers, store hours, menus, etc.

Consumers use local social networks to find businesses, but also to get social proof when making a decision. They use comments and reviews to go with the “best” listing. Because of the demographic these sites target (people ready to make a decision) small businesses can see a great return from local social networks.

As of the time of this posting, Home Base doesn’t have any reviews on Yelp. If you’re a client, go ahead, let the world know how you feel about us! :)

Building Social Capital via Online Social Networks

The Facebook Era

The Facebook Era

I just finished reading a book called “the Facebook Era: Tapping Online Social Networks, to Build Better Products, Reach New Audiences, and Sell More Stuff” by Clara Shih. Shih works for salesforce.com, so if you can get past her slobbing over how great of a product her employer offers, she does do a pretty good job of painting the landscape of social networks and who they appeal to.  She then offers up valuable insight into the future of the online social graph and how to use it to grow and manage your online presence.  As someone who has been on Facebook and Twitter and who works with younger, technology savvy students on a daily basis, this was a good exercise for me to supplement what I already sort of figured out on my own and also provide some new perspective on the value of what I have already been doing.

The book inspired me a bit so I will write a series of articles on some of the topics I found most interesting. I don’t want to make any promises so I’m not going to say how many articles will be in the series, but in this first blog I am going to talk a little bit about Social Capital.

Every individual has an inherent immeasurable social value or capital. This can be divided into two types of capital: Human capital, including talent, charm, charisma, and other personality traits that may be valuable to our success,  and social capital, which is basically the value of our relationships. According to Robert Putnam, a professor of political science at Harvard, “social capital can be measured by the level of trust and reciprocity in a community or between individuals, and is an essential component to building and maintaining democracy.”

One of my good friends who we will call “Neighbor Joe” works in a ticket office at a major venue in a big city. Over the years, Joe has acquired a great deal of social capital by building relationships with other colleagues in his industry. Joe can get free hockey tickets to just about any game he wants through his job. He likes hockey, but he’s not a die hard fan. He is, however, a big music fan so he uses his social capital to barter and trade his tickets for tickets to concerts at the different venues around the city. He also might give free hockey tickets to a bartender friend and receive free drinks at a bar some time.

Joe has a strong network of closely nit interpersonal ties. He fosters these relationships by offering free tickets and trades with his friends.  He uses his social capital to obtain free tickets and builds it by offering tickets for free. No matter what though, the people he is trading with; friends, co-workers, family, neighbors, will continue to be his friends, whether he provides the tickets or not.

We all also have an extended network of relationships known as weak interpersonal ties. These are more casual acquaintances; perhaps people you knew from high school, someone you met at a conference, or a friend of a friend. Nobody has the capacity to remember everything there is to know about every weak tie relationship they have, nor the prescience to know which ones might become valuable in the future.

In mathematical sociology, these strong and weak interpersonal ties are defined as information-carrying connections between people.  Weak social ties, it is argued, are responsible for the majority of the embeddedness and structure of social networks in society as well as the transmission of information through these networks. Specifically, more novel information flows to individuals through weak rather than strong ties. Because our close friends tend to move in the same circles that we do, the information they receive overlaps considerably with what we already know. Acquaintances, by contrast, know people that we do not, and thus receive more novel information. (1)

In Joe’s case, a weak interpersonal tie might be my sister, whom he met at my wedding.  My sister lives in Chicago and Joe is interested in going to Lollapalooza, which is a large concert held in Chicago.  If Joe were Facebook friends with my sister, he would know where she lives, and he might ask her on advice on where to stay, what to do when not at the concert, and perhaps where to eat.  My sister might find it odd to get a random phone call from a person she does not know.  Through Facebook, however, she can instantly match a face to a name, immediately recognize how she knows Joe, and Joe can communicate using a low risk, less intrusive manner.

Social Network Analysis has been around in some capacity since the late 1800’s so the concepts of the importance of fostering and maintaining weak tie relationships is nothing new. Thanks to online social networks that sort of specialize in weak tie relationships such as Facebook, LinkedIn, and MySpace, it has become socially acceptable to maintain those fringe weak tie relationships that we may not have had the capacity to maintain in the past. As Chah states: “By reducing the cost of interaction and the cost of maintaining a relationship, sites like Facebook and LinkedIn help increase our network capacity to include otherwise-forgone fringe relationships.”

So what does social capital have to do with small business? Ah hah! This is where I drop the hook, line, and sinker to get you to read my next article! Think about the Customer Relationship Management (CRM) aspect of a social network. Websites such as Facebook offer a low risk, low cost CRM solution. I used to send Holiday cards to my clients in December. Now if I befriend my clients on Facebook, I may know if a Christmas or Hanukkah is more appropriate. I now know when my client’s birthday’s are, their marital status, and how many children they have. I have a horrible memory so this kind of info comes in handy.  When I see a client I can say, “So how is Joan and the kids?  Johnny should be driving a car soon, no?” instead of “So how are the wife and kids?”

There are many ways to increase social capital using online social networks. Becoming a fan of a business on Facebook acts as free passive word of mouth advertising for that business. Online social networks can also be used as recruiting vehicles. Just having information about your business in your personal profile along with having a large group of weak interpersonal ties increases your social capital because you don’t have to shove your business down people’s throats for them to be aware of what you do. If you constantly provide status updates, actively participate in groups, and/or write blog entries (wow, look what I’m doing), these updates appear to everyone in your network, as a constant passive reminder of what your business is about.

I could probably write another couple of pages, but if you want to read more, I would recommend buying the book  or another similar piece of literature. There are many people writing on the topic…  I think the next social networking article I write will be about hypertargeting ads on social networking websites. The idea is sort of like PPC on steroids.  With sort of a saturated Pay Per Click market out there, especially on search engines, the value of targeting your advertising to very specific criteria becomes more and more important.