Posts

Is jQuery a framework or a library?

I think jQuery is not a framework. It is a javascript library. And jQuery is a single library. Frameworks contain key distinguishing features that separate them from normal libraries: inversion of control - In a framework, unlike in libraries or normal user applications, the overall program's flow of control is not dictated by the caller, but by the framework. So, I think it's not a framework.

The Selectors and Their use in jQuery

A  jQuery Selector  is a function which makes  use  of expressions to find out matching elements from a DOM based on the given criteria. Simply you can say, selectors  are used to select one or more HTML elements  using jQuery . The jQuery selector enables you to find DOM elements in your web page. Most of the times you will start with selector function $() in the jQuery. The selector expression parameter specifies a pattern to match the elements. The jQuery uses CSS selector patterns  as well as its own pattern to match the elements.

The Features Provided by jQuery

jQuery is the Library of JavaScript. It is simple and easy to learn. For perform any task jQuery required less code compare to javascript. jQuery Features:- Simple and Easy -  It have predefined method using you can perform any task easily compare to JavaScript. And it is easy to learn. Lightweight -  It is very lightweight library - about 19KB in size ( Minified and gzipped ). CSS manipulation -  It have predefined css() method for manipulate style for any Html elements. Html manipulation -  The jQuery made it easy to select DOM elements, traverse them and modifying their content. Cross browser support -  It support all modern web-browser including IE-6. Event handling -  It support event handling like click mouse button. JavaScript Library -  It is JavaScript library. Ajax Support -  It support ajax, you can develop a responsive and feature-rich site using AJAX technology. Built-in Animation -  It have predefin...

Need of Web Services

There are many advantages of using web services. The main advantage over a regular HTTP  application is that it uses SOAP messaging which is much more efficient and less bandwidth costly. Another advantage is that Service Transport, XML  Messaging, Service Description, and Service Discovery layers use a standard protocol which makes it easy for developers to develop functionality irrespective of programming languages. Suppose you are a provider of a service, say weather forecast. Why make developers, go to your website , scrap  your page and then extract the data that they need? Wouldn't it be easier to develop this by web service  that a developer can pass in a date and get back a well defined XML  document containing all the info they need? The same happens for all type of cases... We use web services because: Exposing the existing function on to network: A Web service is a unit of managed code that can be remotely in...

Differences of Web Applications and Web Services

Web Applications A web application is a software application that a user runs in the web browser. It have the following features. It has a User Interface Runs in Client-Server environment Client runs it with the help of a web browser Server process the data based on client request and provide response Web Services A web service is an Application Program Interface (API) that runs on the server, which provides data to the client over HTTP through a standardized messaging system. (XML, JSON, etc...). Web services are further classified into SOAP  and REST . In the present day scenario, most services prefer REST over SOAP . Example: GitHub PayPal Facebook Twitter

Distributed systems and Distributed computing

Distributed computing  is a field of computer science that studies distributed systems . A  distributed system  is a  system  whose components are located on different networked computers, which communicate and coordinate their actions by passing messages to one another. A  distributed system  is a network that consists of autonomous computers that are connected using a  distribution  middleware. They help in sharing different resources and capabilities to provide users with a single and integrated coherent network A distributed system allows resource sharing, including software by systems connected to the network. Examples of distributed systems/applications of distributed computing: Intranets, Internet, WWW, email. The key goals of a distributed system include Transparency: Achieving the image of a single system image without concealing the details of the location, access, migration, concurrency, failure,...

Build Tools in Software Development

Build tools are programs that automate the creation of executable applications from source code(eg. .apk for android app). Building incorporates compiling, linking and packaging the code into a usable or executable form. Basically build automation is the act of scripting or automating a wide variety of tasks that software developers do in their day-to-day activities like: Downloading dependencies. Compiling source code into binary code. Packaging that binary code. Running tests. Deployment to production systems. We use build tools or build automation for, In small projects, developers will often manually invoke the build process. This is not practical for larger projects, where it is very hard to keep track of what needs to be built, in what sequence and what dependencies there are in the building process. Using an automation tool allows the build process to be more consistent. Many build tools are available to use(Some of them): Invoke Invoke is a Python (2.6...