Posts

Showing posts from May, 2012

on "manifestcontentavailable" event

Even native apps have something like a preload when it comes to launch them ... and guess what happens during that time? Nothing that different from synchronizing content or looking for an update, isn't it? Same Could Be For Mobile Web Apps If you need your manifest to be loaded, in order to provide best UX ever, you might need a mechanism to be sure that everything that has to be there ... oh well, is simply there! AppCache VS Binary Well, one handy thing about the Application Cache Manifest for Web Apps is that you might update only a single part of your software. As example, if you have external libraries you might decide to serve them a part, as external or independent content from the rest of the app ... and rather than download again the whole thing, the user will update only that dependency ... I mean, this is cool but rarely used due common build processes where a single changed comma of a single file will require the whole app file update, you know what I mean? My "ma

CSS Interview Question and Answers

1. Explain in brief about the term CSS .          A stylesheet language used to describe the presentation of a document written in a markup language. Cascading Style Sheets are a big breakthrough in Web design because they allow developers to control the style and layout of multiple Web pages all at once. 2. Can CSS be used with other than HTML documents?          Yes. CSS can be used with any structured document format. e.g. XML, however, the method of linking CSS with other document types has not been decided yet. 3. Can Style Sheets and HTML stylistic elements be used in the same document?          Yes. Style Sheets will be ignored in browsers without CSS-support and HTML stylistic elements used. 4. What is CSS rule ‘at-rule’? There are two types of CSS rules: ruleset and at-rule. At-rule is a rule that applies to the whole style sheet and not to a specific selector only (like in ruleset). They all begin with the @ symbol followed by a keyword made up of letters a-z, A-Z, digits 0-9

Mysql Interview questions and answers

Image
1 :What's MySQL ?            MySQL (pronounced "my ess cue el") is an open source relational database management system (RDBMS) that uses Structured Query Language (SQL), the most popular language for adding, accessing, and processing data in a database. Because it is open source, anyone can download MySQL and tailor it to their needs in accordance with the general public license. MySQL is noted mainly for its speed, reliability, and flexibility. 2: What is DDL, DML and DCL ?          If you look at the large variety of SQL commands, they can be divided into three large subgroups. Data Definition Language deals with database schemas and descriptions of how the data should reside in the database, therefore language statements like CREATE TABLE or ALTER TABLE belong to DDL. DML deals with data manipulation, and therefore includes most common SQL statements such SELECT, INSERT, etc. Data Control Language includes commands such as GRANT, and mostly concerns with right

Rubik's Cube Analogies in IT Development World

Oh well, during my free time without laptop I came up with this talk about Rubik's Cube and Development process. I'll let you enjoy the video, hopefully ..., and leave comments here, if necessary. The big summary is: there's a lot to learn from the cube, so take this as a hint to learn how to solve it and find even more analogies on your daily basis tasks. Update if you ever wondered how I created the talk cube situation, I have simply used RGBA as clockwise or anti-clockwise approach ... if you have a solved cube, consider the Alpha as the White, and turn anti-clockwise White, Blue, Green, Red ... you'll have a quite messed up cube you can always solve easily via Red, Green, Blue, White, or you gonna solve it the way you know, the way I did, probably with 2 shortcuts in the middle I have ignored for this kind of talk.

oops interview questions and answers

1: What is Object Oriented Programming ?        It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept. These objects have responsibilities and provide services to application or other objects.   OR       Object-oriented programming is a method of programming based on a hierarchy of classes, and well-defined and cooperating objects. 2: What is a Class ?           A class describes all the attributes of objects, as well as the methods that implement the behavior of member objects. It is a comprehensive data type which represents a blue print of objects. It’s a template of object. OR           Class is a template for a set of objects that share a common structure and a common behavior.   3: What is an Object ?           It is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Objects are members of a class. Attributes and behav

php interview questions and answers for experienced

1: What is the value of $b in the following code?     $a="5 USD";     $b=10+$a;     echo $b; ?> Ans:15 2: What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?   In the get method the data made available to the action page ( where data is received ) by the URL so data can be seen in the address bar. Not advisable if you are sending login info like password etc. In the post method the data will be available as data blocks and not as query string. 3:What is GPC? G – Get P – Post C – Cookies 4: What are super global arrays? All variables that come into PHP arrive inside one of several special arrays known collectively as the superglobals. They're called superglobal because they are available everywhere in your script , even inside classes and functions. 5:Give some example for super global arrays? $GLOBALS $_GET $_POST $_SESSION $_COOKIE $_REQUEST $_ENV $_SERVER 6: What's the di

php interview qustion and answer part3

58: What is the use of “Final class” and can a final class be an abstract? The “Final” keyword is used to make the class uninheritable. So the class or it’s methods can not be overridden. final class Class1 {     // ... } class FatalClass extends Class1 {     // ... }  $out= new FatalClass(); An Abstract class will never be a final class as an abstract class must be extendable. 59: What are the two new error levels introduced in PHP5.3?       E_DEPRECATEDThe E_DEPRECATED error level is used to indicate that a function or feature has been deprecated.E_USER_DEPRECATED The E_USER_DEPRECATED level is intended for indicating deprecated features in user code, similarly to the E_USER_ERROR and E_USER_WARNING levels. 60: Where is the sessions are stored?       Sessions are stored in server side and it is accessed by a unique id which is known as the session-id where each user/visitor is assigned when they access your website. 61: How the session-id is propagated within your website? Basically,