Friday, February 21, 2014

HTML 5 / CSS3 Questions and Answers


New and basic in HTML5 & CSS3

Hi,

Lastly I was going through HTML5 and CSS3 and found few basic and good thing.

The thing which I was working for long, without knowing their official name and sometimes clear impact.

Trying to share the same with all  in question and Answer patter J

 

Think whole HTML page as word Document, use
 

Q : What is section, article and aside?

Ans: All three are new HTML5 tags created for keeping similar items grouped in more logical way.

can replaces overuse of

the same purpose as article inside section.


Q: What is orderd, unordered , definition list?

Ans: unordered
    , ordered
      , definition

Q: What is reset Style sheet?

Ans: It erases all the style applied to a page and give designer to apply his style from scratch.

Example :  in start of page write –

Html,body,table,div,span,object,iframe…etc

Without anystyle with them they are resetting page with 0 style.

Q: Some example of CSS selectors?

Ans: Id selector (getElementByID()), class selector, child selector, sibling selector etc.

Q: What is document Flow?

Ans:  It is a system by which renderer (like browser) renders pieces of visible content on screen so that they flow one after another in predictable way.

Q: What is CSS Box Model?

Ans: A simple rectangular box which makes visible box on screen, not only but many more things like text also makes css box model. Display : block or display : none is example. It can be defined as –

·         Content area

·         Border area

·         Padding area

·         Margin area

Q: What is @Media Query?

Ans : lets developer to specify device specific properties, so for table that section will render and for phone another, No more dependency on ‘useragent’ to find out the type of browser.

@media scree and (max-width: 520px)

{

//mention your phone style here

}

Q: What is anonymous function in JavaScript?

Ans : function who does not have assigned name and can be used as return from another function,as call back function, self invoking function.

Function()

{

//code

}

Q: What is self-invoking function?

Ans: The function that are executed as soon as they defined.

Function ()

{

}();

This is important from safety of global variable as they can be accessed and overridden by any function .

Q : What is web storage?

Ans : 2 types of web storage – sessionStorage and localStorage.

 
Keep upgrading !!

Wednesday, February 12, 2014

SharePoint / microsoft Online teamsite developers Problem

Hi,
Got chance to work on SharePoint online Team site. Trying to summarize the first hand problems I faced -

  1. Correlation ID is of no use - as it is generated on server and server is not in your control.
  2. ULS viewer - no use, developer has no access to server.
  3. Cross Site publishing feature not available on team site also publishing feature depends on other features which needs web level scope.
  4.  Designer is a way to customize until developer is allowed to do so. (but at page level :))
  5. I couldn't find a simple way for backup and restore without shelling out money. [MSFT normally backup in 15 days and once your back up is restored your recent data is gone, go to 3rd party and shell out money]
  6. learn good javascript.
Will keep blog few more findings later.

keep coding!!
 

Thursday, January 23, 2014

Passed 70-332

with all my multiple IDs problems, finally able to complete 70-332 (SharePoint 2013 advanced solution ).

I really appreciate the help offered by prometric and MCP help line on sorting my IDs.

 

Friday, December 13, 2013

70-332 (advanced Soltuion of Microsoft Sharepoint Server 2013) - Part1


My notes when reading from “Michael Doyle” book –

Thanks Michael for writing such a nice book.

Below are some points which I want to remember always J . Plan is to write such point from each chapter. I hope it will help others.

Recovery time Objective - > uptime of server.

·         99.9% -> 8.76 hours in year

·         99.99% -> 53 minute in year

·         99.999%-> 6minute in year

 

Recovery Point Object- > calculation of RPO depends on-

·         Amount of data lost

·         Cost to the company of lost data

·         Cost to the company for the time to recover data.

SQL server mirror - > As per TechNet this feature is going to be removed from future version , plan to use “AlwaysOn Availability group “.Mirroring is implemented on a per-database basis and works only with databases that use the full recovery model.

 

Database mirroring maintains two copies of a single database that must reside on different server instances of SQL Server Database Engine. Typically, these server instances reside on computers in different locations. Starting database mirroring on a database, initiates a relationship, known as a database mirroring session, between these server instances. Database mirroring involves redoing every insert, update, and delete operation that occurs on the principal database onto the mirror database as quickly as possible. Redoing is accomplished by sending a stream of active transaction log records to the mirror server, which applies log records to the mirror database, in sequence, as quickly as possible. Unlike replication, which works at the logical level, database mirroring works at the level of the physical log record. Beginning in SQL Server 2008, the principal server compresses the stream of transaction log records before sending it to the mirror server.

Sql Server Clustering : two or more SQl Server node that act as a single Sql server instance. A Sql server cluster contains –

·         A network name for cluster instance.

·         One or more IP address for cluster instance.

·         A combination of one or more disk.

·         At least one sql server with one SQL server Agent, Full text search service.

·         Registry key for checkpoints across nodes and dlls for failover process.

AlwaysOn [SQL server 2012]: Database mirroring +

A database can use either “AlwaysOn” or Database mirroring, not both.

SQL server log Shipping : SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate secondary server instances. Log Shipping can be combined with DB mirroring.

Log Shipping versus Database Mirroring –

1.       Infinite number of receivers in case of log shipping.

2.       Failover is always manual.

3.       Failover duration is slow as compared to database mirroring.

4.       Log shipping use both committed and uncommitted transactions, db mirroring just use committed transactions.

SAN [Storage Area Network]: set of disk and tape can be viewed as single entity. Accessed at file block level.

RAID Redundant Array of inexpensive Disk

RAID 0 : disk stripping as writes blocks of data across disks.

RAID 1: Disk Mirroring, requires two disk, every bit is written over two disks.

RAID 5: data stripping with parity. Data is written over 3 disks.

RAID 10: equivalent to RAID 0 +1. Two sets of disk each with RAID 0 configuration.

Wednesday, September 4, 2013

Scorecard Marketplace – A Reference Model to Deliver Dashboards on Tablets

Hi,
Its nice to be here again :). Finally I  am back to my routine looks like  :d

Want to share great news, my second paper got published .!!

It is something from windows8. which I was working lastly-- here you go

Scorecard Marketplace – A Reference Model to Deliver Dashboards on Tablets

Ruchi