Thursday, September 20, 2012

Diff b/w Application Pages and Site Pages?????

==========================================================================
Application Pages:
 ==========================================================================
Application pages are stored in the server’s file system. SharePoint Designer tool cannot be used with application pages. 

Application pages cannot be used within sandboxed solutions. An Application page cannot be customized and modified by end user, instead a developer is required. These are the normal .aspx pages deployed within SharePoint.

Most common of them are the admin pages found in _layouts folder. These are deployed either at the farm level or at application level. If they are deployed within _layouts folder or global SharePoint Virtual Directory, then they can be used by any SharePoint application (available at farm level), otherwise they can be deployed at application level only by creating a virtual directory.

These are typical ASP.Net aspx pages and can utilize all of the functionalities available within ASP.Net including code-behind, code-beside, inline coding etc. These are compiled by .Net runtime like normal pages. If you deploy your custom ASPX pages within _layouts folder or within SharePoint application using a virtual directory, you will not be able to use SharePoint master pages and have to deploy your master page within the virtual directory or _layouts folder. 

Application Pages cannot use contents as this concept is associated with SharePoint Page Layouts not with ASP.Net. Since application pages are compiled once, they are much faster Normally application pages are not web part pages, hence can only contain server controls or user controls and cannot be personalized by users. 

Easiest way to deploy your existing ASP.Net web site within SharePoint is to deploy its pages as Application Pages within SharePoint. In this way you can convert any ASP.Net web solution as SharePoint application with minimal efforts. SharePoint specific features like Information Management Policies, Workflows, auditing, security roles can only be defined against site pages not against application pages. Application pages can be globalized using Resource files only. 
===========================================================================
Site Pages:
===========================================================================
Site Pages is a concept where complete or partial page is stored within content database and then actual page is parsed at runtime and delivered to end-users. Site pages can be edited by using SharePoint Designer tool. 

Site pages are used within Sandboxed solutions. 

A site page can be customized and modified by end user. Pages stored in Pages libraries or document libraries or at root level within SharePoint (Wiki pages) are Site Pages You must be thinking why we should use such pages? There are many reasons for this. One of the biggest catch of the SharePoint is the page layouts, where you can modify page once for a specific content type and then you can create multiple pages using the same page layout with different contents. In this case, contents are stored within database for better manageability of data with all the advantages of a data driven system like searching, indexing, compression, etc and page layouts are stored on file system and final page is created by merging both of them and then the outcome is pared by SharePoint not compiled.

Sharepoint Articles.

Sharepoint Basic Tutorials.-visit this site

http://www.sharepointhostingprovider.com/sharepoint-tutorials/

Site Definition vs. Site Template

Site Definition vs. Site Template

Site Definition:
1. Requires admin access to server
2. Supports features stapling
3. Files on disk
4. Can provision multiple webs
5. Relatively complex
Site Template:
1. Installable from web UI by site owners
2. Additional features must be activated in gallery
3. Files in DB
4. Single web only
5. Relatively simple

Tuesday, September 18, 2012

Place An Image In Text With Photoshop.

Step 1: Open A Photo To Place Inside Your Text

First, we need the image that we're going to place inside of our text. I'll use this panoramic photo of Hawaii:
A panoramic view of the ocean in Hawaii. Image licensed from iStockphoto by Photoshop Essentials.com.
An ocean view from Hawaii.

Step 2: Duplicate The Background Layer

If we look in the Layers palette, we can see that we currently have one layer, named Background. This layer contains our image. We need to duplicate this layer, and the easiest way to do that is by using the keyboard shortcut Ctrl+J (Win) / Command+J (Mac). If we look once again in the Layers palette, we see that we now have two layers. The original Background layer is on the bottom, and a copy of the Background layer, which Photoshop automatically named "Layer 1", is sitting above it:
The Layers palette in Photoshop. Image © 2008 Photoshop Essentials.com.
Photoshop's Layers palette.

Step 3: Add A New Blank Layer Between The Two Layers

