The Clover is an eco-friendly mobile phone concept that has been designed to grow old with the user. This phone features four module interfaces; sound, sensor, vision and location, allowing the user to customize the phone according to their need and taste. Moreover, users can add quite a few numbers of additional modules to make the phone even more functional and attractive. The sleek black touchscreen offers different way of checking out the functions and a user-friendly operating environment. The phone is branded under the name of Samsung and is a great physical device that can develop and share environmental awareness through a built-in collaborative social network name “eco-map”.
Clover Eco-Sensitive Mobile Phone Grows Old With You
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 1:17 PM 0 comments
Labels: New Technology
Introduction to Design Patterns
What are Design Patterns?
Creational -
Creational patterns are ones that create objects for you, rather than having you instantiate objects directly. This gives your program more flexibility in deciding which objects need to be created for a given case.
Structural -
Structural patterns help you compose groups of objects into larger structures, such as complex user interfaces or accounting data.
Behavioral -
Behavioral patterns help you define the communication between objects in your system and how the flow is controlled in a complex program
Creational Design Patterns:Read More...
Singleton - Ensure that only one instance of a class is created and Provide a global access point to the object.
Factory(Simplified version of Factory Method) - Creates objects without exposing the instantiation logic to the client and Refers to the newly created object through a common interface.
Factory Method - Defines an interface for creating objects, but let subclasses to decide which class to instantiate and Refers to the newly created object through a common interface.
Abstract Factory - Offers the interface for creating a family of related objects, without explicitly specifying their classes.
Builder - Defines an instance for creating an object but letting subclasses decide which class to instantiate and Allows a finer control over the construction process.
Prototype - Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
Object Pool - reuses and shares objects that are expensive to create..
Behavioral Design Patterns:Read More...
Chain of Responsibility - It avoids attaching the sender of a request to its receiver, giving this way other objects the possibility of handling the request too.
Command - Encapsulate a request in an object, Allows the parametrization of clients with different requests and Allows saving the requests in a queue.
Interpreter - Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language / Map a domain to a language, the language to a grammar, and the grammar to a hierarchical object-oriented design
Iterator - Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
Mediator - Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.
Observer - Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Strategy - Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
Template Method - Define the skeleton of an algorithm in an operation, deferring some steps to subclasses / Template Method lets subclasses redefine certain steps of an algorithm without letting them to change the algorithm's structure.
Visitor - Represents an operation to be performed on the elements of an object structure / Visitor lets you define a new operation without changing the classes of the elements on which it operates.
Null Object - Provide an object as a surrogate for the lack of an object of a given type. / The Null Object Pattern provides intelligent do nothing behavior, hiding the details from its collaborators.
Structural Design Patterns:Read More...
Adapter - Convert the interface of a class into another interface clients expect. / Adapter lets classes work together, that could not otherwise because of incompatible interfaces.
Bridge - Compose objects into tree structures to represent part-whole hierarchies. / Composite lets clients treat individual objects and compositions of objects uniformly.
Composite - Compose objects into tree structures to represent part-whole hierarchies. / Composite lets clients treat individual objects and compositions of objects uniformly.
Decorator - add additional responsibilities dynamically to an object.
Flyweight - use sharing to support a large number of objects that have part of their internal state in common where the other part of state can vary.
Memento - capture the internal state of an object without violating encapsulation and thus providing a mean for restoring the object into initial state when needed.
Proxy - provide a “Placeholder” for an object to control references to it.
Advantages And Disadvantages
Advantages:
1. A standard solution to a common programming problem
2. Enable large scale reuse of S/W
3. Helps in improve developer communication
4. Capture expert knowledge and design trade-offs and make expertise widely available
5. A technique for making code more flexible by making it meet certain criteria
6. A design or implementation structure that achieves a particular purpose
7. Speed up the development process by providing tested, proven development paradigms.
8. Reusing design patterns helps to prevent subtle issues that can cause major problems, and it also improves code readability for coders and architects who are familiar with the patterns.
9. Design patterns provide general solutions, documented in a format that doesn't require specifics tied to a particular problem.
10. In addition, patterns allow developers to communicate using well-known, well understood names for software interactions. Common design patterns can be improved over time, making them more robust than ad-hoc designs
Disadvantages:
1. Do not lead to direct code reuse
2. Complex in nature
3. They are deceptively simple
4. Design patterns may increase or decrease the understandability of a design or implementation. They can decrease understandability by adding indirection or increasing the amount of code.
5. They are validated by experience and discussion
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 12:16 PM 0 comments
Labels: Dessign Patterns
First X-Men Origins Game
See the screenshot , that’s the first in-game pic of X-Men Origins: Wolverine, the videogame, NOT the movie. As you can tell, it looks like not only does the game use the likeness of Hugh Jackman as Wolverine, but the graphics will be extremely detailed and very close to the real deal.
According to 1-Up and EGM, who got the exclusive cover-story blow-out on the game, say that it is not only very violent (in keeping with the Wolverine of the comics, I hope) but also more along the lines of Ninja Gaiden II than a “standard” action game. Players will get to take the role of Logan and experience the tormented origins of Wolverine, from his escape of the Weapon X facility to the jungles of Africa and beyond. Here is the official description of the game:
X-Men Origins: Wolverine is an epic action-adventure featuring a true-to-character Wolverine gameplay experience that takes gamers through and beyond the movie’s storyline. Set in a variety of vivid real-world locales, the title challenges players to hone their animal instinct as they uncover hidden dangers, hunt and destroy enemies, and take on seemingly insurmountable situations while discovering the truth about Wolverine’s tragic past. With razor-sharp adamantium claws unsheathed, the future X-Man enacts lightning-quick combat, evasive maneuvers, in-depth combo attacks, and an array of brutal finishing moves. Wolverine doesn’t just deliver massive damage, either — he also takes it, thanks to his mutant regenerative power that heals him in real time right before the player’s eyes.
Developed by Raven Software (makers of X-Men Legends and Marvel Ultimate Alliance), the game will feature a “simple but elegant” and accessible combat system, cool boss fights including an initial one against a Sentinal robot (YES!), seamless cinematic cut-scenes that will bridge the gameplay bits and lots more.
The game will launch alongside the global release of the film in May of 2009 for Xbox 360, PS3, PS2, PC, Wii, DS, and PSP game systems.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 10:09 AM 0 comments
Labels: New Games
Michael Jackson's This Is It
Theatrical Release:Wednesday, October 28, 2009 (Wide; 3,400 theaters)
Directed by: Kenny Ortega
Genres: Documentary Music
Distributor:Sony Pictures
SYNOPSIS
Michael Jackson's "This Is It" will offer Jackson fans and music lovers worldwide a rare, behind-the-scenes look at the performer as he developed, created and rehearsed for his sold-out concerts that would have taken place beginning this summer in London's O2 Arena. Chronicling the months from March through June, 2009, the film is produced with the full support of the Estate of Michael Jackson and drawn from more than one hundred hours of behind-the-scenes footage, featuring Jackson rehearsing a number of his songs for the show. Audiences will be given a privileged and private look at Jackson as he has never been seen before. In raw and candid detail, Michael Jackson's "This Is It" captures the singer, dancer, filmmaker, architect, creative genius, and great artist at work as he creates and perfects his final show.
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 9:54 AM 0 comments
Labels: New Movie
GoOd MoRnInG My DeAr FrIeNdS
“New” day
“New” aims
“New” hopes
“New” plans
“New” efforts
“New” success,
“New” feelings
I wish u a Happy &
very SuccesfuL “NEW DAY”
GOOD MORNING MY DEAR FRIENDS
Posted by ජීවන්ත තාරක (Jeewantha Tharaka Kodikara) at 6:04 AM 0 comments
Labels: Welcome