Archive for the 'Linux & Open Source' Category

Open source software

Thursday, May 31st, 2007

THE TERM open source software (OSS) may not be familiar to everyone - but you’d have had to be hiding under a rock over the past few years to have not heard about Linux, the operating system that’s made massive inroads into the corporate computing space and, thanks to the efforts of people such as Mark Shuttleworth, is also penetrating the desktop market.

Though Linux is the most famous piece of OSS, it’s by no means the only one. There are literally thousands of computer programs out there that fall under the open source banner, some from large companies like Sun and IBM and others from small companies you’re never likely to hear of. The difference between OSS and software from a company such as Microsoft - called proprietary software - is that with OSS the licence to use the software allows people to freely distribute it and compels the company writing the program to provide not only the software but also the original code that makes up the program.  Imagine having your wedding photographs taken but having to go back to the photographer each time you wanted a reprint and being charged five times the cost of the print for the service. While you’d like to go to a cheaper option you can’t, because the photographer is the only person with access to the pictures. 

That does in fact happen. But it shouldn’t, because you paid for a service, having the software written or the photographs taken, yet you’re held hostage by the original service provider. While OSS isn’t always free, it does give its users the opportunity to do with it as they please and not be restricted by the rules imposed by the company that originally created the software. 

Open Source may be cheap - but we still want support

Wednesday, May 23rd, 2007

OSBC Open source is increasingly driving enterprise development projects and installations, but big customers still rely on start-up software providers for support.
A panel of customers at the Open Source Business Conference (OSBC) in San Francisco today agreed unanimously that open source enable them to kick-start projects they could otherwise not afford.

However, companies put the onus on open source software companies to step up and field questions, provide bug fixes, and to continually update their software.

Representatives from personal tax and accounting giant H&R Block, the Playstation operation of entertainment giant Sony, the Christian Science Monitor, and MIT told OSBC that support for emerging technologies is essential.

H&R Block’s use of open source spans Alfresco enterprise content management, Zimbra email, and Java Business Process Management (JPBM) in various public and internal projects.

Company architect Daniel Cahoon said using Alfresco rather than EMC’s Documentum meant H&R Block had paid one tenth of its regular software licensing. Alfresco charges $10,000 per socket for an unlimited number of users.

According to Cahoon, open source is important for proof-of-concept and development that would be too costly using closed source software.

He joked - at least we think he did - that support for Google Web Toolkit - used in one project - was thin on the ground as Google’s developers were all off writing books. “You have to be careful,” he warned those considering the open source route. “Don’t go after the niche, bleeding edge, cutting edge if you haven’t got the people internally.”

Oliver Marks, senior manger for the Playstation web portal - accessed by engineers - agreed: “We are looking for a really healthy support community. If my guys are too busy and can’t figure it out, there are problems.”

The panel expressed concern over the tendency for developers to congregate around some sets of features and customer requirements while leaving others relatively untouched. Gaps were highlighted in management administration tools for installing Linux and open source, building enhancements for proprietary software packages, and in enterprise-wide calendaring.

Marks, who had singled out open source calendaring, said: “If we were building something from IBM they might be able to steer their supertankers in that direction. But open source can be wild and woolly - it’s strong in some areas [not in others]. In an enterprise environment that can be very scary.”

Marks supported open source for freeing him from the tyranny of vendor roadmaps and for enabling greater freedom to innovate by running with the code. “We would be building with commercial software if it fitted out needs… [but] we have control and know what’s going on,” he said.

Russ Danner, software architect at the Christian Science Monitor, said open source lets his organization shape product development. By participating in design and coding through the community process, customers get more input than through the alpha and beta development cycles of enterprise vendors. “You get input at the beginning of the product upgrade cycle,” he said.

Open Source and Offshore Development

Wednesday, April 18th, 2007

