Keyword : Category :
Php and mysql
Mobile programming
Web design
Multimedia - graphics
Simple steps
.net programming
Sql server
Operating system
Web development
C sharp
Software development
Computer science
NRS 1120.00
Book details / order
What’s so special about design patterns? at any given moment, someone struggles with the same software design problems you have. and, chances are, someone else has already solved your problem. this edition of head first design patterns—now updated for java 8—shows you the tried-and-true, road-tested patterns used by developers to create functional, elegant, reusable, and flexible software. by the time you finish this book, you’ll be able to take advantage of the best design practices and experiences of those who have fought the beast of software design and triumphed. what’s so special about this book? we think your time is too valuable to spend struggling with new concepts. using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, head first design patterns uses a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep. about the authors eric freeman recently ended nearly a decade as a media company executive, having held the position of cto of disney online & at the walt disney company. eric is now devoting his time to and lives with his wife and young daughter in austin, tx. he holds a ph.d. in computer science from yale university. elisabeth robson is co-founder of wickedly smart, an education company devoted to helping customers gain mastery in web technologies. she's co-author of four bestselling books, head first design patterns, head first html and css, head first html5 programming, and head first javascript programming. chapter 1. intro to design patterns: welcome to design patterns it started with a simple simuduck app but now we need the ducks to fly but something went horribly wrong... joe thinks about inheritance... how about an interface? what would you do if you were joe? the one constant in software development zeroing in on the problem... separating what changes from what stays the same designing the duck behaviors implementing the duck behaviors integrating the duck behavior more integration... testing the duck code setting behavior dynamically the big picture on encapsulated behaviors has-a can be better than is-a speaking of design patterns... overheard at the local diner... overheard in the next cubicle... the power of a shared pattern vocabulary how do i use design patterns? tools for your design toolbox chapter 2. the observer pattern: keeping your objects in the know the weather monitoring application overview unpacking the weatherdata class what do we know so far? taking a first, misguided swag at the weather station what’s wrong with our implementation? meet the observer pattern publishers + subscribers = observer pattern a day in the life of the observer pattern five-minute drama: a subject for observation two weeks later... the observer pattern defined the observer pattern defined: the class diagram the power of loose coupling cubicle conversation designing the weather station implementing the weather station implementing the subject interface in weatherdata now, let’s build those display elements power up the weather station using java’s built-in observer pattern how java’s built-in observer pattern works reworking the weather station with the built-in support running the new code the dark side of java.util.observable other places you’ll find the observer pattern in the jdk and the code... tools for your design toolbox chapter 3. the decorator pattern: decorating objects welcome to starbuzz coffee the open-closed principle meet the decorator pattern constructing a drink order with decorators the decorator pattern defined decorating our beverages cubicle conversation new barista training writing the starbuzz code coding beverages coding condiments serving some coffees real world decorators: java i/o decorating the classes writing your own java i/o decorator test out your new java i/o decorator tools for your design toolbox chapter 4. the factory pattern: baking with oo goodness identifying the aspects that vary but the pressure is on to add more pizza types encapsulating object creation building a simple pizza factory reworking the pizzastore class the simple factory defined franchising the pizza store a framework for the pizza store allowing the subclasses to decide let’s make a pizzastore declaring a factory method we’re just missing one thing: pizza! you’ve waited long enough. time for some pizzas! it’s finally time to meet the factory method pattern another perspective: parallel class hierarchies factory method pattern defined a very dependent pizzastore looking at object dependencies the dependency inversion principle applying the principle inverting your thinking... a few guidelines to help you follow the principle... meanwhile, back at the pizzastore... families of ingredients... building the ingredient factories building the new york ingredient factory reworking the pizzas... reworking the pizzas, continued... revisiting our pizza stores what have we done? more pizza for ethan and joel... abstract factory pattern defined factory method and abstract factory compared tools for your design toolbox a very dependent pizzastore chapter 5. the singleton pattern: one of a kind objects the little singleton dissecting the classic singleton pattern implementation the chocolate factory singleton pattern defined houston, hershey, pa we have a problem... dealing with multithreading can we improve multithreading? meanwhile, back at the chocolate factory... congratulations! tools for your design toolbox chapter 6. the command pattern: encapsulating invocation free hardware! let’s check out the remote control... taking a look at the vendor classes cubicle conversation meanwhile, back at the diner..., or, a brief introduction to the command pattern let’s study the interaction in a little more detail... the objectville diner roles and responsibilities from the diner to the command pattern our first command object using the command object creating a simple test to use the remote control the command pattern defined the command pattern defined: the class diagram assigning commands to slots implementing the remote control implementing the commands putting the remote control through its paces time to write that documentation... what are we doing? time to qa that undo button! using state to implement undo adding undo to the ceilingfan commands get ready to test the ceiling fan testing the ceiling fan... every remote needs a party mode! using a macro command the command pattern means lots of command classes simplifying the remote control with lambda expressions simplifying even more with method references test the remote control with lambda expressions more uses of the command pattern: queuing requests more uses of the command pattern: logging requests tools for your design toolbox chapter 7. the adapter and facade patterns: being adaptive adapters all around us object-oriented adapters if it walks like a duck and quacks like a duck, then it must might be a duck turkey wrapped with a duck adapter... test drive the adapter the adapter pattern explained adapter pattern defined object and class adapters real-world adapters adapting an enumeration to an iterator and now for something different... home sweet home theater watching a movie (the hard way) lights, camera, facade! constructing your home theater facade implementing the simplified interface time to watch a movie (the easy way) facade pattern defined the principle of least knowledge how not to win friends and influence objects the facade and the principle of least knowledge tools for your design toolbox chapter 8. the template method pattern: encapsulating algorithms it’s time for some more caffeine whipping up some coffee and tea classes (in java) and now the tea... sir, may i abstract your coffee, tea? taking the design further... abstracting preparerecipe() what have we done? meet the template method let’s make some tea... what did the template method get us? template method pattern defined hooked on template method... using the hook let’s run the test drive the hollywood principle the hollywood principle and template method template methods in the wild sorting with template method we’ve got some ducks to sort... what is compareto()? comparing ducks and ducks let’s sort some ducks the making of the sorting duck machine swingin’ with frames applets tools for your design toolbox chapter 9. the iterator and composite patterns: well-managed collections breaking news: objectville diner and objectville pancake house merge check out the menu items lou and mel’s menu implementations what’s the problem with having two different menu representations? what now? can we encapsulate the iteration? meet the iterator pattern adding an iterator to dinermenu reworking the diner menu with iterator fixing up the waitress code testing our code what have we done so far? what we have so far... making some improvements... cleaning things up with java.util.iterator we are almost there... what does this get us? iterator pattern defined single responsibility taking a look at the café menu reworking the café menu code adding the café menu to the waitress breakfast, lunch and dinner what did we do? we decoupled the waitress.... ... and we made the waitress more extensible but there’s more! iterators and collections is the waitress ready for prime time? just when we thought it was safe... what do we need? the composite pattern defined designing menus with composite implementing the menu component implementing the menu item implementing the composite menu getting ready for a test drive... now for the test drive... getting ready for a test drive... flashback to iterator the composite iterator the null iterator give me the vegetarian menu the magic of iterator & composite together... tools for your design toolbox chapter 10. the state pattern: the state of things jawva breakers cubicle conversation state machines 101 writing the code in-house testing you knew it was coming... a change request! the messy state of things... the new design defining the state interfaces and classes implementing our state classes reworking the gumball machine now, let’s look at the complete gumballmachine class... implementing more states let’s take a look at what we’ve done so far... the state pattern defined we still need to finish the gumball 1 in 10 game finishing the game demo for the ceo of mighty gumball, inc. sanity check... we almost forgot! tools for your design toolbox chapter 11. the proxy pattern: controlling object access coding the monitor testing the monitor the role of the ‘remote proxy’ adding a remote proxy to the gumball machine monitoring code remote methods 101 java rmi, the big picture how does the client get the stub object? back to our gumballmachine remote proxy getting the gumballmachine ready to be a remote service registering with the rmi registry... now for the gumballmonitor client... writing the monitor test drive another demo for the ceo of mighty gumball... the proxy pattern defined get ready for virtual proxy displaying cd covers designing the cd cover virtual proxy writing the image proxy testing the cd cover viewer what did we do? using the java api’s proxy to create a protection proxy matchmaking in objectville the personbean implementation five-minute drama: protecting subjects big picture: creating a dynamic proxy for the personbean step one: creating invocation handlers creating invocation handlers continued... step two: creating the proxy class and instantiating the proxy object testing the matchmaking service running the code... the proxy zoo tools for your design toolbox the code for the cd cover viewer chapter 12. compound patterns: patterns of patterns working together duck reunion what did we do? a duck’s eye view: the class diagram the king of compound patterns meet the model-view-controller a closer look... looking at mvc through patterns-colored glasses using mvc to control the beat... putting the pieces together building the pieces now let’s have a look at the concrete beatmodel class the view implementing the view implementing the view, continued... now for the controller putting it all together... exploring strategy adapting the model now we’re ready for a heartcontroller and now for a test run... mvc and the web model 2: dj’ing from a cell phone step one: the model step two: the controller servlet now we need a view... putting model 2 to the test... design patterns and model 2 observer tools for your design toolbox exercise solutions chapter 13. better living with patterns: patterns in the real world design pattern defined looking more closely at the design pattern definition so you wanna be a design patterns writer organizing design patterns pattern categories thinking in patterns your mind on patterns don’t forget the power of the shared vocabulary cruisin’ objectville with the gang of four your journey has just begun... the patterns zoo annihilating evil with anti-patterns tools for your design toolbox leaving objectville... boy, it’s been great having you in objectville. appendix leftover patterns bridge why use the bridge pattern? builder why use the builder pattern? chain of responsibility how to use the chain of responsibility pattern flyweight why use the flyweight pattern? interpreter how to implement an interpreter mediator mediator in action... memento the memento at work prototype prototype to the rescue visitor the visitor drops by appendix appendix mighty gumball colophon

Author : Elisabeth robson, eric t. freeman, kathy sierra, b
Publication : Oreilly
Isbn : 9789352132775
Store book number : 105
NRS 1440.00
Order This Book
*Marked Field Is Necessary
Your Name: *
Your Address:
Your Email: *
Your Cell Phone:
Your Work Phone:
Quantity: *
Message (if any)
Security code: *
Case Sensitive
Packt publication
Microsoft press
Dreamtech press
Charles river media
Black book
Sk kataria
Pragmatic bookshelf
Fusion books
NRS 1280.00
Professional ASP.NET MVC 4
Mastering Microsoft Exchange ...
Android Hacker's Handbook
CCNA Cisco Certified Network ...
Windows Phone 7 Application ...
Beginning Drupal (Wrox Progr ...
Troubleshooting Windows 7 In ...
All Right Reserved © 2008