Students
Students get a Tuts+ subscription for just $45! Hurry limited offer.
Advertisement

Programming Fundamentals

  • Design Patterns
    Design Patterns: The Observer PatternObserver pattern
    117 shares
    Now here I come with one more behavioral design pattern in this series, which is the Observer Pattern. Observer means that someone is looking at your activity, and it may be possible that the observer takes some action depending on your activity.Read More…
  • Design Patterns
    Design Patterns: The Singleton PatternSingleton design pattern
    57 shares
    In this article you are going to learn how to implement the Singleton design pattern, and why and when to use this pattern in your application. As the name "Singleton" suggests, this method allows us to create one and only one object of a class.Read More…
  • Functional Programming
    New Course: Functional Programming in JavaScriptFunction js
    156 shares
    Learn the basics of functional programming in JavaScript. You'll take a small, mostly imperative website and refactor it using practical declarative and functional concepts. Focused on practical understanding over philosophy, this is a great basic intro to functional programming that will prepare you for deeper exploration.Read More…
  • Design Patterns
    Design Patterns: The Command PatternCommand design pattern
    244 shares
    After covering a few creational and structural design patterns, we have started behavioral patterns now. You can see the first article in this category of the strategy pattern. With creational patterns, we learned how we should create our objects, and from structural patterns we learned how we should structure our classes and objects to help build a better application.Read More…
  • Programming
    Better Subversion PracticesBetter svn practices
    150 shares
    In this article, we will consider how we can use Subversion effectively by following a few practices. It will help improve your development workflow and make the final source code more stable. When we say stable, it means it will have fewer conflicts than other approaches, but making it 100% conflict free is near to impossible, because all developers have their own ways of getting work done.Read More…
  • Design Patterns
    Design Patterns: The Adapter PatternAdapter
    483 shares
    In the previous article we saw how the facade design pattern can be employed to simplify the employment of any large and complex system using only a simple facade class. In this article we will see how the adapter design pattern can be used when your code is dependent on some external API, or any other class that is prone to change frequently. This pattern falls under the category of "structural patterns", because it teaches us how our code/class should be structured in order to manage and/or extend them very easily.Read More…
  • Testing
    Unit Testing Succintly: Strategies For Unit TestsUnit testing
    67 shares
    Testing approaches depend on where you are in the project and your “budget,” in terms of time, money, manpower, need, etc. Ideally, unit testing is budgeted into the development process, but realistically, we often encounter existing or legacy programs that have little or no code coverage but must be upgraded or maintained. Read More…
  • Programming Fundamentals
    Refactoring Legacy Code - Part 11: The End?Refactoring wide retina preview
    189 shares
    Old code. Ugly code. Complicated code. Spagetti code. Jibberish nonsense. In two words, Legacy Code. This is a series that will help you work and deal with it. In our previous lesson we've learned a new way to understand and make code better by extracting till we drop. While that tutorial was a good way to learn the techniques, it was hardly the ideal example to understand the benefits of it. In this lesson we will extract till we drop on all of our trivia game related code and we will analyze the final result.Read More…
  • Testing
    Unit Testing Succinctly: Other PurposesUnit testing
    61 shares
    Unit testing is an important tool in the testing process. While integration and usability testing are often more customer-centric (reporting, milestones, verifying high-level requirements), unit testing is the first line of defense for a programmer, his or her team, and the team managers. If used judiciously (remember, you are not aiming to create thousands of pretty green lights), it can be a cost-effective way of verifying the computational correctness of the code and for re-creating bugs and verifying that they have been fixed.Read More…
  • Testing
    Unit Testing Succinctly: Advanced Unit TestingUnit testing
    30 shares
    In this article, we're going to begin talking about a few of the advanced topics that come with unit testing. This includes things such as cyclometric complexity, methods, fields, and reflection.Read More…
  • Testing
    Unit Testing Succinctly: NUnitUnit testing
    39 shares
    This articles discusses testing with NUnit and the attributes and assertions that it supports. NUnit 2.6.2 was used at the time of this writing. The description of the attributes and assertions here should be considered supplemental to the online NUnit documentation; however, in most cases the author has attempted to provide valuable supplemental information.Read More…
  • Testing
    Unit Testing Succinctly: Visual StudioUnit testing
    This article will discuss writing a unit test, covering the common attributes and forms of assertion found in unit test classes and methods.Read More…
Advertisement
Advertisement