By combining Open Source software and offshore development, high quality, cost effective software is more easily obtainable. In fact, I suggest Open Source should always be a part of any outsourced software development, but that is a different topic. The focus of this article is how Open Source provides a foundation of trust and confidence when using and/or providing offshore software development services.  
When purchasing software development services, many people make the mistake of assuming that the only reason to choose one person/company over another are pure coding skills. Simple as that right? Wrong. Developers also assume the person/company procuring software development cares deeply about Java vs. .Net vs. PHP vs. RoR. Wrong. Well, ok, maybe both of these points are not entirely wrong. Yes, people do care about coding prowess and technology infrastructure, but I believe there are many other factors when making an outsourcing decision.
People who purchase software want to have confidence and trust in the people they choose to develop software. Confidence and trust can be earned over time, but how does it start? Well, of course, the software developer(s) needs to have good references, case studies, professionalism and applicable skill sets. But, even after reviewing these factors, there might still be nagging doubts about trusting someone you have never met and the person or company was not a referral from one of your contacts. 
Open source software is the foundation for confidence and trust when choosing to outsource software development. It is the catalyst to an acceptable answer to the “what is the worst that can happen” scenario. In other words, even if you make the wrong choice in outsource software development partner, your code, your infrastructure will still be based on Open Source which can be parlayed to different developers much faster than completely original code. In the worst case scenario, if the software being developed is not Open Source based, it will be much more difficult to replace the developers.
“Open Source” can mean different things to different people. In this article, my definition of Open Source is intended to mean complete products, tools, libraries, etc. with a vibrant community. (Read Succeeding with Open Source for one reference on choosing Open Source software) It does not simply mean the delivery of source code with the solution. In particular, the Open Source product, tool and or library needs to have other established resources, so new developers time spent analyzing code and infrastructure can be reduced. New developers to the project will spend much more time “getting up to speed” on architecture, if the software is not using community based Open Source software. 
When implementing an outsource development strategy, choose developers that will use Open Source software in the overall solution. Using Open Source in the solution provides a shorter path to confidence and trust in outsourced software developers. Put another way, open source plays a positive part in the risk management of the decision to outsource. By choosing offshore software development partners that deliver based on community established Open Source with appropriate license for your needs, quality and the most competitive cost can be obtained.

For more info please visit our site: http://www.semaphore-software.com

Open source community gets a boost

Wednesday, April 18th, 2007

Startups - Collaborative Software Initiative receives $1 million in seed money from OVP Venture Partners  Tuesday, April 17, 2007 MIKE ROGOWAY

Oregon’s open source software community marked a milestone Monday with the first company from its ranks to win the backing of venture capitalists.  The startup, called Collaborative Software Initiative, aims to coordinate software development among corporations. It’s founded by Stuart Cohen, who resigned last year after four years as chief executive of the Open Source Development Labs in Beaverton. OVP Venture Partners, which has offices in Portland, has contributed more than $1 million in seed money to launch the new company. Collaborative Software Initiative, CSI, is currently housed in OVP’s Portland office. When Cohen left Open Source Development Labs, an industry consortium that recently merged with another group to become The Linux Foundation, he said he wanted to build his own company. He’s been secretive about his plans until now. 

CSI’s goal, Cohen said Monday, is to give companies an alternative to expensive in-house software development or project outsourcing. At times when multiple companies have similar needs for new software, CSI aims to contract with all of them to create software they all can use. “You share the expense. You share the risk. You share the reward,” Cohen said. “We do it using an open source methodology.” Open source software is open for users to inspect or modify to suit their needs. CSI will license the final product as open source, so companies will be able to see and change the underlying software code. CSI hopes to profit from the initial development work and from service contracts to help its clients maintain and improve their software. CSI is working with Hewlett-Packard Co., IBM and others to identify potential collaborative projects. Cohen said his company is talking with the financial services industry, which is interested in using common software for regulatory compliance. CSI also hopes to work with state governments, which could potentially save money if multiple states develop software jointly. 

