- Light Weight Component
- Support CSS 1-3 selectors
- Support cross-browser
Scalable Vector Graphics (SVG) is a XML based language for describing 2D (two dimension) graphics, both static and dynamic.
SVG is an open standard developed by W3C (World Wide Web Consortium). Since the SVG images are defined in XML, they can be searched, indexed, compressed. SVG images can be edited using any text editors.
All major web browsers except Internet Explorer supports and renders the SVG images. Internet Explorer needs a plugin for rendering SVG images.
SVG allows 3 types of graphics:
1. Vector Graphics
2. Raster Graphics
A typical SVG image’s xml look like
<?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke-width="10" fill-opacity="0.4" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161" transform="translate(-350,-200) scale(2) rotate(10)" /> </svg>
and its Image output
Reduce network traffic: You have to send the SQL statement across the network. With sprocs, you can execute SQL in batches, which is also more efficient.
Caching query plan: The first time the stored procedure is executed, SQL Server creates an execution plan, which is cached for reuse. This is particularly performant for small queries run frequently.
Ability to use output parameters: If you send inline SQL that returns one row, you can only get back a recordset. With stored procedures you can get them back as output parameters, which is considerably faster.
Permissions: When you send inline SQL, you have to grant permissions on the table(s) to the user, which is granting much more access than merely granting permission to execute a stored procedure
Separation of logic: Remove the SQL-generating code and segregate it in the database.
Ability to edit without recompiling: This can be controversial. You can edit the SQL in a sproc without having to recompile the application.
Find where a table is used: With stored procedures, if you want to find all SQL statements referencing a particular table, you can export the stored procedure code and search it. This is much easier than trying to find it in code.
Optimization: It’s easier for a DBA to optimize the SQL and tune the database when stored procedures are used. It’s easier to find missing indexes and such.
SQL injection attacks: Properly written inline SQL can defend against attacks, but stored procedures are better for this protection.
The iBATIS Data Mapper makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest advantage of the iBATIS Data Mapper over object relational mapping tools.
The iBatis framework is a lightweight data mapping framework and persistence API that can be used to quickly leverage a legacy database schema to generate a database persistence layer for your Java application. A set of XML encoded SQL Map files–one for each database table–holds SQL templates that are executed as prepared statements and map the expected results to Java domain classes. From application code, a layer of iBatis Data Access Objects (DAO) acts as the API that executes the SQL Map templates and assigns the results to the corresponding Java domain classes.
To enable communication among DAO layers and Sql Map layers, an XML configuration file describes each DAO interface and implementation class, as well as the location of a second XML configuration file that in turn points to each SQL Map file and contains the database connection information.
Linked list is one of the fundamental concepts in the data structure. It consists of a set of nodes, each containing a ‘data’ field and one or two references (pointing to adjacent nodes). It is a self referential datatype since it contains reference(s) of the adjacent (next or previous) datum of the same type.
Advantage of linked list compared to conventional array are
- Insertions and deletions of nodes can be done at anywhere in the list.
- List size can be increased and decreased in runtime.
- Order of the linked items can be different from how it is stored in memory or disk, thus allowing the list of items to be traversed in different order.
Types of linked lists exist are Singly linked list, Doubly linked list and Circular linked list.
A delegate is a type that references a method.Once a delegate is assigned a method, it behaves exactly like that method. The delegate method can be used like any other method,with parameters and a return value.
Any method that matches the delegate’s signature,which consists of the return type and parameters,can be assigned to the delegate.
Delegates allow methods to be passed as parameters.It can be used to define callback methods.
A data source object (DSO) is a Microsoft ActiveX object embedded within a Web page. It employs a process called data binding, in which an ActiveXControl communicates directly with another Web page, or with an external XML source.
In order to take advantage of DSOs, it is necessary to have Internet Explorer version 4.0 or later. Web developers commonly create their own DSOs. For example, an animated weather radar image from the National Hurricane Center can be displayed continuously on the home page of a municipal civil defense department, without the need for clicking on a link to get to the National Hurricane Center site.
Data source objects are sometimes used for the purpose of implementing This type of intrusion shows up on spyware detection programs as a DSO exploit. Such spyware can be difficult to eradicate, and if it is successfully removed, it often returns.
ASP.NET view state is the technique used by an ASP.NET Web page to persist
changes to the state of a Web Form across postbacks.That is when a form is submitted in ASP .NET, the form reappears in the browser window together with all form values.
The ViewState indicates the status of the page when submitted to the server. The status is defined through a hidden field placed on each page with a <form runat=”server”> control.
Hidden field placed on each page would be something as this
< input type=”hidden” name=”__VIEWSTATE” value=”CEbzzzEnmmz+Bc8IDFlnpgCLJ/HB00.” >
Maintaining the ViewState is the default setting for ASP.NET Web Forms. If you want to NOT maintain the ViewState, include the directive l%@ Page EnableViewState=”false” %> at the top of an .aspx page or add the attribute EnableViewState=”false” to any control.
CakePHP is a free, open source, rapid development framework written in PHP. A structure of libraries, classes and run-time infrastructure for programmers creating web applications inspired originally by Ruby on Rails framework. The primary goal is to enable you to work in a structured and rapid manner–without loss of flexibility.