tag:blogger.com,1999:blog-1872851285651713842024-02-07T20:34:37.100+05:30Programming tipsPratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-187285128565171384.post-88432663351794991852013-02-09T00:12:00.001+05:302013-02-09T00:16:36.069+05:30MonoDevelop Develop Mobile native application with C#<div dir="ltr" style="text-align: left;" trbidi="on">
Many developer are aware with mono project i.e. developing .net application for linux.<br />
<div>
<br /></div>
<div>
<a href="http://xamarin.com/">xamarin</a> has worked on same concept and introduce Monodevelop a platform which helps .net developer to develop native application for iPhone, Android and Mac application.</div>
<div>
<br /></div>
<div>
Developer can download the Mono-Develop (IDE) from the internet and start development.</div>
<div>
<br /></div>
<div>
To run application on Mobile device developer has to buy license from xamarin.</div>
<div>
Pricing:</div>
<div>
MonoTouch for iPhone application</div>
<div>
<ul style="text-align: left;">
<li>Enterprise : $999</li>
<li>Personal : $399</li>
</ul>
<div>
MonoDroid for android application</div>
</div>
<div>
<ul>
<li>Enterprise : $999</li>
<li>Personal : $399</li>
</ul>
<div>
Don't worry you can run mono application on simulator without parching licence.<br />
<br />
Mono convert C# code into native code.This is not as simple as it looks Xamarin has written wrapper classes for C# code in native.<br />
For developing application in mono developer not only require C# knowledge but they should require some basic knowledge of iOS/Android application development. <br />
In Mono application screen can be designed same as it is develop in iOS/Android. for iOS it screen development developer should aware with xcode designer and for android screen design developer should aware with XML design.<br />
Even when you are developing application you should aware with native controls, classes, property, methods and events. It is never easy for C#/.net developer to jump in native application development.<br />
For developing android application you can download monodevelop for windows but for developing iOS application you should require MAC machine.<br />
<br />
After reading all this you may think what are the benefit for the individual or companies get by using mono.<br />
<br />
<ul style="text-align: left;">
<li>In current market it is very difficult to find iOS developer or Android developer, but with training it is easy to convert C# developer to mono developer.</li>
<li>Most of the customer want to develop different application for iOS and Android application. For this type of application business logic remain same(or using same web service), developer can develop this code once and use in both application.</li>
</ul>
<div>
Now let's take a look of drawback :</div>
<div>
<ul style="text-align: left;">
<li>Developer should have basic knowledge of iOS/Android application.</li>
<li>It may happen some new feature introduce by OS are not supported in mono(it is already supporting iOS 6.0 and android 4.0 's feature).</li>
<li>Individual / Company has to purchase licence. </li>
</ul>
</div>
<br />
Please share you thoughts on this...</div>
</div>
</div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-83144571058750024152012-10-14T14:04:00.001+05:302012-10-14T14:04:32.696+05:30Bundling and Minification with MVC 4.0<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
With MVC 4.0 few new features has been introduced like </div>
<div style="text-align: left;">
</div>
<ul style="text-align: left;">
<li>web APIpport</li>
<li>Enhanced support for asynchronous methods</li>
<li>Mobile project support</li>
</ul>
Bandling and Minification is the most exiting feature<br />
<br />
<div>
Now a days developer using different JS plagins and and css files to provide rich look to web application. That while loading web page browser require to request more number of resource files</div>
<div>
<br />
Most of the browser support maximum six connections at a time to the server and other resources has to wait for download completion</div>
<div style="text-align: left;">
<br />
Bundling is combine the multiple files in to single file and decress the no of file and less number of file incress the pgae load performance.<br />
<br />
Minification performs a variety of different code optimizations to scripts or css, such as removing unnecessary white space and comments and shortening variable names to one character.<br />
<br />
minification example :<br />
actual code<br />
function test(value1, value2)<br />
{<br />
return value1+value2;<br />
}<br />
<br />
minified code<br />
function a(b,c){return a+b;}<br />
<br />
Some of open source Javascript code provide minification version to improve the performance like Jquery, Jquery Mobile, modernizr etc. <br />
<br />
While .net minification is developing minified version by the it self. Developer can control the which version either to serve minified version or full version of JS<br />
<br />
Developer can contorl it using web.config<br />
<br />
<pre class="prettyprint" style="background-color: #f3f3f3; border: 1px dashed rgb(204, 204, 204); color: #44525e; font-family: Consolas, monospace; font-size: 13px; line-height: 18.200000762939453px; margin-bottom: 30px; margin-top: 18px; outline: 0px; overflow-x: auto; padding: 5px; vertical-align: baseline;"><mark><span class="tag" style="background-color: transparent; border: 0px; color: #000088; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><compilation span="span"><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="atn" style="background-color: transparent; border: 0px; color: #660066; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">debug</span><span class="pun" style="background-color: transparent; border: 0px; color: #666600; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="atv" style="background-color: transparent; border: 0px; color: #008800; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">"true"</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="tag" style="background-color: transparent; border: 0px; color: #000088; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">/></span></compilation></span></mark></pre>
<br />
or by specifying following value while registering bundle<br />
<br />
<pre class="prettyprint" style="background-color: #f3f3f3; border: 1px dashed rgb(204, 204, 204); color: #44525e; font-family: Consolas, monospace; font-size: 13px; line-height: 18.200000762939453px; margin-bottom: 30px; margin-top: 18px; outline: 0px; overflow-x: auto; padding: 5px; vertical-align: baseline;"><mark><mark><span class="typ" style="background-color: transparent; border: 0px; color: #660066; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">BundleTable</span><span class="pun" style="background-color: transparent; border: 0px; color: #666600; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="typ" style="background-color: transparent; border: 0px; color: #660066; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">EnableOptimizations</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="background-color: transparent; border: 0px; color: #666600; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="pln" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="kwd" style="background-color: transparent; border: 0px; color: #000088; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">true</span><span class="pun" style="background-color: transparent; border: 0px; color: #666600; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">;</span></mark></mark></pre>
<br />
I have found some problem and also find some solution on stack overflow :<br />
<br />
<ul style="text-align: left;">
<li>.net it self minified the script </li>
<li>.net not render the script .min version</li>
</ul>
Jquery Mobile .net minified version not works on opera desktop browser as well opera mobile browser the Problem and solution are explain in below link</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<a href="http://stackoverflow.com/questions/11980458/mvc4-bundler-not-including-min-files">mvc4 bundler not including .min files</a> <br /><br />
<br />
Those features are already in used but .net has integrate this development and make development and deployment easy and save time. <br />
<br />
Reference<br />
<a href="http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification">http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification</a></div>
</div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-39471379678655663092012-09-19T23:36:00.001+05:302012-09-19T23:36:08.681+05:30Convert desktop version of website to mobile site<div dir="ltr" style="text-align: left;" trbidi="on">
Google has start a new application GOMO for convert your existing desktop web application version to mobile version.<br />
<br />
Google has made collaboration with dudaMobile. It is very exiting application for Google.<br />
The application is convert desktop version website in mobile website within few seconds.<br />
<br />
<ul style="text-align: left;">
<li>Application not only convert site in to mobile version user can also select the theme for the mobile application.</li>
<li>User can edit/delete the content from the mobile application.</li>
<li>User can customize contains for mobile site.</li>
<li>Not only this Google is also providing free hosting for the site for a year.</li>
<li>User can also take free help from support team for a year.</li>
</ul>
Those all facility provide to only attract most of the individual/ organization to once convert their site into mobile application but it also has some drawbacks.<br />
<br />
<br />
<ul style="text-align: left;">
<li>Your desktop site should be well designed before mobile conversion.</li>
<li>The application will convert all site in to mobile version it include each and every link which may not require for the mobile site and it may create extra load for the mobile application.</li>
<li>This application may not work on lower end mobile device or older smart phone.</li>
</ul>
<div>
so in conclusion I can say that this is best opportunity for individuals and organization who has their static site and want to develop mobile site, but for a well organize site or for dynamic site this is not a good choice.</div>
<br />
<br />
Reference:<br />
<a href="http://www.howtogomo.com/en/d/">GOMO</a></div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-29367207842087462562012-09-02T23:14:00.000+05:302012-09-03T13:29:27.484+05:30HTML5 Geolocation for Mobile<div dir="ltr" style="text-align: left;" trbidi="on">
HTML 5 is develop not only to target desktop but also to target every device which can access internet like Mobile, Smart TV, Gaming console etc.<br />
<br />
HTML 5 Geolocation can be use with Mobile to develop various application, before this native application is the only way to develop Geolocation application of course developer can access the native features of Mobile device using Phonegap<br />
<br />
With HTML5 it is possible to get as accurate geolocation information as device native application give. actually it is using different algorithms to get geolocation coordinate information. Developer can get accurate coordinate information of end user by using "<b>enableHighAccuracy </b>" option. <br />
<br />
The navigator.geolocation object offers is quite small but offers the following (at the time of writing):<br />
<br />
Methods:<br />
<ol style="text-align: left;">
<li>void navigator.geolocation.<b>getCurrentPosition</b>(success_callback_function, error_callback_function, position_options)</li>
<li>long navigator.geolocation.<b>watchPosition</b>(success_callback_function, error_callback_function, position_options)</li>
<li>void navigator.geolocation.<b>clearWatch</b>(watch_position_id)</li>
</ol>
position_options is specified as a JSON-style string with up to three parameters:<br />
<br />
<ul style="text-align: left;">
<li><b>enableHighAccuracy </b>– A boolean (true/false) which indicates to the device that you wish to obtain it’s most accurate readings (this parameter may or may not make a difference, depending on your hardware)</li>
<li><b>maximumAge </b>– The maximum age (in milliseconds) of the reading (this is appropriate as the device may cache readings to save power and/or bandwidth)</li>
<li><b>timeout </b>– The maximum time (in milliseconds) for which you are prepared to allow the device to try to obtain a Geo location</li>
</ul>
<br />
<br />
wpid=navigator.geolocation.watchPosition(geo_success, geo_error, {enableHighAccuracy:true, maximumAge:30000, timeout:27000});<br />
<div>
<br /></div>
<div>
<div>
The success_callback_function is passed a single parameter, a position object which has the following properties:</div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li><b>coords.latitude</b> – The current latitude reading</li>
<li><b>coords.longitude</b> – The current longitude reading</li>
<li><b>coords.accuracy</b> – The accuracy of the current latitude and longitude readings (in metres)</li>
<li><b>coords.speed</b> – The current speed reading in metres per second (you can simply multiply by 2.2369 to convert to miles per hour or multiply by 3.6 to convert to kilometres per hour)</li>
<li><b>coords.altitude</b> – The current altitude reading (in metres)</li>
<li><b>coords.altitudeAccuracy</b> – The accuracy of the current altitude reading (in metres)</li>
</ul>
</div>
</div>
<br />
<br />
here we take a look of simple example<br />
<br />
<br />
<b>Example of a "one-shot" position request.</b><br />
<br />
function showMap(position) {<br />
// Show a map centered at (position.coords.latitude, position.coords.longitude).<br />
}<br />
<br />
// One-shot position request.<br />
navigator.geolocation.getCurrentPosition(showMap);<br />
<br />
you can use above example when developer want to use geolocation information once in a code<br />
<br />
<br />
<b>Example of requesting repeated position updates and handling errors.</b><br />
<br />
function scrollMap(position) {<br />
// Scrolls the map so that it is centered at (position.coords.latitude, position.coords.longitude).<br />
}<br />
<br />
function handleError(error) {<br />
// Update a div element with error.message.<br />
}<br />
<br />
// Request repeated updates.<br />
var watchId = navigator.geolocation.watchPosition(scrollMap, handleError);<br />
<br />
function buttonClickHandler() {<br />
// Cancel the updates when the user clicks a button.<br />
navigator.geolocation.clearWatch(watchId);<br />
}<br />
<br />
<br />
<b>Example of requesting a potentially cached position.</b><br />
<br />
// Request a position. We accept positions whose age is not<br />
// greater than 10 minutes. If the user agent does not have a<br />
// fresh enough cached position object, it will automatically<br />
// acquire a new one.<br />
navigator.geolocation.getCurrentPosition(successCallback,<br />
errorCallback,<br />
{maximumAge:600000});<br />
<br />
function successCallback(position) {<br />
// By using the 'maximumAge' option above, the position<br />
// object is guaranteed to be at most 10 minutes old.<br />
}<br />
<br />
function errorCallback(error) {<br />
// Update a div element with error.message.<br />
}<br />
<br />
<br />
<span style="color: #222222;">Difference between </span><span style="color: #222222;"><b>getCurrentPosition()</b></span><span style="color: #222222;"> and </span><span style="color: #222222;"><b>watchPosition()</b></span><br />
<span style="color: #222222;"></span><br />
<span style="color: #222222;">The getCurrentPosition() method takes one, two or three arguments. When called, it must immediately return and then asynchronously attempt to obtain the current location of the device</span><br />
<span style="color: #222222;"><br /></span>
<span style="color: #222222;">The watchPosition() is doing same but, The watch operation then must continue to monitor the position of the device and invoke the appropriate callback every time this position changes</span><br />
<br />
Reference :<br />
<a href="http://dev.w3.org/geo/api/spec-source">http://dev.w3.org/geo/api/spec-source</a>
<br />
http://www.thedotproduct.org/2010/04/example-of-navigator-geolocation-watchposition/</div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-59781067287859477602012-08-25T16:53:00.000+05:302012-08-25T16:53:25.517+05:30Configure Web Application for iPhone/iPad<div dir="ltr" style="text-align: left;" trbidi="on">
To develop rich mobile application there are some guide lines provide by safari developer library. Developer can develop web application like a native application using this guide lines. here are the highlight of some guide line<br />
<div>
<br /></div>
<div>
1) Specify Lunch icon/ web clip:</div>
<div>
Developer can specify the lunch icon for web application like native application it is default feature of safari. It is not necessary to specify the lunch icon, safari provide default lunch icon for the web application.</div>
<div>
<br /></div>
<div>
<ul class="ul" style="background-color: white; list-style-image: initial; list-style-position: outside; margin: 0px 0px 0.833em 1.35em; padding: 0px 0px 0.5em;">
<li class="li" style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
To specify an icon for the entire website (every page on the website), place an icon file in PNG format in the root document folder called <code style="color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon.png</code> or <code style="color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon-precomposed.png</code>. If you use <code style="color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon-precomposed.png</code> as the filename, Safari on iOS won’t add any effects to the icon.</div>
</li>
<li class="li" style="margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
<div style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px;">
To specify an icon for a single webpage or replace the website icon with a webpage-specific icon, add a link element to the webpage, as in:</div>
<div style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px;">
<br /></div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif;"><link rel="apple-touch-icon" href="/custom_icon.png"/></span></div>
</li>
<li class="li" style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; margin-top: 0.583em;"><span style="background-color: white;">In the above example, replace </span><code style="background-color: white; color: #666666; font-family: Courier, Consolas, monospace;">custom_icon.png</code><span style="background-color: white;"> with your icon filename. If you don’t want Safari on iOS to add any effects to the icon, replace </span><code style="background-color: white; color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon</code><span style="background-color: white;"> with </span><code style="background-color: white; color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon-precomposed</code><span style="background-color: white;">.</span></li>
<li class="li" style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; margin-top: 0.583em;"><span style="background-color: white;">To specify multiple icons for different device resolutions—for example, support both iPhone and iPad devices—add a </span><code style="background-color: white; color: #666666; font-family: Courier, Consolas, monospace;">sizes</code><span style="background-color: white;"> attribute to each link element as follows:</span></li>
</ul>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif;"></span><br />
<div>
<link href="touch-icon-iphone.png" rel="apple-touch-icon"></link></div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif;">
<div style="font-size: small;">
<link href="touch-icon-ipad.png" rel="apple-touch-icon" sizes="72x72"></link></div>
<div style="font-size: small;">
<link href="touch-icon-iphone4.png" rel="apple-touch-icon" sizes="114x114"></link></div>
<div>
<div style="font-size: small;">
</div>
<link rel="apple-touch-icon" href="touch-icon-iphone.png" /><br />
<link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png" /><br />
<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png" /><br />
<div style="font-size: small;">
<br /></div>
<div style="font-size: small;">
</div>
</div>
</span></div>
<ul class="ul" style="background-color: white; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; list-style-image: initial; list-style-position: outside; margin: 0px 0px 0.833em 1.35em; padding: 0px 0px 0.5em;">
<li class="li" style="margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
The icon that is the most appropriate size for the device is used. If no <code style="color: #666666; font-family: Courier, Consolas, monospace;">sizes</code> attribute is set, the element’s size defaults to 57 x 57.</div>
</li>
</ul>
<div style="background-color: white; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; margin-bottom: 0.833em;">
If there is no icon that matches the recommended size for the device, the smallest icon larger than the recommended size is used. If there are no icons larger than the recommended size, the largest icon is used. If multiple icons are suitable, the icon that has the <code style="color: #666666; font-family: Courier, Consolas, monospace;">precomposed</code> keyword is used.</div>
<div style="background-color: white; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; margin-bottom: 0.833em;">
If no icons are specified using a link element, the website root directory is searched for icons with the <code style="color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon...</code> or <code style="color: #666666; font-family: Courier, Consolas, monospace;">apple-touch-icon-precomposed...</code> prefix. For example, if the appropriate icon size for the device is 57 x 57, the system searches for filenames in the following order:</div>
<ol class="ol" style="background-color: white; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px; list-style-position: outside; margin: 0px 0px 0px 2.5em; padding: 0px 0px 1em 0.5em;">
<li class="li" style="margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
apple-touch-icon-57x57-precomposed.png</div>
</li>
<li class="li" style="margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
apple-touch-icon-57x57.png</div>
</li>
<li class="li" style="margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
apple-touch-icon-precomposed.png</div>
</li>
<li class="li" style="margin-top: 0.583em;"><div style="display: inline; margin-bottom: 0.833em; margin-top: 0.667em;">
apple-touch-icon.png</div>
</li>
</ol>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif; font-size: x-small;">2)Define star up screen for iPhone/iPad</span></div>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="background-color: white; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px;">On iOS, similar to native applications, you can specify a startup image that is displayed while your web application launches. This is especially useful when your web application is offline. By default, a screenshot of the web application the last time it was launched is used. To set another startup image, add a link element to the webpage, as in:</span>
</div>
<div>
<span style="background-color: white; font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: 13px;"><br /></span></div>
<div>
<span style="background-color: #f1f5f9; color: #666666; font-family: Courier, Consolas, monospace; font-size: 12px; line-height: 13px; white-space: pre-wrap;"><link href="/startup.png" rel="apple-touch-startup-image"></link></span></div>
<div>
<br /></div>
</div>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif;">3)Hide status bar:</span></div>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif;">For hiding status bar for iOS device developer can use following meta tag:</span></div>
<div>
<span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="background-color: #f1f5f9; color: #666666; font-family: Courier, Consolas, monospace; line-height: 13px; white-space: pre-wrap;"></span><span style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;"> </span><span style="font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif;"><meta name="apple-mobile-web-app-status-bar-style" content="black" /></span></div>
<div>
<span style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: x-small;">Reference:</span></div>
<div>
<a href="http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html">http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/configuringwebapplications/configuringwebapplications.html</a><span style="font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif; font-size: x-small;"> </span></div>
</div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-80395755446159318992012-08-23T00:05:00.000+05:302012-08-23T00:05:16.792+05:30CSS 3 Media Queries<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline;">
If you have ever created a print stylesheet for a website then you will be familiar with the idea of creating a specific stylesheet to come into play under certain conditions – in the case of a print stylesheet when the page is printed. This functionality was enabled in CSS2 by <em style="border: 0px; font-family: 'Proxima Nova Italic', 'Helvetica Neue', Arial, Helvetica, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">media types</em>. Media Types let you specify a type of media to target, so you could target print, handheld and so on. Unfortunately these media types never gained a lot of support by devices and, other than the print media type, you will rarely see them in use.</div>
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline;">
The <a href="http://www.w3.org/TR/css3-mediaqueries/" style="-webkit-tap-highlight-color: rgb(229, 59, 44); border-bottom-color: rgba(0, 0, 0, 0.0976563); border-bottom-style: solid; border-bottom-width: 1px; color: #41b7d8; margin: 0px; padding: 0px 0px 1px; text-decoration: none; vertical-align: baseline;">Media Queries</a> in CSS3 take this idea and extend it. Rather than looking for a <em style="border: 0px; font-family: 'Proxima Nova Italic', 'Helvetica Neue', Arial, Helvetica, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">type</em> of device they look at the <em style="border: 0px; font-family: 'Proxima Nova Italic', 'Helvetica Neue', Arial, Helvetica, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">capability</em> of the device, and you can use them to check for all kinds of things. For example:</div>
<ul style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22.383333206176758px; list-style-image: initial; list-style-position: initial; margin: 0.5em 1.5em; outline: 0px; padding: 0px; position: relative; vertical-align: baseline;">
<li style="border: 0px; margin: 0px; outline: 0px; padding: 0.25em 0px; position: relative; vertical-align: baseline;">width and height (of the browser window)</li>
<li style="border: 0px; margin: 0px; outline: 0px; padding: 0.25em 0px; position: relative; vertical-align: baseline;">device width and height</li>
<li style="border: 0px; margin: 0px; outline: 0px; padding: 0.25em 0px; position: relative; vertical-align: baseline;">orientation – for example is a phone in landscape or portrait mode?</li>
<li style="border: 0px; margin: 0px; outline: 0px; padding: 0.25em 0px; position: relative; vertical-align: baseline;">resolution</li>
</ul>
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline;">
If the user has a browser that supports media queries then we can write CSS specifically for certain situations. For example, detecting that the user has a small device like a smart phone of some description and giving them a specific layout.</div>
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline;">
<span style="background-color: white; line-height: 22.383333206176758px;">The first way to use media queries is to have the alternate section of CSS right inside your single stylesheet. So to target small devices we can use the following syntax:</span>
</div>
<div style="border: 0px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline;">
</div>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">@media only screen and (max-device-width: 480px) {
}</pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">
</pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">
</pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">above style only apply to devices which width is less than 480 px</pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">
</pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;"><span style="background-color: white; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 22.383333206176758px; white-space: normal;">We can then add our alternate CSS for small screen and width devices inside the curly braces. By using the cascade we can simply overwrite any styles rules we set for desktop browsers earlier in our CSS. As long as this section comes last in your CSS it will overwrite the previous rules. So, to linearize our layout and use a smaller header graphic I can add the following:</span>
</pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;"><span style="background-color: white; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 22.383333206176758px; white-space: normal;">
</span></pre>
<pre style="color: black; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;"><pre>@media only screen and (max-device-width: 480px) {
div#wrapper {
width: 400px;
}
div#header {
background-image: url(media-queries-phone.jpg);
height: 93px;
position: relative;
}
div#header h1 {
font-size: 140%;
}
#content {
float: none;
width: 100%;
}
#navigation {
float:none;
width: auto;
}
}</pre>
</pre>
<pre><h3 style="border: 0px; color: #333333; font-family: 'Skolar Bold', 'Times New Roman', serif; font-size: 1.5em; line-height: 1.3em; margin: 0px; outline: 0px; padding: 1.5em 0px 0.5em; vertical-align: baseline; white-space: normal;">
Linking a separate stylesheet using media queries</h3>
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline; white-space: normal;">
Adding the specific code for devices inline might be a good way to use media queries if you only need to make a few changes, however if your stylesheet contains a lot of overwriting or you want to completely separate the styles shown to desktop browsers and those used for small screen devices, then linking in a different stylesheet will enable you to keep the CSS separate.</div>
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline; white-space: normal;">
To add a separate stylesheet after your main stylesheet and use the cascade to overwrite the rules, use the following.</div>
<div style="border: 0px; color: #333333; font-family: 'Proxima Nova Regular', 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 22.383333206176758px; outline: 0px; padding: 0.5em 0px; vertical-align: baseline; white-space: normal;">
<span style="color: black; font-family: monospace; line-height: normal; white-space: pre;"><link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="small-device.css"</span><span style="color: black; font-family: monospace; line-height: normal; white-space: pre;"> /></span></div>
</pre>
<pre><span style="font-family: Proxima Nova Regular, Helvetica Neue, Arial, Helvetica, sans-serif; font-size: medium;">some more examples for mobile device and orientation</span></pre>
<pre>
</pre>
<pre>/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* Styles */
}
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* Styles */
}
/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/* Styles */
}
/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* Styles */
}
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* Styles */
}
/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
/* Styles */
}
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}
</pre>
<div>
<br /></div>
<pre><span style="font-family: Proxima Nova Regular, Helvetica Neue, Arial, Helvetica, sans-serif;">References</span></pre>
<pre><span style="font-family: Proxima Nova Regular, Helvetica Neue, Arial, Helvetica, sans-serif;">1) http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/</span></pre>
<pre><span style="font-family: Proxima Nova Regular, Helvetica Neue, Arial, Helvetica, sans-serif;">2)</span><a href="http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/">http://mobile.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/</a></pre>
<pre>3)<a href="http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml">http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml</a></pre>
<pre>
</pre>
<pre><span style="font-family: Proxima Nova Regular, Helvetica Neue, Arial, Helvetica, sans-serif; font-size: x-small;">
</span></pre>
</div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-35607398972518970592012-08-13T14:11:00.000+05:302012-08-14T00:00:54.850+05:30The Magic of ASP.Net MVC Model Binding<div dir="ltr" style="text-align: left;" trbidi="on">
For the ASP.net developer MVC not less then a magic. In asp.net developer develop the page and hit the page and request for the page for that page and server send response for that page (I am not going in to detail for ASP.net handler as we are talking about MVC magic).<br />
<br />
It look like a magic because of the<br />
1)The way we are accessing the MVC page (View)<br />
2)The way data pass to the controller<br />
<br />
most of Developer aware with all the asp.net page life cycle. Let 's take look of MVC life Cycle<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRJr8q63kccN1h6WWP4mhdfhnRxVeOzQCRJRfbCtZmHP4fzQ4Flos7ibxSq2P4H5UoO6ehmzEkIXEcVz6K_Lvf3wgglB8C9_gkqY1Edsy3oF5w2QL37oYoxsV80JPievNI-hMhPvZsmHY/s1600/image.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRJr8q63kccN1h6WWP4mhdfhnRxVeOzQCRJRfbCtZmHP4fzQ4Flos7ibxSq2P4H5UoO6ehmzEkIXEcVz6K_Lvf3wgglB8C9_gkqY1Edsy3oF5w2QL37oYoxsV80JPievNI-hMhPvZsmHY/s1600/image.png" /></a></div>
<div class="MsoNormal">
<br />
<o:p></o:p></div>
<div class="MsoNormal">
There are two MVC component perform the magic</div>
<div class="MsoNormal">
1)MVCRouteHandler</div>
<div class="MsoNormal">
2)MVCModelBinder</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
1)MVCRouteHandler</div>
<div class="MsoNormal">
The ASP.NET Routing module is responsible for mapping incoming browser requests to particular MVC controller actions. By the end of this tutorial, you will understand how the standard route table maps requests to controller actions.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The default route handler is already define in Globle.aspx as bellow</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
public class MvcApplication : System.Web.HttpApplication</div>
<div class="MsoNormal">
{</div>
<div class="MsoNormal">
public static void RegisterRoutes(RouteCollection routes)</div>
<div class="MsoNormal">
{</div>
<div class="MsoNormal">
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");</div>
<div class="MsoNormal">
routes.MapRoute(</div>
<div class="MsoNormal">
"Default", // Route name</div>
<div class="MsoNormal">
"{controller}/{action}/{id}", // URL with parameters</div>
<div class="MsoNormal">
new { controller = "Home", action = "Index", id = "" } // Parameter defaults</div>
<div class="MsoNormal">
);</div>
<div class="MsoNormal">
}</div>
<div class="MsoNormal">
protected void Application_Start()</div>
<div class="MsoNormal">
{</div>
<div class="MsoNormal">
RegisterRoutes(RouteTable.Routes);</div>
<div class="MsoNormal">
}</div>
<div class="MsoNormal">
}</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When an MVC application first starts, the Application_Start() method is called. This method, in turn, calls the RegisterRoutes() method. The RegisterRoutes() method creates the route table.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The default route table contains a single route (named Default). The Default route maps the first segment of a URL to a controller name, the second segment of a URL to a controller action, and the third segment to a parameter named id.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Imagine that you enter the following URL into your web browser's address bar:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
/Home/Index/3</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The Default route maps this URL to the following parameters:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
controller = Home</div>
<div class="MsoNormal">
action = Index</div>
<div class="MsoNormal">
id = 3</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
When you request the URL /Home/Index/3, the following code is executed:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
HomeController.Index(3)</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The Default route includes defaults for all three parameters. If you don't supply a controller, then the controller parameter defaults to the value Home. If you don't supply an action, the action parameter defaults to the value Index. Finally, if you don't supply an id, the id parameter defaults to an empty string.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Let's look at a few examples of how the Default route maps URLs to controller actions. Imagine that you enter the following URL into your browser address bar:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
/Home</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Because of the Default route parameter defaults, entering this URL will cause the Index() method of the HomeController class in Listing 2 to be called.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
In this way MVC identify which controller action to be invoke and which view to be rander</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
2)MVCModelBinder
</div>
<div class="MsoNormal">
The model binder takes a set of value providers, model metadata providers and validator providers and creates the objects in the parameters of your action methods, performs validation, and the resulting objects are passed in as parameters when the action method on the controller is invoked. That is how a form post can become a fully hydrated and validated object before you do anything explicitly in your controller. If you did not know it did all of that, well, pay attention because there is some interesting stuff ahead. </div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Will start with an example action method on a controller.</div>
<div class="MsoNormal">
[AcceptVerbs(HttpVerbs.Post)]</div>
<div class="MsoNormal">
public ActionResult AFormPost(string aSimpleType,</div>
<div class="MsoNormal">
ACoolModel aComplexType)</div>
<div class="MsoNormal">
{</div>
<div class="MsoNormal">
//Do whatever...</div>
<div class="MsoNormal">
}</div>
<div class="MsoNormal">
Let us say that this action method would be found on your site at http://foo.com/home/aformpost and you are posting to that url. The class in the framework that is responsible for calling the method above is called the ControllerActionInvoker (which you do not need to be too concerned about remembering as you do not use it directly). When the route is parsed by the runtime, that is the class that is responsible for calling an appropriate method on a controller. The ControllerActionInvoker sees that the action method has two parameters that it has to supply. To do that it uses the DefaultModelBinder to attempt to interpret the values available and force them into one of the two parameters specified. And where does it get its values? What are the available sources? Well, it looks in this order:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The form values.</div>
<div class="MsoNormal">
The route data.</div>
<div class="MsoNormal">
The query string.</div>
<div class="MsoNormal">
The http file collection.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
These are called the "value providers". If it finds a value in the first provider, it will pull it from the first. If not, the second, and so on. It will look by name, so if you had a parameter named "foo" and a text input field also named "foo", it would match based on that. And it is not case sensitive.<br />
<br /></div>
<div class="MsoNormal">
In the case of the first parameter in the example above, it will see that it is a simple model (like string, int, et al., as opposed to a complex model, which would be one defined by a separate class such as ACoolModel above) and will convert it to that type and assign it to the parameter.</div>
<div class="MsoNormal">
In the case of the second parameter, it will see that it is not a simple model and will instantiate an instance, figure out the properties, and for each one look in the value providers to find a value to assign to the property.<br />
<br /></div>
<div class="MsoNormal">
In either case, if the assignment fails because of type conversion errors or the like, an error is added to the ModelState (the thing responsible for keeping track of the validation state of the model). The DefaultModelBinder will then look for any validators on the property and check those. If validation fails, an error will be added to the ModelState. More on validation and model state in the next tutorial.<br />
<br /></div>
<div class="MsoNormal">
So that is the basics of the model binder. By creating your own model binder you can take complete control of the process. However, I have found that the default model binder works almost all of the time, but we will discuss how to create your own model binders at a later time.<br />
<br /></div>
<div class="MsoNormal">
In summary, the model binder takes a set of value providers and creates the objects in theparameters of your action methods, performs validation, and the resulting objects are passed in as parameters when the action method on the controller is invoked. That is how a form post can become a fully hydrated and validated object before you do anything explicitly in your controller.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
reference:</div>
<div class="MsoNormal">
<a href="http://www.howmvcworks.net/OnModelsAndViewModels/TheBeautyThatIsTheModelBinder">http://www.howmvcworks.net/OnModelsAndViewModels/TheBeautyThatIsTheModelBinder</a>
</div>
<div class="MsoNormal">
<a href="http://www.patelsanjay.net/">http://www.patelsanjay.net/</a>
</div>
</div>
Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-81334368485770594562012-08-08T14:16:00.004+05:302012-08-08T18:20:12.908+05:30Mobile web testing<div dir="ltr" style="text-align: left;" trbidi="on">
When we are developing any web application we can test that application on browsers. In the same way we can test the mobile web application on mobile browser. but some time it is not possible to setup mobile testing environment Immediately as it is expensive in term of time and money.<br />
<br />
To set up testing environment we need the different mobile devices which is target for the same application and we also need to setup Wi-Fi enlivenment to access the application through mobile devices<br />
<br />
But for a quick test specially for unit testing one can use simulators. some of simulator are the same simulators which are use for native application development and some simulators are special design to test web application<br />
<br />
1)Apple device(iPhone/iPad/IPod):<br />
For iPhone Mac Os hasp provide iPhone and iPad simulators, for windows device one can use ibbDemo2(<a href="http://code.google.com/p/ibbdemo2/">ibbdemo2 link1</a> ,<a href="http://www.softpedia.com/get/Programming/Other-Programming-Files/iBBDemo2.shtml">ibbddemo link2</a>) or from web one can access this <a href="http://iphonetester.com/">simulator</a><br />
<br />
one of the other way use the safari browser as a simulator as Apple default browser is safari to do this install the safari browser go to preferences an check the show developer menu option, now you can see the developer menu , from developer menu select user agent and you can change user agent from safari desktop to iPhone/iPod/iPad this is one the best way as we can debug the JS, CSS and HTML<br />
<br />
2)Android devices<br />
To test the web application on android device developer has to download and install the Android SDK you can download it from this: <a href="http://developer.android.com/sdk/index.html">link</a> .<br />
<br />
The other alternate is the safari browser by setting the custom user agent, you can search and add add the Android user agent in safari browser as both are web-kit browser<br />
<br />
But some of HTML5 and CSS3 features developer has to install Targeted OS's simulator<br />
<br />
3)Window Mobile<br />
For windows Mobile developer can download and install windows mobile SDK from this: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=27570">link</a><br />
<br />
4)BlackBerry<br />
To test web application on BB device developer can download simulator from this: <a href="http://us.blackberry.com/sites/developers/resources/simulators.html">link</a><br />
<br />
5)Opera Mobile/Mini<br />
Some smart phone user also install the opera browser for the mobile developer can download the opera mobile simulator from this: <a href="http://www.opera.com/developer/tools/mobile/">link</a> and opera min simulator from this:<a href="http://www.opera.com/developer/tools/mini/">link</a><br />
<br />
Off-course simulators/emulators is provide 100% result ,but it can use as alternate.I <span style="font-family: Calibri, sans-serif; font-size: 13.5pt; line-height: 115%;">recommend to test application on actual mobile device before any </span><span style="font-family: Calibri, sans-serif; font-size: medium;"><span style="line-height: 20px;">build</span></span><br />
<br />
<br />
<br />
</div>Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com1tag:blogger.com,1999:blog-187285128565171384.post-28715754318520527892012-08-06T20:21:00.001+05:302012-08-09T19:00:01.857+05:30MVC makes Mobile web Manageable<div dir="ltr" style="text-align: left;" trbidi="on">
When we start development for mobile application our basic question is what is the platform or what architecture developer can use to develop mobile web application<br />
<br />
Mobile web application can develop with any platform (languages like Java, PHP , .net etc) but the architecture should be MVC<br />
<br />
The main advantage of MVC is TDD we can easily test over code. but for mobile web application we have another advantage as bellow: <br />
<br />
This is only require when developer want to target more than one device and want to provide native look and feel ex. for iPhone navigation should be at bottom and fix where in BB it should be at the top of page<br />
<br />
With the MVC developer can commonly used the Model and Controller code only they need to develop different view for each targeted device using this way we can develop rich mobile application<br />
<br />
ASP.net has also develop MVC architecture which a good choice to develop mobile application and Microsoft has also provide mobile web development with MVC2 and MVC4<br />
<br />
As I discussed previous here developer can design common model and controller and develop the different view for targeted device<br />
<br />
Now next question is how to redirect end user to related view (EX. if end user access the web application via iPhone/iPod then he/she will be redirect to iPhone specific view which look like iPhone native app, and if end user access it via android then he/she will be redirected to Android view)<br />
<br />
Even developer can develop one view to target desktop browser and other to target mobile device this view is known as generic mobile view<br />
<br />
for that developer can use Mobile capable view engine which available on internet(Free). MVC is the open source architecture from Microsoft so developer can also develop their own engine .<br />
<br />
With MVC developer has to define related view under same folder (ex. iOS related views are stored under folder name iPhone and android related view are stored under folder name android )<br />
<br />
Any request from and user is redirected to the view engine it will check the header information sp. user-agent information of the request and render the particular view accordingly<br />
<br />
With MVC 4 the view storing convince in MVC 4 developer add the view in same folder but define the view like index.iPhone. extinction or index.Android. extinction as Microsoft has provide view engine in such a way<br />
<br />
That is why MVC is the best option for mobile web development when we are targeting multiple device with different view(presentation). <br />
<br />
pros:<br />
1) MVC web application is easily manageable/easy maintenance .<br />
2) MVC allow Test Driven Development<br />
3) MVC projects are easily scale developer can easily add targeted view for without make any change in controller or model<br />
<br />
cons:<br />
1)Developer has to learn MVC architecture<br />
2) For small project TDD can increase the development time. <br />
<br />
<br />
</div>Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-7853122377511562742012-08-03T14:33:00.001+05:302012-08-03T14:34:45.292+05:30HTML 5 and Mobile Device :Myview<div dir="ltr" style="text-align: left;" trbidi="on">
HTML5 is one of the hottest topic today for the discussion as a mobile web developer I want to share my view on HTML 5<br />
<div>
<br />
<div>
<span style="background-color: white; font-family: sans-serif; font-size: 12.727272033691406px; line-height: 19.196969985961914px;">O</span><span style="background-color: white; font-family: sans-serif; line-height: 19.196969985961914px;">n 14 February 2011, the W3C extended the charter of its HTML Working Group with clear milestones for HTML5. In May 2011, the working group advanced HTML5 to "Last Call", an invitation to communities inside and outside W3C to confirm the technical soundness of the specification. The W3C is developing a comprehensive test suite to achieve broad interoperability for the full specification by 2014, which is now the target date for Recommendation</span>
</div>
</div>
<div>
<span style="background-color: white; font-family: sans-serif; line-height: 19.196969985961914px;"><br /></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.16666603088379px;">HTML5 is the standard which </span><span style="line-height: 19.116666793823242px;">defined by W3C and other open source working group.</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.133333206176758px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.133333206176758px;">For the development of those standard they have use broad view and consider all the browser from </span><span style="line-height: 19.116666793823242px;">different device like mobile, Gaming console, Smart Tv and introduce many features for all type of devices that having browser and some them are not much useful for desktop/laptop browser</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Tag are design so carefully that browser can render animation, video, audio without any plugin. </span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">As we all know only android native browser support the flash plugin, all other smart phone's native browser dose not have capability of use flash plugin to play video or animated flash file on browser</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">but with help of HTML 5 this will be possible to give support of animation and video without flash player</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">let's take overview of some of HTML5 features</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">1)Canvas:</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">with the help of canvas tag and JavaScript developer can draw images, but not only images canvas can also use to develop animation.</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">2)Video</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">With the help of Video tag developer can add video in webpage</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">3)Audio</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">With the help of Audio tag developer can add audio element in web page</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">4) Geo-location:</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">HTML 5 has develop Geo-loaction algorithm using which developer can use end user's </span></span><span style="font-family: sans-serif; line-height: 19.116666793823242px;"> </span><span style="font-family: sans-serif; line-height: 19.116666793823242px;">Geoloaction </span><span style="font-family: sans-serif; line-height: 19.116666793823242px;">position information.</span></div>
<div>
<span style="font-family: sans-serif; line-height: 19.116666793823242px;"><br /></span></div>
<div>
<span style="font-family: sans-serif; line-height: 19.116666793823242px;">6)Application cache:</span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Using application cache developer can develop web application that can work in offline mode (without internet connection) once it downloaded on user machine user can access the application in offline</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">7)Storage :</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">HTML5 also allow developer to store values on client end, I am not talking about cookie. HTML 5 has provide</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Session Storage: data remain on client machine for a session only</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Local storage: data remain on client machine forever same as cookie key value pair</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Web SQL db: developer can store large amount of data in table format just like database ,but those data are stored on client end</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">8) Worker:</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Like ajax some of JavaScript code execute in other thread and it will note affect the performance of the main page loading thread,this can be use with heavy JavaScript function which take more time to execute. but developer can not access document, Window ,etc object in worker it is message base communication between main thread and worker thread</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">9) Web Socket ,Server Push:</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">It is bi-directional/ uni-directional communication of browser and server, can be use to develop application like facebook which can give updates on browser in regular interval</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">10)new input type:</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">There are many input types are introduce for mobile device they are not much useful for desktop machine like number,date, date time, URL, email add., search etc.</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">12)Validation </span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Client side validation without any JavaScript i.e. require and reg.expression validation</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">13)Microdata:</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">add SEO related information in tag</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">14)new Tags</span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">like input type many new tag are introduce with HTML5 ex. output, section tags etc</span></span></div>
<div>
<span style="font-family: sans-serif; line-height: 19.116666793823242px;"><br /></span></div>
<div>
<span style="font-family: sans-serif; line-height: 19.116666793823242px;">This list dose not stop here it s going on and on .....</span></div>
<div>
<span style="font-family: sans-serif; line-height: 19.116666793823242px;"><br /></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">With this HTML 5 has make web powerful , but currently no browser is supporting all the features of HTML 5 as it is under draft face but I am sure by the end of 2014 browser developer try to support most of the </span></span><span style="font-family: sans-serif; line-height: 19.116666793823242px;">features</span><span style="font-family: sans-serif; line-height: 19.116666793823242px;"> of HTML 5.</span></div>
<div>
<span style="font-family: sans-serif; line-height: 19.116666793823242px;"><br /></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">HTML 5 will make developer life easy. </span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Without HTML 5 all those is possible but developer has to suffer lot to archive all those functionality across the browser. </span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif;"><span style="line-height: 19.116666793823242px;">Reference :</span></span></div>
<div>
<a href="http://www.w3.org/">http://www.w3.org</a><span style="font-family: sans-serif; line-height: 19.116666793823242px;"> </span><span style="font-family: sans-serif; line-height: 19.116666793823242px;"> </span></div>
<div>
<span style="font-family: sans-serif; font-size: x-small;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
<div>
<span style="font-family: sans-serif; font-size: x-small;"><span style="line-height: 19.116666793823242px;"><br /></span></span></div>
</div>Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-82784542564730385732012-08-03T11:12:00.000+05:302012-08-03T11:18:01.717+05:30The rise of server side JavaScript<div dir="ltr" style="text-align: left;" trbidi="on">
When first time I think about this it seems almost impossible, because as per my understanding JavaScript is client side scripting and it is execute by the browser. But the power of JavaScript has made it possible to have the server side JavaScript.
This is very old concept it was first time introduce by Netscape Enterprise Server in late 1994 but Node.js has given more popularity to this concept.
Moreover for Microsoft Azure has also adopted Node.js as development averment for cloud application.
<br />
<br />
Node.js is the server side JavaScript. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
We can configure node JS to listen event on request on particular port and provide response to the request without any sever !
<br />
<br />
Node.js is currently using V8 JavaScript engine which was develop by Google. The same engine is used in Google chrome to parse the JavaScript.
<br />
<br />
Node.Js is the only one example we can find more server side JavaScript example on:<br />
<a href="http://en.wikipedia.org/wiki/Comparison_of_server-side_JavaScript_solutions">List of Server Side JS</a>
<br />
<br />
Reference:<br />
http://en.wikipedia.org
<br />
http://nodejs.org/</div>Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-32885343527827443302012-03-27T13:48:00.004+05:302012-03-27T14:04:24.019+05:30Mobile web beginner<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtJMj9_70Ast_53aEW_bxRMTi7M6TGwFUZJoihQSgkQ4MY7MGpOLC2hBc0XpAn3ZSwPb15vI5UOJufE93ytXIoWRckOkxQTt5PaKr9mn9bFdApgbSdkXIEP7EqaPWC6FOcTSa_Tve8T4g/s1600/f2.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 187px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtJMj9_70Ast_53aEW_bxRMTi7M6TGwFUZJoihQSgkQ4MY7MGpOLC2hBc0XpAn3ZSwPb15vI5UOJufE93ytXIoWRckOkxQTt5PaKr9mn9bFdApgbSdkXIEP7EqaPWC6FOcTSa_Tve8T4g/s320/f2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5724491668277993634" /></a><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB7ZwuNHOvp4zj6RDJmuspIdvxYQtNv5hWu23N3xtGPt6qHS2KApz0TKL0Ss8LH9ux1MoUct0x4F0lp1f-GGEa23sa5HotdV4yR2QWa8B0DLpZ9fpUY5SP7EowlOID8EGlPgnNUsPxrWg/s1600/f1.jpg"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 173px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB7ZwuNHOvp4zj6RDJmuspIdvxYQtNv5hWu23N3xtGPt6qHS2KApz0TKL0Ss8LH9ux1MoUct0x4F0lp1f-GGEa23sa5HotdV4yR2QWa8B0DLpZ9fpUY5SP7EowlOID8EGlPgnNUsPxrWg/s320/f1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5724491572598377202" /></a><br />Mobile web development is as simple as web development for desktop but programmer should consider the basic thing i.e. device size and design pages accordingly more ever developer has to follow some guide lines <br /><br />1) Add meta tag for view port<br /><br />A typical mobile-optimized site contains something like the following:<br /><br /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"><br /><br />The width property controls the size of the viewport. It can be set to a specific number of pixels like width=600 or to the special value device-width value which is the width of the screen in CSS pixels at a scale of 100%. (There are corresponding height and device-height values, which may be useful for pages with elements that change size or position based on the viewport height.)<br /><br />The initial-scale property controls the zoom level when the page is first loaded. The maximum-scale, minimum-scale, and user-scalable properties control how users are allowed to zoom the page in or out.<br /><br />This will fix the page render problems on mobile devices<br />ex:-<br /><br />first image is with meta tag viewport and second is without meta tagPratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-39115602556876009402010-07-06T18:07:00.003+05:302010-07-06T18:16:40.021+05:30php mysql paging<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-US</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} </style> <![endif]--> <p class="MsoNormal"><?php</p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><span style=""> </span>$start=0;</p> <p class="MsoNormal"><span style=""> </span>$pagesize=10;</p> <p class="MsoNormal"><span style=""> </span>if (isset($_GET["pageid"]))</p> <p class="MsoNormal"><span style=""> </span>{</p> <p class="MsoNormal"><span style=""> </span>$pageid=$_GET["pageid"]-1;</p> <p class="MsoNormal"><span style=""> </span>$start=$pageid*$pagesize;</p> <p class="MsoNormal"><span style=""> </span>}</p> <p class="MsoNormal"><span style=""> </span>mysql_connect("localhost","root","");<span style=""> </span></p> <p class="MsoNormal"><span style=""> </span>mysql_select_db("test");<span style=""> </span></p> <p class="MsoNormal"><span style=""> </span></p> <p class="MsoNormal"><span style=""> </span>$query="select count(*) from<span style=""> </span>login";</p> <p class="MsoNormal"><span style=""> </span>$result=mysql_query($query);</p> <p class="MsoNormal"><span style=""> </span>$row=mysql_fetch_array($result);</p> <p class="MsoNormal"><span style=""> </span>echo $rows=$row[0];</p> <p class="MsoNormal"><span style=""> </span></p> <p class="MsoNormal"><span style=""> </span>$query="select * from<span style=""> </span>login limit $start ,$pagesize";</p> <p class="MsoNormal"><span style=""> </span>$result=mysql_query($query);</p> <p class="MsoNormal"><span style=""> </span>echo "<table border='1'>";</p> <p class="MsoNormal"><span style=""> </span>mysql_num_rows($result);</p> <p class="MsoNormal"><span style=""> </span>while($row=mysql_fetch_row($result))</p> <p class="MsoNormal"><span style=""> </span>{</p> <p class="MsoNormal"><span style=""> </span>echo"<tr><td>".$row[0]."</td><td>".$row[1]."</td></tr>";</p> <p class="MsoNormal"><span style=""> </span>}</p> <p class="MsoNormal"><span style=""> </span>echo "</table>";</p> <p class="MsoNormal"><span style=""> </span></p> <p class="MsoNormal"><span style=""> </span>$noofpage=ceil($rows/$pagesize);</p> <p class="MsoNormal"><span style=""> </span></p> <p class="MsoNormal"><span style=""> </span>for($i=1; $i<=$noofpage; $i++)</p> <p class="MsoNormal"><span style=""> </span>{</p> <p class="MsoNormal"><span style=""> </span>echo "<a href=\"paging.php?pageid=$i\">$i</a>";</p> <p class="MsoNormal"><span style=""> </span>}</p> <p class="MsoNormal">?></p> Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-3162267892426908482010-05-25T10:27:00.000+05:302010-05-25T10:28:35.298+05:30Change Web Root Path for XAMPP on WindowsChange Web Root Path for XAMPP on Windows<br />I had an existing XAMPP install on a shared location that I wanted to access using a laptop with its own local XAMPP install. I didn’t want to do any heavy lifting with the laptop, just wanted to access the web files on the shared server through the laptop’s localhost.<br />I also didn’t want to relocate the entire XAMPP folder on my laptop, so I instead modified the httpd.conf file on my local XAMPP install to point to the web root of the remote XAMPP install.<br />Here’s what I did:<br />1. Locate httpd.conf file on my local XAMPP install: C:\xampp\xampp\apache\conf\httpd.conf<br />2. Edit the “DocumentRoot” line to the location of the remote \htdocs folder. I changed mine from:<br />“C:/xampp/xampp/htdocs” to “C:/Users/Ann/Documents/My Dropbox/Dev/Xampp/xampp/htdocs”<br />3. Edit the “Directory” tag to the same remote location you set for DocumentRoot. My Directory tag looked like Directory “C:/Users/Ann/Documents/My Dropbox/Dev/Xampp/xampp/htdocs”<br />4. Save the file and restart your local Apache server.<br />5. Navigate to “http://localhost/” in your browser and you should see the remote web site files.Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-67594122523461623752010-05-11T09:07:00.003+05:302010-05-11T09:26:49.472+05:30Provide Text Editing facility with CK(FCK) editor<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-US</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} p {mso-style-noshow:yes; mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} </style> <![endif]--><b><span style="font-size:14pt;">What is CK editor<o:p></o:p></span></b> <p style="text-indent: 0.5in;">CKEditor (formerly FCKeditor) is an open source WYSIWYG text editor from CKSource that can be used in web pages. It aims to be lightweight<span style=""> </span></p> <p style="text-indent: 0.5in;">Its core code is written in JavaScript, having server side interfaces with <span style=""> </span>ASP, ASP.NET, ColdFusion, Java, JavaScript, Lasso, Perl, PHP and Python</p> <p style="text-indent: 0.5in;">CKEditor is compatible with most Internet browsers, including: Internet Explorer 6.0+ (Windows), Firefox 2.0+, Safari 3.0+, Google Chrome (Windows), Opera 9.50+, and Camino 1.0+ <a href="http://en.wikipedia.org/wiki/Apple_Inc." title="Apple Inc."><span style="text-decoration: none;color:#000000;" ></span></a></p><meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-US</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} p {mso-style-noshow:yes; mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} </style> <![endif]--> <p style="text-indent: 0.5in;">Using this facility Admin(end user) of site can modify contain of webpage <o:p></o:p></p> <p style="text-indent: 0.5in;"><!--[if gte mso 9]><xml> <u1:worddocument> <u1:view>Normal</u1:View> <u1:zoom>0</u1:Zoom> <u1:trackmoves/> <u1:trackformatting/> <u1:punctuationkerning/> <u1:validateagainstschemas/> <u1:saveifxmlinvalid>false</u1:SaveIfXMLInvalid> <u1:ignoremixedcontent>false</u1:IgnoreMixedContent> <u1:alwaysshowplaceholdertext>false</u1:AlwaysShowPlaceholderText> <u1:donotpromoteqf/> <u1:lidthemeother>EN-US</u1:LidThemeOther> <u1:lidthemeasian>X-NONE</u1:LidThemeAsian> <u1:lidthemecomplexscript>X-NONE</u1:LidThemeComplexScript> <u1:compatibility> <u1:breakwrappedtables/> <u1:snaptogridincell/> <u1:wraptextwithpunct/> <u1:useasianbreakrules/> <u1:dontgrowautofit/> <u1:splitpgbreakandparamark/> <u1:dontvertaligncellwithsp/> <u1:dontbreakconstrainedforcedtables/> <u1:dontvertalignintxbx/> <u1:word11kerningpairs/> <u1:cachedcolbalance/> </u1:Compatibility> <u1:browserlevel>MicrosoftInternetExplorer4</u1:BrowserLevel> <u2:mathpr> <u2:mathfont val="Cambria Math"> <u2:brkbin val="before"> <u2:brkbinsub val="--"> <u2:smallfrac val="off"> <u2:dispdef/> <u2:lmargin val="0"> <u2:rmargin val="0"> <u2:defjc val="centerGroup"> <u2:wrapindent val="1440"> <u2:intlim val="subSup"> <u2:narylim val="undOvr"> </u2:mathPr> </u1:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <u3:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <u3:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <u3:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <u3:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <u3:lsdexception locked="false" priority="39" name="toc 1"> <u3:lsdexception locked="false" priority="39" name="toc 2"> <u3:lsdexception locked="false" priority="39" name="toc 3"> <u3:lsdexception locked="false" priority="39" name="toc 4"> <u3:lsdexception locked="false" priority="39" name="toc 5"> <u3:lsdexception locked="false" priority="39" name="toc 6"> <u3:lsdexception locked="false" priority="39" name="toc 7"> <u3:lsdexception locked="false" priority="39" name="toc 8"> <u3:lsdexception locked="false" priority="39" name="toc 9"> <u3:lsdexception locked="false" priority="35" qformat="true" name="caption"> <u3:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <u3:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <u3:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <u3:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <u3:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <u3:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <u3:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <u3:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <u3:lsdexception locked="false" unhidewhenused="false" name="Revision"> <u3:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <u3:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <u3:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <u3:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <u3:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <u3:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <u3:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <u3:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <u3:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <u3:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <u3:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <u3:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <u3:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <u3:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <u3:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <u3:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <u3:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <u3:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <u3:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <u3:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <u3:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <u3:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <u3:lsdexception locked="false" priority="37" name="Bibliography"> <u3:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </u3:LatentStyles> </xml><![endif]-->Because CKEditor is licensed under flexible Open Source and commercial licenses, you'll be able to integrate and use it inside any kind of application. This is the ideal editor for developers, created to provide easy and powerful solutions to their users. </p> <p style="text-indent: 0.5in;">To see the demo:<a href="http://ckeditor.com/demo"> </a><a href="http://ckeditor.com/demo">http://ckeditor.com/demo</a> </p> <p style="text-indent: 0.5in;">To download editor: <a href="http://ckeditor.com/download">http://ckeditor.com/download</a></p> <p style="text-indent: 0.5in;">For more information and documentation : <a href="http://ckeditor.com/">http://ckeditor.com/</a></p> <p style="text-indent: 0.5in;"><span style=""> </span></p> Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-73852406833818653072010-05-08T09:33:00.005+05:302010-05-08T09:45:09.245+05:30Java: MYSQL -JDBC connectionTo connect Java with MYSQL you can use bellow code but before using this code you have to download MYSQL-java Connector <br /> <a href=" http://dev.mysql.com/downloads/connector/j/5.0.html">Download MYSQL-JAVA Connector</a> <br />Put this jar file in lib directory of your project <br /><br /><br />Port="3306";Host="root";Pw="";Db="database"; <br />try<br /> { <br /> Class.forName("com.mysql.jdbc.Driver").newInstance(); <br /> String url ="jdbc:mysql://localhost:"+Port+"/"+Db; <br /> cn =DriverManager.getConnection(url,Host,Pw);<br /> }<br /> catch(Exception e)<br /> {<br /> return e+": Error in Connection";<br /> } <br /> return "OK";<br /> }Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-33303115303252554802010-05-08T08:50:00.001+05:302011-03-03T19:26:16.616+05:30Oracle : varray nasted tablecreate type tool_ty as object<br /> (toolname varchar(25))<br /><br />Type created.<br /><br /><br /> create or replace type tools_va as varray(5) of varchar(25)<br /><br />Type created.<br /><br /><br /> create table borrower <br /> (name varchar(25),<br /> tools tools_va,<br /> constraint borrower_pk primary key(name));<br /><br />Table created.<br /><br /><br />SQL> desc borrower<br /> Name Null? Type<br /> ------------------------------- -------- ----<br /> NAME NOT NULL VARCHAR2(25)<br /> TOOLS TOOLS_VA<br /><br /><br /> insert into borrower values('abc',tools_va('hammer','sledge','ax'))<br /><br /><br /><br /><br /> select * from borrower<br /> <br /><br />NAME<br />-------------------------<br />TOOLS<br />----------------------------------------------------------------------------------------------------<br />abc<br />TOOLS_VA('hammer', 'sledge', 'ax')<br /><br /><br />*********************************************************<br />nasted table<br /><br />create or replace type lib_ty as object<br />(bk_name varchar(25),<br />bk_issue_date date)<br /> create type lib_ty as table of lib;<br /><br />create type lib_nt as table of lib_ty;<br /><br /> create table student<br /> (no number(3),<br /> name varchar(30),<br /> lib lib_nt)<br />nested table lib store as lib_nt_tab<br /><br />insert into student values<br />(1,'abc',<br />lib_nt(lib_ty('c++','31-mar-10'),<br />lib_ty('java','12-feb-2010')))Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0tag:blogger.com,1999:blog-187285128565171384.post-11647566898140152032010-05-08T08:37:00.000+05:302010-05-08T08:45:28.714+05:30PHP file upload<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-US</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>X-NONE</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="--"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} </style> <![endif]--> <p class="MsoNormal">To store files in project no need to store whole file in database just upload that file on server and store only location (path) of that file in the database </p> <p class="MsoNormal">To upload file on server and store it on particular path code is :</p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">First.php</p> <p class="MsoNormal"><html></p> <p class="MsoNormal"><span style=""> </span><head></p> <p class="MsoNormal"><span style=""> </span></p> <p class="MsoNormal"><span style=""> </span></head></p> <p class="MsoNormal"><span style=""> </span><body></p> <p class="MsoNormal"><span style=""> </span><form method="POST" action="sub.php" enctype="multipart/form-data"></p> <p class="MsoNormal"><span style=""> </span><input type="file" name="fileup"></p> <p class="MsoNormal"><span style=""> </span><input type="submit" name="abc"></p> <p class="MsoNormal"><span style=""> </span></form></p> <p class="MsoNormal"><span style=""> </span></body></p> <p class="MsoNormal"></html></p><p class="MsoNormal">---------------------------------------------------------------------------------------------------------
<br /></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">sub.php</p><p class="MsoNormal"><?
<br /></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"> </p><p class="MsoNormal"><span style=""> </span>if(move_uploaded_file($_FILES['fileup']['tmp_name'],"../image/p.jpg"))</p> <p class="MsoNormal"><span style=""> </span>{</p> <p class="MsoNormal"><span style=""> </span>echo "File uploaded ";</p> <p class="MsoNormal"><span style=""> </span>}</p> <p class="MsoNormal">?></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">on other side you have to use $_FILE[] it s two dimension array </p> <p class="MsoNormal">when you upload any file to server apache store it on temp location i.e. ‘($_FILES['fileup']['tmp_name']’<span style=""> </span>from their you can move that file on any location using </p> <p class="MsoNormal">‘move_uploaded_file()’ function</p> <p class="MsoNormal"><span style=""> </span></p> Pratikhttp://www.blogger.com/profile/14475339700189436691noreply@blogger.com0