Next, we need to add a new blank layer between the Background layer and "Layer 1". Currently, "Layer 1" is the layer that's selected in the Layers palette. We can tell which layer is selected because the selected layer is always highlighted in blue. Normally, when we add a new layer, Photoshop places the new layer directly above whichever layer is currently selected, which means that Photoshop would place the layer above "Layer 1". That's not what we want. We want the new layer to be placed below "Layer 1". Here's a useful trick. To add a new layer below the currently selected layer, hold down your Ctrl (Win) / Command (Mac) key and click on the New Layer icon at the bottom of the Layers palette. Holding down Ctrl (Win) / Command (Mac) is the trick to placing the layer below the currently selected layer:
The New Layer icon at the bottom of the Layers palette in Photoshop. Image © 2008 Photoshop Essentials.com.
Hold down "Ctrl" (Win) / "Command" (Mac) and click on the New Layer icon in the Layers palette.
We now have a new blank layer named "Layer 2" sitting directly between the Background layer and "Layer 1":
A new blank layer appears in the Layers palette. Image © 2008 Photoshop Essentials.com.
The Layers palette showing the new blank layer between the Background layer and "Layer 1".

Step 4: Fill The New Layer With White

At the moment, our new layer is completely blank. Let's fill it with white so it will appear as a white background after we've placed our image inside the text. Go up to the Edit menu at the top of the screen and choose Fill. This will bring up Photoshop's Fill dialog box. Select White for the Contents option at the top of the dialog box, then click OK to exit out of the dialog box:
The Fill command dialog box in Photoshop. Image © 2008 Photoshop Essentials.com.
Select White for the Contents option at the top of the Fill command's dialog box.
Nothing will appear to have happened in the document window, since the image on "Layer 1" is blocking "Layer 2" from view, but if we look at the layer preview thumbnail for "Layer 2" in the Layers palette, we can see that sure enough, the layer is now filled with solid white:
The layer preview thumbnail in the Layers palette in Photoshop. Image © 2008 Photoshop Essentials.com.
The preview thumbnail for "Layer 2" shows that the layer is now filled with white.

Step 5: Select "Layer 1" In The Layers Palette

It's time to add our text, but in order to see the text when we add it, we'll need to have the text appear above "Layer 1", otherwise the image on "Layer 1" will block the text from view. To make sure we can see our text, click on "Layer 1" in the Layers palette to select it. This way, as soon as we begin typing, Photoshop will create a new type layer for us and place the type layer directly above "Layer 1":
Selecting 'Layer 1' in the Layers palette in Photoshop. Image © 2008 Photoshop Essentials.com.
Click on "Layer 1" in the Layers palette to select it.

Step 6: Select The Type Tool

To add the text, we'll need Photoshop's Type Tool, so select the Type Tool from the Tools palette. You can also quickly select the Type Tool by pressing the letter T on your keyboard:
The Type Tool in Photoshop. Image © 2008 Photoshop Essentials.com.
Select the Type Tool.

Step 7: Choose A Font In The Options Bar

With the Type Tool selected, go up to the Options Bar at the top of the screen and choose whichever font you want to use for the effect. Generally, fonts with thick letters work best. I'm going to choose Arial Black. Don't worry about the font size for now:
The Options Bar in Photoshop showing the options for the Type Tool. Image © 2008 Photoshop Essentials.com.
Select a font in the Options Bar.

Step 8: Set White As Your Foreground Color

This step isn't absolutely necessary, but to help me see my text, I'm going to use white for my text color. The color you choose for your text doesn't really matter since we'll be filling the text with an image in a moment, but it still helps to be able to see the text when we're adding it. To set the text color to white, all we need to do is set Photoshop's Foreground color to white. First, press the letter D on your keyboard, which will reset the Foreground and Background colors to their defaults. Black is the default color for the Foreground color and white is the default color for the Background color. To swap them so white becomes the Foreground color, press the letter X on your keyboard. If you look at the Foreground and Background color swatches near the bottom of the Tools palette, you'll see that white is now the Foreground color (the left swatch):
The Foreground color swatch in the Tools palette in Photoshop. Image © 2008 Photoshop Essentials.com.
Setting the Foreground color to white sets the text color to white as well.

Step 9: Add Your Text

