Where should I use XML
Its goal is to enable generic SGML to be served, received, and
processed on the Web in the way that is now possible with HTML.
XML has been designed for ease of implementation and for interoperability
with both SGML and HTML.
Despite early attempts, browsers never allowed other SGML, only
HTML (although there were plugins), and they allowed it (even encouraged
it) to be corrupted or broken, which held development back for over
a decade by making it impossible to program for it reliably. XML
fixes that by making it compulsory to stick to the rules, and by
making the rules much simpler than SGML.
But XML is not just for Web pages: in fact it’s very rarely used
for Web pages on its own because browsers still don’t provide reliable
support for formatting and transforming it. Common uses for XML
include:
Information identification because you can define your own markup,
you can define meaningful names for all your information items.
Information storage because XML is portable and non-proprietary,
it can be used to store textual information across any platform.
Because it is backed by an international standard, it will remain
accessible and processable as a data format. Information structure
XML can therefore be used to store and identify any kind of (hierarchical)
information structure, especially for long, deep, or complex document
sets or data sources, making it ideal for an information-management
back-end to serving the Web. This is its most common Web application,
with a transformation system to serve it as HTML until such time
as browsers are able to handle XML consistently. Publishing the
original goal of XML as defined in the quotation at the start of
this section. Combining the three previous topics (identity, storage,
structure) means it is possible to get all the benefits of robust
document management and control (with XML) and publish to the Web
(as HTML) as well as to paper (as PDF) and to other formats (eg
Braille, Audio, etc) from a single source document by using the
appropriate stylesheets. Messaging and data transfer XML is also
very heavily used for enclosing or encapsulating information in
order to pass it between different computing systems which would
otherwise be unable to communicate. By providing a lingua franca
for data identity and structure, it provides a common envelope for
inter-process communication (messaging). Web services Building on
all of these, as well as its use in browsers, machine-processable
data can be exchanged between consenting systems, where before it
was only comprehensible by humans (HTML). Weather services, e-commerce
sites, blog newsfeeds, AJaX sites, and thousands of other data-exchange
services use XML for data management and transmission, and the web
browser for display and interaction.
What are design patterns
Design patterns are documented tried and tested solutions for recurring problems in a given context. So basically you have a problem context and the proposed solution for the same. Design patterns existed in some or other form right from the inception stage of software development. Let’s say if you want to implement a sorting algorithm the first thing comes to mind is bubble sort. So the problem is sorting and solution is bubble sort. Same holds true for design patterns.
There are three basic classifications of patterns Creational, Structural, and Behavioral patterns.
Creational Patterns
• Abstract Factory:- Creates an instance of several families of classes
• Builder: - Separates object construction from its representation
• Factory Method:- Creates an instance of several derived classes
• Prototype:- A fully initialized instance to be copied or cloned
• Singleton:- A class in which only a single instance can exist
Note: - The best way to remember Creational pattern is by ABFPS (Abraham Became First President of States).
Structural Patterns
• Adapter:-Match interfaces of different classes.
• Bridge:-Separates an object’s abstraction from its implementation.
• Composite:-A tree structure of simple and composite objects.
• Decorator:-Add responsibilities to objects dynamically.
• Façade:-A single class that represents an entire subsystem.
• Flyweight:-A fine-grained instance used for efficient sharing.
• Proxy:-An object representing another object.
Note : To remember structural pattern best is (ABCDFFP)
Behavioral Patterns
• Mediator
efines simplified communication between classes.
• Memento:-Capture and restore an object's internal state.
• Interpreter:- A way to include language elements in a program.
• Iterator:-Sequentially access the elements of a collection.
• Chain of Resp: - A way of passing a request between a chain of objects.
• Command:-Encapsulate a command request as an object.
• State:-Alter an object's behavior when its state changes.
• Strategy:-Encapsulates an algorithm inside a class.
• Observer: - A way of notifying change to a number of classes.
• Template Method
efer the exact steps of an algorithm to a subclass.
• Visitor
efines a new operation to a class without change.
Interview Questions: Which are the three main categories of design patterns?
Creational Patterns
• Abstract Factory:- Creates an instance of several families of classes
• Builder: - Separates object construction from its representation
• Factory Method:- Creates an instance of several derived classes
• Prototype:- A fully initialized instance to be copied or cloned
• Singleton:- A class in which only a single instance can exist
Note: - The best way to remember Creational pattern is by remembering ABFPS (Abraham Became First President of States).
Structural Patterns
• Adapter:-Match interfaces of different classes .
• Bridge:-Separates an object’s abstraction from its implementation.
• Composite:-A tree structure of simple and composite objects.
• Decorator:-Add responsibilities to objects dynamically.
• Façade:-A single class that represents an entire subsystem.
• Flyweight:-A fine-grained instance used for efficient sharing.
• Proxy:-An object representing another object.
Note : To remember structural pattern best is (ABCDFFP)
Behavioral Patterns
• Mediator
efines simplified communication between classes.
• Memento:-Capture and restore an object's internal state.
• Interpreter:- A way to include language elements in a program.
• Iterator:-Sequentially access the elements of a collection.
• Chain of Resp: - A way of passing a request between a chain of objects.
• Command:-Encapsulate a command request as an object.
• State:-Alter an object's behavior when its state changes.
• Strategy:-Encapsulates an algorithm inside a class.
• Observer: - A way of notifying change to a number of classes.
• Template Method
efer the exact steps of an algorithm to a subclass.
• Visitor
efines a new operation to a class without change.
Interview Thank You Letters
Make sure you have the correct names, titles and contact details of the person or people who interviewed you.
Write individual letters to each person who interviewed you, keeping the essentials the same but briefly personalizing each one. You can also include anyone who helped you with setting up the interview.
Send the thank you letter within 24 hours of the job interview. Find out the best way to reach the recipient- e-mail, post, hand delivery etc. You can get this information from the receptionist or human resources. The faster the letter gets to its destination the greater the chance of creating a positive impression. You can use an express postal service rather than regular mail to ensure speedy delivery.
If you are concerned about the time the post may take you can e-mail a short, simple thank-you message and follow up with a more formal letter in the post. E-mailing your thanks is usually not as impressive as a formal, posted letter. However, if the company tends to do business by e-mail and if most of your contact has been through e-mail, then it is probably an acceptable form of communication. Faxing should be a last resort.
Hand-write the letter only if you have legible handwriting. Typing and signing the thank you letter is usually a better option. Use good quality paper and envelopes. Avoid colored stationary - it looks unprofessional. If you have letterhead stationary use it.
Spell check and proof read all your correspondence. You can also ask someone else to proof it for you. That way you will be sure it's all correct. Spelling and grammatical errors are the easiest way to make a bad impression.
Thank You Letter Tips
It's always important to say thank you after a job interview and after a second interview, as well. It's also important to thank everyone you interviewed with and everyone who assisted with your job search. Here are some tips on who you should thank and the best way to thank them.
Short and Simple - Keep your thank you letters short and simple, but, do use the letter to reiterate your interest in the job, your enthusiasm for the company and to sell yourself as the ideal candidate.
Proof Your Letter - Spell check and proof your thank you letter. Then ask someone else to proof it for you. That way you will be sure it's perfect.
More Employment Thank You Letters - In addition to thanking your interviewers, thank everyone else who assists with your job search, including references, people who refer you to a job opening and any other employment contacts whose help you have appreciated and who you want to develop a good relationship with.
What You Didn't Say - If there was something that you wish you had mentioned during the interview, here's your chance to say it by including it in your thank you letter.
Thank You Letter Basics - Thank you letters can be handwritten, typed or sent via email. Each thank you letter should include a thank you for the interview, your interest in the jobs, your qualifications and skills, and a final thank you.
Make an Impression - According to the York Technical Institute less than 4% of applicants send thank you notes, so, use your letter as a way to stand out from the crowd and make a good impression.
Tough interview question: How would others describe you?
You should always be asking for feedback from your colleagues and supervisors in order to gauge your performance; this way, you can honestly answer the question based on their comments. Keep track of the feedback to be able to give to an employer, if asked. Doing so will also help you identify strengths and weaknesses.
Suggested answer: "My former colleagues have said that I'm easy to do business with and that I always hit the ground running with new projects. I have more specific feedback with me, if you'd like to take a look at it."
Military Job Interviews Tips
If you are looking for military job interviews tips, then here are some important tips for you to make most out of your job interview.
- The most important thing to keep in mind is that you must have strong decision making power. This is something without which you will never be able to secure a military job. Although it depends on the nature of the job, but, strong personality is something that will always give you some additional marks.
- In a job interview, the way you communicate with others says a lot about your personality. So, do keep an eye on this aspect while giving an interview. It however is important to mention that because of the nature of different jobs, the emphasis will shift on factors other than communication. For instance, if you are looking for transportation job in military, then you will be asked questions to know your skill level. In fact, one of the most important military job interviews tips is that you must make your interviewer to talk about your plus points.
- While going for a military job, you must ensure that you fulfill all requirements mentioned in the job advertisement.
- For military jobs, you will have to convince interviewer that you have the skill to carry out the duties assigned to you. Here, it is always better to come after completing your homework because of which you will be able to communicate with interviewer in a better way. This will also help you to talk more deeply over the specific duties that are associated with your job position.
These are few of the tips that you will help you to perform in a better way while giving an interview for military job. These are the specific things to understand but not to mention that basics must also be considered as your appearance matters a lot.