Posts

More on HTTP Basics

This is the second part of our discussion regarding HTTP Basics. Resource Locators or simply URL is what we use to go to specific site say http://www.google.com?search='MVC'. Anatomy of a URL http://                             = URL Scheme www.google.com.ph      = Domain or Host ?search='MVC'          = URL Path or Query String About URL Encoding , not all characters are valid and accepted by the browser, invalid characters are called unsafe characters and in order for this characters to be safe  URL Encoding is done.

Understanding HTTP

What is HTTP and how does it work? This is a very basic question that every web programmer should be able to understand and explain. HTTP short for Hyper Text Transfer Protocol is the standard way for browsers and server to communicate. Web browsers sends a request while web servers return a response. Commonly used HTTP request: GET - request data from a specified resource or url. POST - submit data from specified resource or url. GET vs Post GET POST History Parameters remain in the Browser Parameters not shown in the browser Bookmark Can Be Bookmarked Cannot be bookmarked. Cached Can be Cached Can’t Be Cached Back/Reload Browser Button Clicking the Back button has no effect. Clicking the back button causes re-submitting the form. Encoding Type application/x-www-form-urlencoded multipart/form-data or applica...

A quick look at the LINQ Architecture

Image
LINQ is a new feature in Visual Studio 2008, extending the capabilities of C# and VB. We can use Language Integrated Query in querying collections, objects, xml and entities. For as long as an object derives from IEnumerable it can be queried using LINQ, LINQ can be used in the following ways. LINQ to SQL LINQ to XML LINQ to Object LINQ to Entities What does LINQ do? In LINQ to SQL it converts objects queries to SQL Command and when it receives the resultset from the database it then converts it back to objects. Below is an illustration of the LINQ Architecture.

Jump Starting LINQ

I'll be dedicating two weeks to study LINQ using C# and VS 2008, I'll be using the book titled "LINQ Quickly, A Practical Guide to Programming Language Integrated Query with C#" by N. Satheesh Kumar. I'll be discussing each chapter of the book and cite some of my own examples. Just to give you an overview of what I'm currently engaged in, I'm doing this web development project using ASP.Net and C#, it's an Inventory and Sales System for an importer and assembler of MAN buses here in the Philippines. Our team is composed of three developers including myself and a PM, the duration of the project is within six months period.