Oregon is home to several open source initiatives, including key open source work at IBM and Intel and academic research at Oregon State and Portland State. That concentration of activity has translated into few entrepreneurial initiatives here, however, even though open source is a hot technology among investors. Dow Jones VentureOne reports that venture capitalists have put more than $1.1 billion in open source startups over the past five years, none of which went to Oregon companies.  In addition to Cohen’s new business, a handful of other small Oregon entrepreneurs have begun working on their own open source startups. Cohen said state efforts to nurture the open source cluster may be starting to bear fruit. “There’s a lot of people with good ideas in Oregon that are looking at forming companies,” Cohen said. “I think the time is really right.” Mike Rogoway: 503-294-7699; mikerogoway@news.oregonian.com; blog.oregonlive.com/siliconforest

For more info please visit our site: http://www.semaphore-software.com/technology_offering/technology_offering.htm

What is Joomla?

Tuesday, January 30th, 2007

Joomla! is a free, open source content management system written with PHP for publishing content on the world wide web and intranets using a MySQL database. Joomla! includes features such as page cactching to improve performance, web indexing, RSS feeds, printable versions of pages, news flashes, blockgs, forums, polls, calendars, website searching, and language internationalization. While Joomla is packed with features, its greatest quality is that it is extremely extensible. Because of its extensible structure, there aren’t many things you cannot do with Joomla.

What’s in a name?

The name is a phonetic spelling of the Swahili word jumla meaning “all together” or “as a whole”. It was chosen to reflect the commitment of the development team and community to the project. The first release of Joomla! (Joomla! 1.0.0) was announced on September 16, 2005. This was a re-branded release of Mambo 4.5.2.3 combined with other bug and moderate-level security featuresixes. In the project’s roadmap, the core developers say Joomla! 1.5 will be a completely re-written code base built with PHP 5.

How does Joomla Work?

With traditional website design, there is a bottleneck whereby the webmaster must enter all the content into the site. In a large organization, it’s possible to have designated contributors each with web editing software like FrontPage or Dreamweaver, but the costs add up, and each person must be trained to work with HTML. The larger the group of contributors, the higher the cost. Speaking from experience, a couple of incorrect keystrokes can ruin a website. One poorly trained contributor can make a huge mess.

With Joomla! a template is set up by the developer, the owner/administrator can give permission to others who would simply need internet access to log in and enter content on their own schedule. There are tools build in to the back end to customize the look and feel of the page, much like you would use in creating a Word document. The administrator can allow others to publish directly, or have it approved first.

The J Factor

Joomla open source cms is recognized as one of the most popular content management systems ion the internet today due to the following factors.

1) User friendly easy to use administrator and front end interface.
2) Secure, Flexible, scaleable modular architecture.
3) Wide range of open source and commercial modules.
4) Open source - no licensing fees.
5) Thriving support community.
6) Wide range of plug-ins including shop’s, forums, galleries etc.

Basically Joomla enables you or your business to manage and maintain your web site content with out the need for expensive specialized web development skills or paying someone to maintain your website content.

The administrator interface is very easy to use and is similar toin some respects to a Microsoft word editor, you can add text, images and manage, publish your content with a click of a button.

Features Provided By Joomla:

• Completely database MYSQL driven site engine.
• News, products or services sections fully editable and manageable.
• Topics sections can be added to by contributing authors.
• Fully customizable template layouts including left, center and right menu boxes.
• Browser upload of images to your own library for usinge anywhere in the site.
• Dynamic Forum/Poll/Voting booth for getting on-the-spot results and much more.
• Runs on Linux, FreeBSD, MacOSX server, Solaris and AIX.
• Search Engine Friendly system for getting highest search engine ranking position.
• Open source backend server architecture utilizing apache, MYSQL, PHP.


Administration Features:

• Change order of objects including news, FAQs, articles etc.
• Random Newsflash generator.
• Remote author submission module for News, Articles, FAQs and Links.
• Object hierarchy -as many sections, departments, divisions and pages as you want.
• Image library - store all your PNGs, PDFs, DOCs, XLSs, GIFs and JPEGs online.
• Automatic Path-Finder. Place a picture and let Mambo fix the link.
• News feed manager. Choose from over 360 news feeds from around the world.
• Archive manager. Put your old articles into cold storage rather than throw them out
• Email-a-friend and Print-format for every story and article.
• In-line Text editor similar to Word Pad.
• User editable look and feel.
• Polls/Surveys - Now put a different one on each page.
• Custom Page Modules. Download custom page modules to spice up your site.
• Template Manager. Download templates and implement them in seconds.
• Layout preview. See how it looks before going live.
• Banner manager. Make money out of your site.

