Академический Документы
Профессиональный Документы
Культура Документы
CSS:
1. What is the diff between classes and ids?
Ans: Ids: Start with a # when referring. Have higher priority than classes
Classes: Start with . When referring.
2. Explain CSS sprites, and how you would implement them on a page or
site.
Ans: CSS Sprites are a means of combining multiple images into a single
image file for use on a website, to help with performance. Basically, when
the individual image files are too large, it is better for us to combine them
in a single file.
Follow UP: Have you made a sprite before? (Requires knowledge of a
photo-editing software)
JavaScript(IMP)
1. How do animations in CSS differ from that in JS performance wise?
Differ on the type of animation :
-Use CSS animations for simpler one-shot transitions, like toggling UI
element states.
-Use JavaScript animations when you want to have advanced eff ects like
bouncing, stop, pause, rewind or slow-down.
2. What is AJAX?
Javascript
AJAX sends request to the server and does not wait for the
response. It performs other operations on the page during
that time
response
downloaded
time
MVC frameworks arebackbone.js and angular.js, it's hard to not hear about
them.
There are many advantages in using these frameworks, I can point out some of
them:
BACKEND
Prerequisites: Python/NodeJs/Ruby/php
Query Languages:SQL/MongoDB
General frameworks(should know one):
Python : Django/Flask/Bottle
Ruby: Rails/Sinatra
NodeJS: Express JS
General Qs:
Ask why the language of choice and why?
-php: not secure/ slow
-ruby:not fast
-python:not fast
-nodejs: thumbs up (Y)
__________________________________
What is MVC? Model/Views/Controls : Define each of the M /V/ C
Ans: Model: Your activerecord(keyword)
Views:What you are going to see on the site
Controls: The functions that defines how the object behaves
----------------------------------------------------What Is a session?
"Session" is the term used to refer to a user's time browsing a web site. It's meant to
represent the time between their first arrival at a page in the site until the time they stop
using the site. In practice, it's impossible to know when the user is done with the site. In
most servers there's a timeout that automatically ends a session unless another page is
RESTful web-services use standard URIs and methods to make calls to the webservice.
When you request a URI, it returns the representation of an object, that you can then
perform operations upon (e.g. GET, PUT, POST, DELETE). You are not limited to picking
XML to represent data, you could pick anything really (JSON included)
JSON: JSON and XML, are functionally equivalent, and either could be chosen. XML is
thought of as being too verbose, and harder to parse, so many-a-times, data is more
adequately represented using JSON. (E.g. serialization)