Thursday, November 23, 2006

MVC Architecture in simple words

About MVC

The model-view-controller (MVC) architecture provides a set of design patterns that help you separate the areas of concern involved in building and running a GUI-based application. The model encapsulates the business logic and persistence code for the application. The model should be as view-technology-agnostic as possible. For example, the same model should be usable with a Swing application, a Struts application, or a JSF application. The view should display model objects and contain presentation logic only. There should be no business logic or controller logic in the view. The controller (along with its attending logic) acts as the mediator between the view and the model. The controller talks to the model and delivers model objects to the view to display. In an MVC architecture the controller always selects the next view.

Can't find what you're looking for? Try Google Search!
Google
 
Web eshwar123.blogspot.com

Tuesday, November 21, 2006

Use websearch or blogsearch engine

Well, there are least five differences between Websearch and Blog search engines listed below:

1: A web search engine indexes Blogs, Webpages, Forums, PDFs and even Microsoft Office Documents. Blog Search Engines index only sites that syndicate content as a feed in either RSS or Atom formats.

2. Blog Search Engine bots will index your website as soon as you ping them (or notify them about new content on your blog). Search engines spiders are much more lazy (unless you are a PR8 or PR9 website) Infact, it's not even guaranteed that a search engine would index your site.

3. Since XML feeds supply data in a more structured format to the blog search engine, you can sort blog search results either by date or relevance. In normal web search engines, results are sorted by page relevance since their bots do not know the exact date when the article was written or published on the web.

4. Web Search engines index all parts of your webpage including reader comments, text in the sidebars, etc. On the other hand, most blog search engines index just the text of the blog post that was supplied to them inside the RSS feed. They won't index other elements of the webpage like Archive links, Blogroll, etc.

5. Blog Search engines let you restrict the search to a particular author, something not possible with Web Search.

Summary: Use a blog search engine when you need information about an event that happened just seconds ago like someone smashed his PS3 on the road.

In all other cases, you may prefer using a web search engine.

Get more information

Can't find what you're looking for? Try Google Search!
Google
 
Web eshwar123.blogspot.com