Stories recently tagged with 'Interface'

Amazing Strategy!!(beyondrelational.com)

submitted by DPalkarDPalkar(228) 1 year, 9 months ago

I recently downloaded a cool fighter plane game (iFighter lite) on my iPhone. As I started playing, I felt that plane is moving a bit slow!! But soon enough I saw a little perk on the screen and I flew over it and suddenly plane's speed increased. Soon enough, enemy planes started attacking me and I shot back at them. But again I felt my bullets were too slow! I shot down few planes and a new perk showed up on the screen. As soon as I collected it, my plane started shooting more bullets per attack!! Yeeee hoo!!! I started enjoying this and before I knew, I by mistake collected a "skull and bones" perk and "darrnn!!" I said, cause I knew now my plane had lost those powerful bullets :( Now, of course I am not writing a review about the human behavior while playing games on iPhone! But what I am trying to highlight here is the plane's ability to act differently in certain conditions! And that's something the Strategy Design Pattern allows us to do. I’ll try to use this game as an analogy to discuss about Strategy Design Pattern. Definition: Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it. read more...

add a comment |category: |Views: 6

tags: another

Amazing Strategy!!(beyondrelational.com)

submitted by DPalkarDPalkar(228) 1 year, 9 months ago

I recently downloaded a cool fighter plane game (iFighter lite) on my iPhone. As I started playing, I felt that plane is moving a bit slow!! But soon enough I saw a little perk on the screen and I flew over it and suddenly plane's speed increased. Soon enough, enemy planes started attacking me and I shot back at them. But again I felt my bullets were too slow! I shot down few planes and a new perk showed up on the screen. As soon as I collected it, my plane started shooting more bullets per attack!! Yeeee hoo!!! I started enjoying this and before I knew, I by mistake collected a "skull and bones" perk and "darrnn!!" I said, cause I knew now my plane had lost those powerful bullets :( Now, of course I am not writing a review about the human behavior while playing games on iPhone! But what I am trying to highlight here is the plane's ability to act differently in certain conditions! And that's something the Strategy Design Pattern allows us to do. I’ll try to use this game as an analogy to discuss about Strategy Design Pattern. Definition: Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it. read more...

add a comment |category: |Views: 6

tags: another

A new interface for mobile phones(blog.dotnettech.net)

submitted by DarrenFieldhouseDarrenFieldhouse(143) 2 years, 7 months ago

Thoughts on how a mobile phone's camera could be used to create a point and click interface (without a touch screen). read more...

add a comment |category: |Views: 8

tags: another

Building a Progressive Fluent Interface(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 10 months ago

Taking a look at how to build a Progressive Fluent Interface which is a DSL where the options can and will change as you progress through the syntax. This is a useful form of a fluent interface if the want to be able to skillfully guide the user down only one path at a time. read more...

add a comment |category: |Views: 335

tags: another

Learning how to create a simple Fluent DSL via Method Chaining(dimecasts.net)

submitted by trinidadcodertrinidadcoder(265) 3 years ago

Take a look at how to create a simple Fluent DSL which is built via Method Chaining. We will build this DSL from the ground up and talk about the various decisions which were made along the way. This is just a simple example of how you can create a internal DSL for your application with very little effort. read more...

add a comment |category: |Views: 314

tags: another

Skinning the Cat with Fluent NHibernate(iamnotmyself.com)

submitted by ang3lfir3ang3lfir3(660) 3 years, 6 months ago

As you may have noticed, I have become interested in the concept of Object Relational Mapping and the NHibernate framework. One of the more painful/tedious aspects of using NHibernate is hand writing the xml mapping files. That is why I got excited when I heard that Jeremy Miller was open sourcing his mapping generation libraries. read more...

add a comment |category: |Views: 328

tags: another

Choosing: Interface vs. Abstract Class(kirillosenkov.blogspot.com)

submitted by KirillOsenkovKirillOsenkov(570) 4 years, 5 months ago

When to use which? Where's the difference? What are the best practices recommended by .NET architects? This and some personal experiences in a blog posting by Kirill Osenkov read more...

2 comments |category: |Views: 59

tags: another

extend an explicitly implemented interface(weblogs.asp.net)

submitted by prasphyprasphy(780) 4 years, 11 months ago

extend an explicitly implemented interface read more...

add a comment |category: |Views: 7

tags: another

Implicit and Explicit Interface Implementations(blogs.msdn.com)

submitted by HopcroftHopcroft(200) 5 years, 1 month ago

A discussion of the subtleties of implicit and explicit interface implementations in C#. read more...

add a comment |category: |Views: 95

tags: another

Coding Horror: Office 2007 -- not so WIMPy(codinghorror.com)

submitted by javierRomerojavierRomero(1010) 5 years, 2 months ago

In my opinion, the new Office 2007 user interface is one of the most innovative things to come out of Redmond in years. It's nothing less than the death of the main menu as a keystone GUI metaphor. This is a big deal. Historically, where Office goes, everyone else follows. It's already starting to trickle down: IE7 does not show its main menu by default, and neither does Vista. You have to press Alt to expose the menu. The main menu has been demoted to a sort of configuration panel for advanced users; for everyone else, there's the Ribbon and toolbar buttons. read more...

add a comment |category: |Views: 3

tags: another

New release of My Exposé, an Exposé-like application for Windows Vista(blogs.labo-dotnet.com)

submitted by madd0madd0(50) 5 years, 3 months ago

Simon Ferquel has released a new version of My Exposé, the application that provides a similar feature to Mac's Exposé, giving you an overview of all open windows on your screen. Display your windows using the keyboard, the mouse or even your voice! This is still a pre-release (he calls it CTP) version, but it's pretty stable and bug-free. read more...

add a comment |category: |Views: 302

tags: another

Should I use an abstract class or an interface?(en.csharp-online.net)

submitted by HyleHyle(2755) 5 years, 3 months ago

There are both pros and cons to the functionality made available through the use of abstract classes and of interfaces even though there capabilities seem similar. This article discusses the trade-offs and recommends when to use each. read more...

add a comment |category: |Views: 13

tags: another

Abstract Class vs Interface(geekswithblogs.net)

submitted by RobChappelRobChappel(2720) 5 years, 7 months ago

There are lost of discussion on the internet about the Interface vs Abstract class. Also, as base class whether we have to use interface, abstract class or normal class. This post points out a few considerations on which we can take decision about Interface vs Abstract class vs Class. read more...

add a comment |category: |Views: 78

tags: another