Yes, it’s Google. The remarkable thing, really, is that Google tend to implement all of these things really rather well.
I have a feeling there’s some more applications to come…
Configuring IIS 6.0 to test web pages using SSL
Generate certificate from IIS
Verifying the certificate
After you have verified your certificate with a verifying site(I have done with comodo.com), the requesting authority will generate a certificate file with extension .crt. Now you have to install that certificate generated by the verifying authority over IIS.
Follow step 1 to 6.
1. Check ‘Process the pending request and install the certificate’ and click next.
2. Browse the certificate file with extension .crt generated by verifying authority and click next.
3. Click Finish.
Configuring the site to enable SSL
Now you have to configure your site to use SSL
To configure follow the following steps
Note: It's also possible that you might not wish to protect the entire website, but merely one or two pages within the large website. In fact, this scenario is highly probable for most site operators that would only like to protect a couple or important pages, such as an online store or registration form. In that case you do NOT need to SSL-protect the entire site, so do NOT right-click the entire site. Right click only the directory or pages within the site.
Now If you run your site using http it will give error.
You can run your site using https. It means your site is using secure socket layer.
Ext Js
Ext js is a cross browser JavaScript library for building rich internet application. You can build a high performance user interface with easy to use API. Its object-oriented design patterns influence the relationship and interactions between objects
Creating a application using Ext 2.0
While creating a application there should always be a directory structure. There is a Document Root directory in the server and all other folder relative to it.
Recommended directory structure
./CSS (optionally link)
./ext (link)
./img (link)
./js
Index.html
Link means a link pointing to a real directory where files are stored.
The advantage is that if you have new version of ext or some other files you have to change just the link to point there without changing anything in your application.
index.html
index.html should link defined in the head sestion for following css and javascript file
./ext/resources/css/ext-all.css
./css/application.css
./ext/adapter/ext/ext-Base.js
./ext/ext-all-debug.js
./application.js
Index.html has all the link defined for css file and javascript file that is required to built a ext application.
ext-all-debug.js include the entire Ext framework. Use ext-all-debug.js for development and ext-all.js for production purpose.
Js/application.js
Ext.BLANK_IMAGE_URL = './ext/resources/images/default/s.gif';
Ext.ns('Application');
// application main entry point
Ext.onReady(function() {
//code here
});
css/application.css
This file will contain all css stylesheet.
Using Pre-configured classes
The best approach to write a Ext application is to write extension classes of Ext component that have all configuration option.You have to just pass the configuration object for that.
An example for creating a panel to be used as an application window.
//application.js
var win = new Ext.Window({
title:'Personnel'
,widht:600
,height:400
,items:{xtype:'personnelgrid'}
});
win.show();
Organizing pre-configured calsses
The above code create a javascript object .It should be written in a seprate file(/js/filename.js) and included in index.html as
Production system
For production purpose you do not require debug version of Ext library.
Include
Files that has been used from ExtJs site for creating demo
· Js/ext-all.js
· Js/ext-base.js
· Css/ext-all.css
Creating a ExtJs Grid Demo
Steps and method that to create Grid Demo define in js/Paging.js are following:
1. First we need to create a Datastore from which the grid is attached and access the record.Datastore fetch record from XML orJson source.
Datastore is created using method
Var objectDataSore = new Ext.data.Store();
In this method specify
1.url of the file to connect to database.
2.Json or XML source.
3.Other things like sorting etc.
Columnmodel can de define as
Var objectColumnmodel=new Ext.grid.columnmodel()
3.Pass the grid Datastore and columnmodel.
ds: objectDataSore,
cm: objectColumnmodel
}); We can also define the columnmodel while creating object of Grid Panel instead of defining in column model.
Grid.render();
5.Load in the data from our data store
objectDataSore.load();
Source code for HTMl file: index.html
Source code for javascript file: application.js
Source code for aspx file: dbaccess.aspx