Showing posts with label design patterns. Show all posts
Showing posts with label design patterns. Show all posts

ASP.NET 4 Social Networking Review

ASP.NET 4 Social Networking
Average Reviews:

(More customer reviews)
Are you looking to buy ASP.NET 4 Social Networking? Here is the right place to find the great deals. we can offer discounts of up to 90% on ASP.NET 4 Social Networking. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

ASP.NET 4 Social Networking ReviewThis book is about how to build a Social Network (a fish owners one as an example), by using ASP.NET, C# and some frameworks: MEF, EF, ADO.NET EF.
Some of those frameworks are not lightweight but at the same time they are very ordered and the code is well structured so swapping is easy.

Some interesting points or highlights after reading it:
Uses an events-based newsfeed, same principle as facebook does. Nice details as being able to hide stuff.
Friendly urls for profiles and other sections, in fact, sometimes is a bit overabused to search for SEO, when a social network might be more private. But just having the concept of forums... means the authors wanted to add as much "social stuff" as possible, even if doesn't't fully fit.
Precalculates and stores different photo sizes on upload (right), but does it synchronously (wrong, can get to long waits or timeouts).
Lazy loading vs eager loading, the endless discussion (here decides to do eager loading of some things).
User search is pretty basic, using LINQ to search in a few fields.
Blogs are curiously created: Allow to publish public posts (even with friendly urls), but doesn't syndicates in a RSS feed so limits that public exposure.
Builds a forum, quite extrange and atypical in a social network (is among the RSS one of the things they have semi-killed). Voting, marking forum replies as answers and user rankings are... a bit out of scope for a social network, more fit for a pure forum. At least the ratings are correctly decoupled and system-wide usable (providing good extensibility).
Very simple privacy management in general: Either public or private, with just some cases of membership/access requests.
Last chapter presents scalability advices: Moving to a SOA architecture (with WCF), separating frontend servers to a farm with load balancing, service servers and DB tier, caching using AppFabric's Caching component or Memcached. Also moves the email sending process to a queued, async. system. Also mentions logical deletion and then system process to wipe deleted items, DB Indexing and data partitioning (does SQL Server level partitioning instead of handling it via code), and Lucene.NET for searching.
But also has some cons:
Uses database table relationships (referential inegrity via DB), uncommon due to caching problems
HTML inside messages in service layers
Favors code-behind dynamic html generation instead of using subviews
Stores profile avatar images in the DB (ouch!)
Friendship defined as one-way relation (instead in the more flexible two-way friend-friend relation).This results in crap code related to it (like friend search), because it must have "originator ID is friend of X" OR "destination ID is friend of X".
Presentation entities to lessen the problem of eager loading (but not avoiding it, just lowering memory usage).
And the .NET 4 in the name... would have worked equally with 3.5 (I can't recall anything FW4.0 specific in the book).
Dynamic attributes idea is nice but not scalable (even less needing to rows in different tables for each attribute.
The book mentions or implements nany tiny details not obvious but even sometimes missing on large websites (e.g. Terms of Use versioning and tracking of last accepted version by the users, Easy and mockable configuration manager).
As a conclusion, the book won't show you groundbreaking secrets nor incredible algorithms, but will set the basis for a decent social network with low usage and quite some features. You will probably want to cut out some unwanted features but code is clean and well structured. But at least the code is not badly written.ASP.NET 4 Social Networking OverviewEach chapter starts by showing the user experience we are going to create in the chapter. It then has a section discussing the major design decisions we face in building these features, and finally presents the 'solution' including the overall architecture and highlighting the most important code elements. The book presents a lot of real-world code, with comprehensive explanation and discussion. The full social network application is available for download from the Packt website, for you to examine, study, and modify. This book is written for ASP.NET and C# developers who want to build an enterprise-grade Social Network, either for their own business purposes or as a contract job for another company. The book assumes you have prior experience of developing web applications using ASP.NET 4.0, C# , SQL Server 2008, and Visual Studio .NET 2010. If you working with earlier versions of any of these, you can still go ahead and use this book as a guide to get you going. The book focuses on topics that will be of interest to existing developers and not on providing step-by-step examples for each detail.

Want to learn more information about ASP.NET 4 Social Networking?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Pro Objective-C Design Patterns for iOS Review

Pro Objective-C Design Patterns for iOS
Average Reviews:

(More customer reviews)
Are you looking to buy Pro Objective-C Design Patterns for iOS? Here is the right place to find the great deals. we can offer discounts of up to 90% on Pro Objective-C Design Patterns for iOS. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Pro Objective-C Design Patterns for iOS ReviewIf you're looking for a book that clearly and concisely describes design patterns, then look elsewhere.
I was really hoping that this book would offer an updated take on the design patterns covered in the classic "Gang of Four" book (Design Patterns: Elements of Reusable Object-Oriented Software), but written in the context of iOS. Unfortunately, "Pro Objective-C Design Patterns for iOS" doesn't deliver.
Here's why:
1) English is clearly not the author's first language. Many grammatical mistakes, "Engrish" and rambling sentences can be found on every page. The code samples themselves are OK, but the editing and proofreading of the prose are abysmal. I doubt whether anyone at the publisher even read this book before its release.
2) The book is extremely repetitive in places. Entire pages are filled with words that say almost nothing. Here's an example:
"NSNumber is an example of Abstract Factory implementation. This flavor of Abstract Factory in the Foundation framework is referred to by the term 'Class Clusters.' Class Clusters are a design pattern that is commonly found in the Foundation framework. They are based on the idea of the Abstract Factory pattern."
3) Each chapter is usually prefaced with really poor analogies that you have to slog through before getting to any content.
4) There's no original thought. Every design pattern mentioned was originally described (far better, I might add) in the "Gang of Four" book. At least the author credits the original, but why would I want to read a poorly re-hashed version of someone else's ideas?
The book is really slow and contains relatively little code. I expect a "Pro" book to be written for professional developers, not beginners.
Do yourself a favor, and skip this one.Pro Objective-C Design Patterns for iOS Overview
It's time to capitalize on your mastery of Cocoa with Pro Objective-C Design Patterns for iOS.You've developed apps that impressed and performed, and now you're ready to jump into development practices that will leave you with more effective, efficient, and professional level apps.This book is the element you need to make the jump from journeyman to master. All too often, developers grind through building good apps on willpower and a vigorous focus on code development, leaving them unaware of and unable to benefit from the underlying structural and functional design patterns. Pro Objective-C Design Patterns for iOS will teach you those design patterns that have always been present at some level in your code, but were never recognized, acknowledged, or fully utilized.Implementation of specific pattern approaches will prove their value to any developer working in the iOS application arena. You'll learn to master classic patterns like singleton, abstract factory, chain of responsibility, and observer. You'll also discover less well-known but useful patterns like memento, composite, command, and mediator.

What you'll learn
The basic concepts ofvarious design patterns
How to apply designpatterns to your code based on different scenarios
How design patterns canstrengthen your apps

Who this book is for
Any professional or aspiring iOS developer will find productivity, efficiency, and effectiveness of software development enhanced by the methods and practice delivered by Pro Objective-C Design Patterns for iOS.

Table of Contents
Hello, Design Patterns!
A Case Study: Designing an App
Prototype
Factory Method
Abstract Factory
Builder
Singleton
Adapter
Bridge
Façade
Mediator
Observer
Composite
Iterator
Visitor
Decorator
Chain of Responsibility
Template Method
Strategy
Command
Flyweight
Proxy
Memento


Want to learn more information about Pro Objective-C Design Patterns for iOS?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...