Author:

By Jagat Kothari

Jagat Kothari is working as a Php Programmer at Semaphore Infotech Pvt. Ltd, India. He has more than 10 months Experience in php. You can contact on email: jagat@semaphore-software.com.

PHP using Smarty

Tuesday, January 30th, 2007
Till now i developed most of my projects using asp.net. Just last month only i learned PHP (PHP: Hypertext Preprocessor) is a programming language designed for producing dynamic Web pages. PHP is an open source language and considered to be free software by the Free Software Foundation. At this time, i discovered Smarty and have been using it in my projects.

Now the question is why do we use Smarty and what is the purpose of using it…???

Traditionally,  when you make a web application using php, html and php scripts are mixed in one file.
More often than not, a programmer finishes a complete project, and someone suggests that the font and background colors chosenhe/his choose don’t match with their requirement. The programmer would then hasve to search through dozens of php files and alter the HTML that was embedded within simply to change the appearance of the web site and change all other properties. Editing the php files greatly increases the chance of generatinge new errors or bugs. It will much easier when you separate your HTML from your PHP code and will also make it much easier to reuse your PHP code down the road in other projects.

So the above solution can be applied by using Smarty technology as, it allows you to change the appearance of your web site by changing an HTML template file. It also allows you to do simple if statements, dynamic repeating blocks, and variable substitution.

The basic use of Smarty is for separation of business logic and presentation logic, generates web content by the placement of special Smarty tags within a document. So it allows the presentation of a web page to change separately from the back-end, thus allowing applications to be developed in a more organized fashion. Using this development model, designers are hidden from the back-end coding and PHP programmers are hidden from the presentation coding.

Tasks of both designer and programmer  are is as follows :

Programmer’s Tasks:

-> Fetching data from database by firing simple queries to it.
-> Manipulate or validate the data by performing business logic on it.
-> The best thing is that we can change the data access method like from MySql to another without interfering with designer’s work.

Designer’s Task:

->Creating HTML pages without affecting php scripts , only concerned is with placing content elements on the right place where the programmer has agreed to provide.

Some of the attractive features of using smarty areis  as follows :

1) Fast : Smarty is extremely fast by doing Template Compiling, means it reads the templates, creates php scripts and include the php files which is finally compiled by php engine..The best thing is that the templates are parsed only once by smarty if it is not modified again.. this results in to  fast compilation and better performance.

2) Catching : Smarty has built-in catching of your template outputs. It catches the output of the template contents and thus saves the overhead of retrieving the data from data source.

3) Variable Modifiers : Smarty provides variable modifiers in order to modify the contents of a variable like converting string to uppercase or lowercase or truncating etc things like that very easily

4) Template Function : Smarty provides some builtin and custom functions like looping function like if statements or for loops etc.Or just write a simple one line code which will generate a radiobuttons or calendar or other form controls which make things faster and more  simple.r.

Smarty is a great tool for both designers and developers. By using Smarty you can reduce the site development and maintenance times. If you are a developer you no longer need to mix PHP code with HTML code. Just take care of business logic and leave the HTML to the designer

Now the matter of debugging the smarty php scripts. Nusphere provides PHP Editor for editing and debugging..Ii’ss latest verison is PhpEd version 4.6.2 has been released with full support for PHP 5.2.

The definitive resource for learning Smarty is smarty.php.net,where you will get all the stuffs related to Smarty.

I’m still learning about it, so I’m in no way an expert, but if you have any questions, please feel free to ask.

Thank You,

Author:

By Nishant Bharathan

Nishant Bharathan is working as a Jr. Programmer at Semaphore Infotech Pvt. Ltd, India. He has 8 months Experience in .net programming. You can contact on email: nishant@semaphore-software.com.



View My Stats