Open Source Slides - Je-Loon


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Open Source Slides - Je-Loon

  1. 1. How Is Open Source Affecting Software Development? Je-Loon Yang
  2. 2. Introduction <ul><li>What is open source? </li></ul><ul><ul><li>From a developers perspective, open source is a combination of two important properties: </li></ul></ul><ul><ul><ul><li>Visible source code </li></ul></ul></ul><ul><ul><ul><li>A right to make unencumbered derivatives </li></ul></ul></ul><ul><ul><li>Ex: Microsoft’s shared source and library vendors’ code licenses for developing derivative products from nonvisible code. </li></ul></ul>
  3. 3. Terminology <ul><li>Free Software </li></ul><ul><ul><li>Designed Primarily by Richard Stallman </li></ul></ul><ul><ul><li>Involves four key rights inherent for users, developers, and reprogrammers </li></ul></ul><ul><ul><ul><li>The freedom to run the program, for any purpose </li></ul></ul></ul><ul><ul><ul><li>The freedom to study how the program works, and adapt it to your needs </li></ul></ul></ul><ul><ul><ul><li>The freedom to redistribute copies so you can help your neighbor </li></ul></ul></ul><ul><ul><ul><li>The freedom to improve the program, and release your improvements to the public, so that the whole community benefits </li></ul></ul></ul>
  4. 4. Terminology(2) <ul><li>Open Source </li></ul><ul><ul><li>A small group of Free Software developers concerned that the term “free” was being misunderstood by both developers and users </li></ul></ul><ul><ul><li>It’s basically the same thing as free software </li></ul></ul>
  5. 5. Terminology(3) <ul><li>Open Standards </li></ul><ul><ul><li>Individuals and corporations are free to develop code that instantiates or works with the open standards </li></ul></ul><ul><ul><li>Example </li></ul></ul><ul><ul><ul><li>HTML, software like IE, Dreamweaver, Firefox, and Opera </li></ul></ul></ul><ul><ul><ul><li>SQL, software like Oracle, MySQL </li></ul></ul></ul>
  6. 6. Terminology(4) <ul><li>Shared source </li></ul><ul><ul><li>The owner of the source code can offer different groups of users differential access to view the source code </li></ul></ul><ul><ul><li>No right to change the code </li></ul></ul>
  7. 7. Criteria <ul><li>Defined by OSI (Open Source Initiative) </li></ul><ul><ul><li>Free Redistribution </li></ul></ul><ul><ul><ul><li>The license shall not restrict any party from selling or giving away the software </li></ul></ul></ul><ul><ul><li>Source Code </li></ul></ul><ul><ul><ul><li>The program must include source code, and must allow distribution in source code as well as compiled form </li></ul></ul></ul>
  8. 8. Criteria(2) <ul><ul><li>Derived Works </li></ul></ul><ul><ul><ul><li>The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software </li></ul></ul></ul><ul><ul><li>Integrity of The Author's Source Code </li></ul></ul><ul><ul><ul><li>The license may restrict source-code from being distributed in modified form only if the license allows the distribution of &quot;patch files&quot; with the source code for the purpose of modifying the program at build time. The license must explicitly permit distribution of software built from modified source code. The license may require derived works to carry a different name or version number from the original software </li></ul></ul></ul>
  9. 9. Criteria(3) <ul><ul><li>No Discrimination Against Persons or Groups </li></ul></ul><ul><ul><li>No Discrimination Against Fields of Endeavor </li></ul></ul><ul><ul><li>Distribution of License </li></ul></ul><ul><ul><ul><li>The rights attached to the program must apply to all to whom the program is redistributed without the need for execution of an additional license by those parties </li></ul></ul></ul><ul><ul><li>License Must Not Be Specific to a Product </li></ul></ul><ul><ul><ul><li>The rights attached to the program must not depend on the program's being part of a particular software distribution </li></ul></ul></ul>
  10. 10. Criteria(4) <ul><ul><li>License Must Not Restrict Other Software </li></ul></ul><ul><ul><ul><li>The license must not place restrictions on other software that is distributed along with the licensed software </li></ul></ul></ul><ul><ul><li>License Must Be Technology-Neutral </li></ul></ul><ul><ul><ul><li>No provision of the license may be predicated on any individual technology or style of interface. </li></ul></ul></ul>
  11. 11. Range of code adoption <ul><li>Code adoption can happen at the level of a few lines of code, a method, a class, a library, a component, a tool, or a complete system. </li></ul>
  12. 12. Software Reuse Possibilities <ul><li>Open up on three axes </li></ul><ul><ul><li>What to reuse </li></ul></ul><ul><ul><ul><li>Promoted by the available software’s breadth and price </li></ul></ul></ul><ul><ul><li>How to reuse it </li></ul></ul><ul><ul><ul><li>Diverse granularity and interfacing options </li></ul></ul></ul><ul><ul><li>Where to reuse it </li></ul></ul><ul><ul><ul><li>Inherent portability of source code over most binary packaged component technologies </li></ul></ul></ul>
  13. 13. Software Reuse Possibilities (2) <ul><li>Movement along three axes increases the breadth of software reuse opportunities in any development effort. </li></ul>
  14. 14. Websites <ul><li>Free Software Foundation </li></ul><ul><ul><li>http:// / </li></ul></ul><ul><li>FreshMeat </li></ul><ul><ul><li>http:// </li></ul></ul><ul><li>SourceForge </li></ul><ul><ul><li>http:// </li></ul></ul><ul><li>Comprehensive Perl Archive Network </li></ul><ul><ul><li>http:// </li></ul></ul>
  15. 15. Influence on software products <ul><li>Design based on existing software elements </li></ul><ul><ul><li>The reused open source code will typically be of higher quality than the custom-developed code’s first incarnation </li></ul></ul><ul><ul><li>Functionality will often be far more complete than what the bespoke development would afford </li></ul></ul>
  16. 16. Influences on software products (2) <ul><li>Reusing open source components can also affect the licensing model of the resultant product. </li></ul><ul><li>Some open source license dictate under which license you can distribute derivative products. </li></ul>
  17. 17. Metric <ul><li>Quality varies widely without standardized processes and metrics exist for assessing </li></ul><ul><li>Indicators </li></ul><ul><ul><li>Underlying source code </li></ul></ul><ul><ul><li>Associated mailing list archives </li></ul></ul><ul><ul><li>Bug-tracking databases </li></ul></ul><ul><li>Some software repositories even provide metrics of activities based on the factors above </li></ul>
  18. 18. Security <ul><li>Pros: </li></ul><ul><ul><li>Benefit from reusing widely deployed and scrutinized algorithms and protocols </li></ul></ul><ul><li>Cons: </li></ul><ul><ul><li>Adversaries having access to the source can more efficiently locate and exploit vulnerabilities </li></ul></ul>
  19. 19. Process Issues <ul><li>Large open source development projects increase the visibility, accessibility, and adoption prospects of important software engineering processes such as version control, peer reviews, issue tracking, release engineering, and regression testing. </li></ul><ul><li>These processes are standard in any CMM level 3 and above organization. </li></ul>
  20. 20. Process Issues (2) <ul><li>Developers reusing software in source form can read the code and can often learn valuable coding practices from well-engineered software </li></ul><ul><li>Ours is one of the few creative professions where writers are not allowed to read each other’s work </li></ul>
  21. 21. Conclusion <ul><li>Open source and non-open source development tools both have strengths and weaknesses. Most likely, they are both here to stay. </li></ul><ul><li>Before developing with an open source, users should take a look at the license to make sure the rights. Some licenses make the developing software an open source, too. </li></ul>
  22. 22. References <ul><li>Diomidis Spinellis, Clemens Szyperski, “How Is Open Source Affecting Software Development?”, IEEE Software, January/February 2004, pp 28-33 </li></ul><ul><li>Stephane Lussier, “How Open Source Changed the Way My Team Works”, IEEE Software, January/February 2004, pp 68-72 </li></ul><ul><li>Michel Ruffin and Christof Ebert, Alcatel, “Using Open Source Software in Product Development: A Primer”, IEEE Software, January/February 2004, pp 82-86 </li></ul><ul><li>Johndan Johnson-Eilola, “Open Source Basics: Definitions, Models, and Questions”, ACM Special Interest Group for Design of Communications Proceedings of the 20th annual international conference on Computer documentation, pp 79-83 </li></ul><ul><li>Free Software Foundation, http:// / </li></ul><ul><li>Open Source Initiative OSI, </li></ul><ul><li>ONLamp, </li></ul><ul><li>Yahoo Taiwan Knowledge+, http:// </li></ul>
  23. 23. Questions?