Skip to main content

Home/ Coders/ Group items tagged object-oriented

Rss Feed Group items tagged

Tarik Guney

Singleton pattern - Wikipedia, the free encyclopedia - 0 views

  • the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object.
  •  
    In software engineering, the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects (say, five). Some consider it an anti-pattern, judging that it is overused, introduces unnecessary limitations in situations where a sole instance of a class is not actually required, and introduces global state into an application.
Fabien Cadet

Doctrine - PHP Object Relational Mapper - 2 views

  •  
    Doctrine is an object relational mapper (ORM) for PHP 5.2.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.
David Corking

Object Vs Model - 0 views

shared by David Corking on 11 Jun 09 - Cached
  • Data Hiding simply doesn't make sense with regards to a reflective system where the data must regularly be updated by observers of reality (i.e. by one or more actors) and where the data inherently comes from the outside. This is, perhaps, one source of ObjectRelationalImpedenceMismatch?. Relational is designed for modeling data that came from an outside world whilst object-oriented is designed to... well... create and manipulate objects
    • David Corking
       
      why data hiding makes no sense in some programs
  • You can make them work together until you try to add virtualization - abstract objects for which the associated data isn't known.
David Corking

Ten Things I Hate About Object-Oriented Programming - The JOT Blog - 13 views

  • we spend much of our time bouncing back and forth between … lots of little methods. This is sometimes known as the Lost in Space syndrome. It has been reported since the early days of OOP. To quote Adele Goldberg, “In Smalltalk, everything happens somewhere else.”
    • David Corking
       
      My first and continuing experience in Smalltalk (and Ruby and everywhere else.) Interesting to here 2 experts say the same thing!
  • I believe that to make further progress we must focus on change and how OOP can facilitate change. After all these years, we are still in the early days of OOP and understanding what it has to offer us.
    • David Corking
       
      The key message of the piece.
  •  
    Some after dinner humour, with a serious point
Fabien Cadet

Service Oriented Agony | 8th Light, 2012-02-01 by Bob Martin - 7 views

  • The structure seems obvious to system designers who have grown tired of single monolithic systems and want to break those systems up into components and services. What could be more natural than to break the system along the lines of data base managment?
  • Unfortunately this is a huge violation of the Single Responsibility Principle — or its big brother the Common Closure Principle.
  • These principles tell us to group together things that change together, and keep apart things that change for different reasons.
  • ...6 more annotations...
  • When you separate things that change for the same reasons, you have to make changes in many different places in the system.
  • So it’s a lot of work just to get anything working.
  • Moreover, when you group together things that change for different reasons, you expose the components of the system to collateral damage, thrashing, CM collisions, and a whole host of other problems.
  • So what’s the solution? First of all, I question whether the system needed to be partitioned into services.
  • Services are expensive and complicated, you should only create them if you absolutely need to. It’s always easier to live in a single process. Remember Martin Fowler’s first law of distributed objects: Don’t distribute your objects.
  • Many systems could be streamlined, and development made much faster, if the system designers paid more attention to the Single Responsibility Principle.
catchmenupur

5 points to Remember in Java Beans - 0 views

  •  
    Java Beans is an object-oriented development user interface from Sun Microsystems that lets you develop re-useable programs or program foundations called elements that can be implemented in a program on any significant os program.
anonymous

Traits - 0 views

  •  
    Traits are a simple composition mechanism for structuring object-oriented programs. A Trait is essentially a parameterized set of methods; it serves as a behavioral building block for classes and is the primitive unit of code reuse. With Traits, classes are still organized in a single inheritance hierarchy, but they can make use of Traits to specify the incremental difference in behavior with respect to their superclasses. Unlike mixins and multiple inheritance, Traits do not employ inheritance as the composition operator. Instead, Trait composition is based on a set of composition operators that are complementary to single inheritance and result in better composition properties.
Joel Bennett

ZeroC -- Home of Ice - 0 views

  •  
    The Internet Communications Engine (Ice) is a modern object-oriented data-contract middleware with support for C++, C#, Java, Python, Ruby, PHP, and Visual Basic ... it's kind of like WCF, except with a lot broader support.
Joel Bennett

