July 25, 2013

The MVC Programming Model Overview

MVC is one of three ASP.NET programming models.
MVC is a framework for building web applications using a MVC (Model View Controller) design:
  • The Model represents the application core (for instance a list of database records).
  • The View displays the data (the database records).
  • The Controller handles the input (to the database records).
The MVC model also provides full control over HTML, CSS, and JavaScript.

The MVC model defines web
applications with 3 logic layers:
The business layer (Model logic)
The display layer (View logic)
The input control (Controller logic)





The Model is the part of the application that handles the logic for the application data.
Often model objects retrieve data (and store data) from a database.
The View is the parts of the application that handles the display of the data.
Most often the views are created from the model data.
The Controller is the part of the application that handles user interaction.
Typically controllers read data from a view, control user input, and send input data to the model.
The MVC separation helps you manage complex applications, because you can focus on one aspect a time. For example, you can focus on the view without depending on the business logic. It also makes it easier to test an application.

The MVC separation also simplifies group development. Different developers can work on the view, the controller logic, and the business logic in parallel.

Source : w3schools

July 23, 2013

What is QR Code?

Do you know what is QR Code?
A QR code (short for Quick Response) is a specific matrix barcode (or two-dimensional code), readable by dedicated QR barcode readers and camera phones. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be text, URL or other data.

Was checking a barcode reader and found that app that i was testing can read QR codes so this was it.
Here is a QR code of my blog .
QR Code generator
These are easily readable by most smartphones with camera by installing small app.

To generate QR Code visit - http://goqr.me/

July 22, 2013

Using of CAB files in Windows (Making & Extracting)

Cabinet files are the Microsoft Windows Archives. These archives can store multiple files/folders into a single file with or without involving data compression. Since every Windows system is natively compatible with cab files, Windows provide enough facilities to create, extract, or rebuild cab files without requiring additional software.By default, there are 3 utility files for dealing with cab files. They are

·         makecab.exe
·         expand.exe
·         extrac32.exe


You can find these in the system32 directory.

Use IEXPRESS.EXE,there is a lot of facilities with this tool. Try playing around a bit and figure them out.

July 6, 2013

November 20, 2012

Excel 2007 Tricks


TIPS & TRICKS
      To find age of a person based on DOB,
=DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & " months, " & DATEDIF(A1,NOW(),"md") & " days"
Eg: In A1 column enter DOB in this format 31/08/1985 and in another cell enter this formula.

          To remove unnecessary spaces in the cell,
                    =trim (text)

===== SHYAM =====

25 Excel Tips & Tricks


25 Very Useful Keyboard Shortcuts
 1. To format any selected object, press ctrl+1

2. To insert current date, press ctrl+;
3. To insert current time, press ctrl+shift+;
4. To repeat last action, press F4
5. To edit a cell comment, press shift + F2
6. To autosum selected cells, press alt + =
7. To see the suggest drop-down in a cell, press alt + down arrow
8. To enter multiple lines in a cell, press alt+enter
9. To insert a new sheet, press shift + F11
10. To edit active cell, press F2 (places cursor in the end
11. To hide current row, press ctrl+9
12. To hide current column, press ctrl+0
13. To unhide rows in selected range, press ctrl+shift+9
14. To unhide columns in selected range, press ctrl+shift+0
15. To recalculate formulas, press F9
16. To select data in current region, press ctrl+shift+8
17. To see formulas in the worksheet, press ctrl+shift+` (ctrl+~) 
18. While editing formulas to change the reference type from absolute to relative vice versa, press F4
19. To format a number as currency, press ctrl+shift+4 (ctrl+$) 
20. To apply outline border around selected cells, press ctrl+shift+7
21. To open the macros dialog box, press alt+F8
22. To copy value from above cell, press ctrl+’
23. To format current cell with comma formats, press ctrl+shift+1
24. To go to the next worksheet, press ctrl+shift+page down
25. To go to the previous worksheet, press ctrl+shift+page up

... SHYAM... D Man U Love