With the Type Tool selected, your font chosen and white as your Foreground color, click inside your document window and add your text. Since I'm using a photo of an ocean scene in Hawaii, I'm going to type the word "HAWAII":
Adding text to the Photoshop document. Image © 2008 Photoshop Essentials.com.
Click inside the document and add your text.
When you're done, click on the checkmark up in the Options Bar to accept the text.
Click the checkmark in the Options Bar to accept the text. Image © 2008 Photoshop Essentials.com.
Click on the checkmark in the Options Bar to accept the text.

Step 10: Resize and Reposition The Text With The Free Transform Command

You'll probably need to resize and reposition your text at this point, and we can do both of those things using Photoshop's Free Transform command. Press Ctrl+T (Win) / Command+T (Mac) on your keyboard to bring up the Free Transform box and handles around your text, then drag any of the handles to resize the text. If you want to resize the text without distorting the look of it, hold down your Shift key and drag any of the four corner handles. You can also resize the text from its center by holding down the Alt (Win) / Option (Mac) key as you drag. Finally, to move the text, click anywhere inside the Free Transform box and drag your mouse to move the text around inside the document window:
Use the Free Transform command in Photoshop to resize and reposition the text. Image © 2008 Photoshop Essentials.com.
Use Photoshop's Free Transform command to resize and move the text.
Press Enter (Win) / Return (Mac) when you're done to accept the transformation and exit out of the Free Transform command.

Step 11: Drag The Text Layer Below "Layer 1"

Now that we have our text the way we want it, we need to move the type layer below the text in the Layers palette. Click on the text layer, then simply drag it down below "Layer 1". You'll see a thick black line appear between "Layer 1" and "Layer 2":
Dragging the type layer down below 'Layer 1' in the Layers palette. Image © 2008 Photoshop Essentials.com.
Drag the type layer below "Layer 1".
Release your mouse button when the black line appears to drop the type layer into place between "Layer 1" and "Layer 2":
The type layer now appears below 'Layer 1' in the Layers palette.  Image © 2008 Photoshop Essentials.com.
The type layer now appears between "Layer 1" and "Layer 2".

Step 12: Select "Layer 1" Again

Click once again on "Layer 1" in the Layers palette to select it:
Selecting 'Layer 1' in the Layers palette. Image © 2008 Photoshop Essentials.com.
The type layer now appears between "Layer 1" and "Layer 2".
The text will temporarily disappear inside the document window now that the image on "Layer 1" is blocking it from view.

Step 13: Create A Clipping Mask

To create the illusion that the photo is inside the text, we need to use a clipping mask. This will "clip" the photo on "Layer 1" to the text on the layer directly below it. Any areas of the photo that appear directly above the letters will remain visible in the document. The rest of the photo will disappear from view.
With "Layer 1" selected in the Layers palette, go up to the Layer menu at the top of the screen and choose Create Clipping Mask:
Creating a clipping mask in Photoshop.  Image © 2008 Photoshop Essentials.com.
Go to Layer > Create Clipping Mask.
If we look in the document window, we can see that the photo now appears to be inside the text:
The photo now appears inside the text in Photoshop. Image © 2008 Photoshop Essentials.com.
The photo now appears inside the letters.

Step 14: Add A Drop Shadow (Optional)

To complete my effect, I'm going to add a drop shadow to the letters. If you want to follow along, first select the type layer in the Layers palette, then click on the Layer Styles icon at the bottom of the Layers palette:
Clicking on the Layer Styles icon in Photoshop. Image © 2008 Photoshop Essentials.com.
Select the type layer, then click on the Layer Styles icon.
Select Drop Shadow from the list of layer styles that appears:
Selecting a drop shadow layer style in Photoshop. Image © 2008 Photoshop Essentials.com.
Select the Drop Shadow layer style.
This brings up Photoshop's Layer Style dialog box set to the Drop Shadow options in the middle column. I'm going to leave most of the options alone, but I'll lower the Opacity of the drop shadow down to about 60% so it's not quite so intense, and I'll set the Angle of the drop shadow to 120°:
The Drop Shadow options in the Layer Style dialog box in Photoshop. Image © 2008 Photoshop Essentials.com.
The Layer Style dialog box displaying the options for the Drop Shadow.
Click OK when you're done to apply the drop shadow an exit out of the Layer Style dialog box. Here is my final "image in text" effect:
Photoshop image in text effect. Image © 2008 Photoshop Essentials.com.
The final "image in text" effect.