The Watchmaker Framework for Evolutionary Computation (evolutionary/genetic algorithms ... - 6 views

  •  
    "The Watchmaker Framework is an extensible, high-performance, object-oriented framework for implementing platform-independent evolutionary/genetic algorithms in Java. "
Joel Bennett

ClientExamples - Cassandra Wiki - 2 views

  •  
    Cassandra is a distributed object-oriented database (no ORM needed) originally created by Facebook and used by lots of high-traffic websites. They use Thrift and have code samples here in Java, C#, Python, and PHP ... hot stuff.
Joel Bennett

ooc - 1 views

  •  
    "ooc is a modern, object-oriented, functional-ish, high-level, low-level, sexy programming language. it's translated to pure C with a source-to-source compiler. it strives to be powerful, modular, extensible, portable, yet simple and fast. "
Biztech Consultancy

C Sharp Development - One of the best platforms for developing mobile websites & custom... - 1 views

  •  
    C Sharp or C# is one of the widely used object oriented programming languages in the world. The C# Development platform was introduced by Microsoft within its .Net Initiative. This language, later, was approved as a standard by ECMA and ISO. It is one of the well-known programming languages designed for the Common Language Infrastructure.
Fabien Cadet

2016: Goodbye, Object Oriented Programming - Charles Scalfani - Medium - 5 views

  •  
    "Homepage"
David Rietz

Graph Database Tutorial - 0 views

  •  
    Graph databases are still quite unfamiliar to many developers. This is the first post in a series discussing the operations a graph database makes available to the developer. Just like there are only so many different things you can do on a relational database (like CREATE TABLE or INSERT), there are only so many things you can do on a graph database. It is worth looking at them one at a time, and that's the goal of this series.
Joel Bennett

Doing Objects in VB.NET and C# - TerrySmith.net - 0 views

  •  
    A basic eBook on object-oriented programming in VB.NET and C#. Covers construction and destruction, events, delegates, interfaces and inheritance, and exceptions.
  •  
    We're a 100% free online dating site. View photos of singles in your area, see who's online now! Never pay for online dating, chat with singles here for free. www.sugarhoneys4u.com Match.com is the number one destination for online dating with more dates, more relationships, & more marriages than any other dating or personals site. www.killdo.de.gg 1 in 5 relationships now start online. Start dating for free with match.com, the dating site with more relationships & marriages than any other site.
Fabien Cadet

Design Patterns: 15 Years After the Revolution, by Danny Kalev @ InformIT [2009-10-30] - 1 views

  • by defining a description template that included among the rest: Known uses. Sample code (as opposed to a typical algorithm which were often described in plain English and perhaps a few sketchy lines of pseudo-code). Collaboration (A description of how classes and objects used in the pattern interact with each other). Consequences (results and side-effects). Related patterns.
  • Would a 2009 catalog of the 23 classic design patterns look much different? According to the authors of Design Patterns: Elements of Reusable Code, the answer is no.
  • The authors would reclassify certain patterns and omit a few of the original patterns but the design and implementation would remain pretty much the same: "We have found that the object-oriented design principles and most of the patterns haven't changed since then" says Erich Gamma. You can't escape the feeling that patterns are frozen in time
  • ...2 more annotations...
  • In the meantime, in the C++ world the tide has turned towards a completely different paradigm known as generic programming (and to some extent, functional programming). Instead of plain classes and a complex inheritance chain, C++ these days uses templates, meta-programming and static type checking. The C++ Standard Library is the most prominent showpiece of the generic and functional programming idioms.
  • Over-engineering is another source of criticism. Programmers who become acquainted with patterns are often tempted to solve every problem using a pattern, even when a much simpler solution would probably be a better choice.
htmlslicemate.com

From Zero to Hello World in Scala - 0 views

  •  
    Scala is one of the most attractive programming languages out right now. There is a lot of hype around it and programmers world-wide are publicly recognizing it as the possible next big thing in programming. Here's why. Scala is all about functional programming in an object oriented context. It tries to take the best of both worlds and combine them into a highly efficient, intelligent, and relatively easy to understand language. Right now it is the leader in today's renaissance of functional programming languages.
Angel Lee

Hire Magento Developer To Nourish Your Online Business - 1 views

Magento is the most powerful online ecommerce platform in the universe and the content management system is changing the face of ecommerce forever. What you may not realize is Magneto an object-ori...

development @public develop Web Design programming tools .Net

started by Angel Lee on 07 Jan 13 no follow-up yet
Biztech Consultancy

Cakephp or CodeIgniter: Which one to choose? - 0 views

  •  
    Posted by admin in Cakephp on 27, Jan 2014 Open source frameworks have been a blessing for the web development world. There are various open source PhP based frameworks available. But a question arises - which one to go for? One should not select a framework simply because it is the best.
Joel Bennett

DDay.iCal - 0 views

  • DDay.iCal is an iCalendar implementation written in C# and based on the RFC 2445 standard. It parses files in the iCalendar format and provides an object-oriented interface to iCalendar components: Event, Todo, TimeZone, Journal, FreeBusy, and Alarm.
  •  
    .NET implementation of iCalendar, including classes for all the data types, and saving/reading ics files.
1 - 20 of 24 Next ›
Showing 20 items per page