Categories
business

Small Business Will Step Up… Later

There was an article in Sunday NYTimes – Economy to Entrepreneurs: Turn Back (link) discussing how small business owners and entrepreneurs seek refuge in corporate life at the harsh economic times. Given the high fuel cost and tight budgets it is no wonder the profits are shrinking. For small businesses, that operate on much thinner margins now the suffering could be fatal.

However, once the economy will hit the bottom and start getting back up, there will be plenty of opportunity to shine. Seeing successful startups emerging here and there, recently converted corporate types with get back into their entrepreneural mood. Sure, many will decide to remain attached to the safety net and many who did not venture into entrepreneurship before will decide to do so. That’s a whole new market opening.

For years there have been coaches and consultants who suggested how you should run your business. It was, however, a pretty daunting task, since any entrepreneur (especially a newcomer to the scene) is mostly a one man show. Accounting, operation management, general management, sales – everything falls on a single pair of shoulders. That is exactly where the new opportunities arise.

Advising new businesses on tools, techniques and methods, assisting in research and helping with promotion have been around for a while. With internet, web sites, blogs, social networks, various advertising models and ways to reach and serve the customer the ways to do business have changed dramatically. Whoever will catch this ball at the earliest and will run with it will probably reap the biggest reward.

Categories
programming

Useful Language-Changing JavaScript

Recently I had to quickly make a copy of the same web site iin a different language. Instead of coming up with complicated solutions (the web site isn’t that big and the second language was long overdue) I decided to copy the contents into a subdirectory and just substitute the contents in English with the same in Spanish.

The thought behind was that I can alternate between each page using simple javascript routine. So there I have example.com in English, example.com/sp/ same thing in Spanish. Same pages are named the same, so it’s example.com/about_us.html and example.com/sp/about_us.html – otherwise the script it useless.

The function is fairly simple:

function langChange() {
var pt = location.pathname;
var hs = location.host;

if (pt.length < 4) {
newloc = ‘http://’ + hs + ‘/sp/’;
} else {
if (pt.substring(0, 4) == ‘/sp/’) {
newloc = ‘http://’ + hs + ‘/’ + pt.substring(4);
} else {
newloc = ‘http://’ + hs + ‘/sp’ + pt;
}
}
window.location.assign(newloc);
}

Pretty universal, works everywhere. Set in as an onclick() event for your language changing butn and you’re good to go.

P.S. If you have much faith in Javascript – feel free to add ajax call to database for current page to figure out the counterpart in a different language.

Categories
software

Version or Revision Control Software

It has just occured to me that I don’t know any single small web development suite (from UltraEdit all the way to Dreamweaver) that would have a simple version or revision control. Of course, there are SVN, CVS, Visual SourceSafe and that monstrous Team Foundation Server, but they are not the solution.

But what a small business owner to do? Or a freelancer? Or a team of less then ten-twelve people? All these creatures seem a bit… overpowered. It’s like purchasing a freight truck instead of a van. For a team of ten hardcore programmers – it’s a great tool. For web designer, couple of coders, technical writer and their project manager – it’s the common pain in their individual necks.

So what I want to see is the tool that can:

  • integrate into popular HTML editors, like Dreamweaver, UltraEdit or others
  • act as a standalone application
  • take “snapshots” of selected folders
  • produce list of new/altered/deleted files between any two snapshots or current files
  • export full or partial set of files based on selected snapshot and provided criteria
  • produce delta between various file revisions (at least plain text files and documents)
  • produce various simple reports based on criteria selected
  • work on both Windows and Mac OS X platforms
  • be integrated into client-server environment

This, the way I see it, is a huge potential niche for someone who can throw such software into it. Traditionally, small businesses or freelancers relied either on multiple copies of files or backups. Another culprit is that most of version control systems designed by programmers and for programmers, so average person would have a hard time figuring things out (which is why it isn’t worth it).