Thursday 10 March 2011

html5 and css3 frameworks

HTML5 and CSS3 are the new vogue in the web development world.Both bring a variety of feature sets with them which  includes from animation to rounded corners to amazing effects and fonts to easy offline line capabilities.So I have included here a list of best frameworks for HTML5 and CSS3 which can make your job a whole lot easier.Even though many of the features of the above are not fully supported yet and HTML5's recommendations date(2022) is very far,the development in this field is already taking giant strides and we can see a list of browsers starting to make a move to support them already.With the inclusion of third party applications like Microsoft Silver Light,Adobe flash and pick and drop feature HTML5 is already changing the rule of the games.So lets have a look at the best frameworks available to work on these.


1)52framework

It's one of the best available framework present in the market today.It's latest version is 2.0 supporting HTML5,CSS3 plus JavaScript and a hoards of new features which include grid system,CSS reset. It supports all html5 tags, script embed along with features like text-shadow,box-shadow,rounded corners etc.More details regarding other features of the product can be obtained from 52framework


2).Less framework


  It is based on single grid containing 4 layouts and 3 sets of typography presets for designing adaptive websites.So clearly it's a great tool for building  flexible multi column website layout and its compatible with most of the browsers.It is based on the idea that we first need to set the main layout and then code for child layouts,all layout differ from each other in just terms of outer margins.since every layout is based on the same grid it renders reusability to the elements  used in one layout and allows them to use them in other layout without much change.[Less framework]

3)Sencha Touch

This is for mobile application development primarily for Android OS and iPhone.The applications developed have a native look and feel.This uses HTML5 to deliever audio and video and also provides a dummy storage for storing data offline,its more like a proxy for local storage.The framwork makes a powerful use of Javascript and CSS3 to provide a solid styling layer possible.[Sencha Touch]




4)LimeJS


It is HTML5 game framework for building fast,native experience for modern touchscreen and browsers.It automatically adjust the size of the game on the screen as per the size of the screen,no need to redefine the size of players of game with change in screen size.It is compatible for making HD as well as mobile related games.[LimeJS]

5)Sproutcore

It's another HTML5 application framework for building desktop caliber applications in any modern browser.It  actually transfers the logic of your code to the client for all the processing purpose instead of server as such reducing the load on servers and making them more responsive to handle client query once browser gets loaded.The javascript also get's executed on the client side of browser.So overall its a very good framework.
[sprout core]

6)Baseline



This framework has been built by keeping the topology in the mind.It's useful for making grid and topology of a website.It was developed initially to built a website having pleasant grid and basic typographic sort of styling.It supports font metrics also to create nice fixed layout.[Baseline]




7)Cartagen


This is the framework you go for when you want to play with the maps in your application.It lets you develop customized maps as per your need in different simple styling sheets.Since maps of such sort are used in geographical and temporal data which generally work in real time this provides facility to users to integrate real time data stream.This map based functionality is provided by this framework with the help of GSS(Geographic Style sheets) which in general is a language used to deal with styling sheets in geospatial data case.[cartagen]

8)HTML5 Canvas Element
It is not quite a user friendly and requires you to manually manage the updates.It allows for dynamic manipulation of 2D objects with the help of scripts.For these it uses bit map and does not have a build in scene graph.So it basically works on scripts which are dependent on resolution based bitmap canvas.
[canvas]





9)OpenLaszlo



It is an open source platform that uses rapid prototyping and software developments best feature to develop internet applications.With it's 4.0 version they have also provides the option of compilation for DHTML.It is customized to be suitable for out traditional web developers working on html and javascript and supports text based development.It supports LZX declarative language which is used in designing animation and flexible layouts.[open laszlo]


10)HTML5 Reset


It is a ready to use interesting package that comes with HTML5 and CSS3.It contains a rudimentary document which contains information related to structuring of HTML headers and CSS styling sheets to provide you the most basic state design in any browser.It allows you to set your standard for margins,size and other measurements.[HTML5 Reset]

11)CSS3 Action Framework


It brings all the best features of CSS3 under the single hood,hosted on a google code this framework is one to watch out for providng you with fascinating designs using features of CSS like ;hover,;active etc.Google Redesign is one of the fantastic demo of this application framework.[css3 action framework]

12)Alloy UI


This framework is a user interface web application framework which supports many API's for building web applications.This is primarily used for interface designing only to develop nice forms,supports dynamic attributes and unified styling.It just works on tags like html which are usdd in aui forms and some of their attributes.   [Alloy UI]



13)jo




It is used for mobile application development in HTML5 using javascript,it's very lightweight in nature.
It provides consistent and modular event model between objects.With the help of CSS it can handle animation and presentations to a certain extent.It basically embraces loosely typed object model of javascript and support libraries like PhoneGap.[Jo]

14)Baker ebook framework


Its an open source HTML5 framework for publishing ebook for ipad.
However to unleas its power you need to publish HTML5 pages with a fixed width of 768px.It supports audio,video and animations and is compatible with most of the browsers.[Baker]







15)RGraph


Based on HTML5 canvas library,it is used to produce various types of graph and adjusting your graph interactively with loads of other features to play with graphs.[Rgraph]



So this is a list of some of the best frameworks available today to work on HTML5 and CSS and build incredible applications for the web development.At the end I have displayed a comparative study of various frameworks in a snapshot below.



Wednesday 9 March 2011

Top 10 iPhone photography apps

With over 2000 photography applications for iPhone present in the market it becomes very difficult to select the best ones out of the lot.Applications can be primarily categorized in three categories i.e.
Applications for editing photos,Application for sharing photos and Video Applications.Each of these applications is designed to primarily have some unique feature from one of the above three categories,though we have hybrid types applications also in the market but they are still tilted to favour feature from one of the category.Now since most of the applications are tailored for category first that is for editing of photos,so the applications that I have selected in my top ten have a major number of applications coming from this category.So,the top 10 best applications for iPhone in the market are as below:-

1) Hipstamatic


The application is for sure gonna take you into the old days of analog cameras.This application has various software filters by which we can make a image look like as if it's taken from an old fashioned analog camera.The most powerful ability of this application is that it gives you power to change the camera configuration and allows you to take a photograph as per your choice.This is achieved with the help of starter lenses,flashes and film stock that comes with this 2$ application. Some of the other applications which offer similar kind of functionality more or less are Camera Bag and Lo-Mob.Both allow more finer control over the photo manipulation than Hipstamatic in terms of more lenses choice and other features but are slower in comprasion to this,so the fun part of quick snapping is really much more in case of [Hipstamatic].

2)PixelPipe

This is for social networking lovers,it directly supports over 50 social networking sites which include facebook,twitter,youtube etc.The application can directly publish photos,audio,text and files to all of the above online destinations.So its quite a great application for sharing of photographs and can be downloaded freely from the Apple Application Store.The application also supports features like geotagging for publishing on social networks.[PixelPipe].Other useful tools that comes handy for sharing of photographs include Phanfare,Kyte Producer,Twitxr.Most of these applications are free and just include a sign up at their respective application accounts.




3)Night Camera


This 1$ application is a must have for photography lovers to enable them to click a nice shot even in night and low light conditions.This tool checks for the steadiness of the phone before firing up the shutter to have clearer pictures in  nights.But sometimes if your hand is not steady the picture may become blury.The applications makes use of adjustable sensitivity to make sure you get a sharp photo even in low light conditions and once you have taken the photo you can geotag it with GPS and publish it online.A similar application to this in functionality is Darkroom which can be downloaded free of cost from itune store but obviously its not that good as this one is when it comes to comparison. [Night Camera]




4)Photocalc

Now if you are a pro in the field of photography this utility is designed for you to take the photograph in the exact fashion as you want to .The calculations which are difficult to do mentally this utility can do it for you.This utility can calculate depth of field (DoF), exposure reciprocation, and flash exposure.The application also has features like to calculate the time of sunrise based on your location and references to its different section with the help of inbuilt glossary make it easy to use.The application costs around 3$ right now and can be downloaded from the Apple itune Store.[Photocalc]



5)Tiltshiftgen

Its one of the most exciting tools available with iPhone that can be used to focus only on a part of photograph and create beautiful photographs.It is done with the help of special lens which are used for selective focus.It produces miniature like photographs of real life scenes which are manipulated to look like real world photographs.However its not a substitution for exact miniature type photography which requires costly lenses this 2$ application is here to give you all the fun of an expensive application.The application is quote cool and sometimes it produce better results when we focus on one area rather focusing on whole subject.[Tiltshiftgen].



6)Quad Camera

Quad camera is typically the only application which makes it possible to take photograph of a high motion object.It's also known as "toy camera".The application takes 4-8 serial shoots and creates one single image.The interval timing with which these images needs to be separated can also be specified.The tool usually performs good in low light conditions as well.The shots taken can be oriented in a line or two parallel rows.The application costs around 2$.[Quad camera]


7)Photogene


Its the photoshop version of your mobile which allows you to edit photos on the fly.It is more than a basic editing tool having facilities like adding text bubbles,adding frames of different shape and sizes,add special effects such as reflection in addition to basic facilities like cropping,straightening and sharpening.It also allows to set the color adjustment of the picture and tinker with the exposed or unexposed areas of the photograph.A similar functionality category application which is popular is Photoshop.com Mobile developed by Adobe for iPhones. Photo gene is a award winning application and is the largest selling photographic application,currently the cost of photogene is 2$ and is available to download from itune stores.[Photogene]



8)Pano



Pano is a third party application costing around 2.99$ which helps you to take panoramic photographs.The application is worth it's price which is reflected when we take a beautiful panaromic photographic snap using this.The application actually takes 3-4 consecutive photographic and then merge them seamleslly to produce a professional looking panoramic photograph.The other application which provides this functionality is named panorama only but I don't like it much in comparison to [Pano].

9)DSLR Remote
It is nothing but a remote for your Nikon or Canon DSLR Camera.Just connect your camera to a wifi enabled computer and you can control these from your iPhone.You can fire their shutter,view images,start video recording etc.It's used mostly in remote kind of photography but nevertheless its an interesting feature to explore.The tool currently costs around 20$ so buy this only after a lot of consideration only if you are ready to shell out more money on your phone.[DSLR Remote]

10)Still Motion

Its fairly a simple application which allows you to experiment with stop frame animation.You can take a series of images from your phone which can then be played as video using this application.Its much more like Windows Movie Maker in functionality but its very enjoyable one.We can change the frame rate for video and share the video after complete editing online on youtube,email etc.The application is marked at around 2$.[Still Motion]




So these are the some of the best photographic applications available for iPhone in the market today which can truly increase the fun and quality of your photography to next dimensions.However it can't be said with surety that these are the best ones as it depends on one's use and need but I'm sure you are going to agree on most of them at least.

Types of Photography


As we know Photography is more than just clicking the button of your camera,but we seldom know about the various categories of photography.And as a amateur or a professional photographer we favor one type of photography over other.But one thing for sure is that photography is more diverse than photo shoot of glamors models or taking breath taking photos for national geographic.So lets see what are the different categories of photography.There are at least 13 different kinds of photography.The names of these 13 types of photography are listed below:-
1)Photojournalism
2)Action/Sports Photography
3)Macro Photography
4)Glamour Photography
5)Document Photography
6)Aerial Photography
7)Art Photography
8)Underwater Photography
9) Micro photography
10)Advertising Photography
11)Wedding Photography
12)Portraiture Photography
13)Travel Photography
Each field differs from other on the basis of the objectivity of subject that needs to be captured while taking a soulful photograph.Now lets discuss the major one of them in a bit detail:-
1)Photojournalism:-This field is primarily for the professionals.The basic aim of this sort of photographer is to capture the main part of a news story in a photo.It's dedicated to taking accurate shot of the event and not even a slightest manipulation is preferable here because it aims at capturing the mood of the moment in the exact replica way.A slight tinker here and there can destroy your career in this field.A true Photojournalism attracts viewers towards it and reader should get a whole idea about the text before delving into the subject.Though these field is mainly for professionals,often we see amateurs making a place here for themselves.
2)Action/Sports Photography:-This is one of fastest growing category of photography where the photographer needs to gets his frequency matched with his subject of interest.He should know or be able to anticipate when his moose is going to make any noteworthy action.It's much like wild life photography
where we should know when tiger is going to jump on deer and when we should capture it.
3)Macro Photography:-This was once a field of high end professional photographers only because it includes taking photograph of objects from a very close distance.A good macro photography reveals details about texture and structure of the object that can't be possibly figured out in a normal photograph.The object of interest in this category were mostly insects,flowers,animals.So the photography we see in channels like Discovery or National Geography predominantly falls under this head.And this requires accurate precision and focus which comes in expensive equipments it was once restricted to professionals now with good quality digital camera available at cheaper rates amateurs are slowly entering the field.
4)Glamour Photography:-The category which enjoys most of the lime light.Fashion Photographers,portfolio shoots all fall under this head of photography.The objectivity of Glamour photography is to not make a model sensuous as people often confuse it with but it seeks to capture its subject in suggestive poses that emphasize curves and shadows. But at the end as the name suggests its all about glamour the models we see are naturally dressed to attract lime light be it in a short skirt or a sensuous pose.
5)Portraiture Photography:-It's the most primitive form of photography.The aims of this photography is to capture the personality of the object or person being photographed.The old photographs of families or simply yourself are categorized under this hood.
6)Document Photography:-Its like reciting a chapter of history with the help of images.The Document Photography is involved with documents of some historical importance and document usually signify a story of an era.
Rest all types of photography are self explanatory as such with their names however each differs from other as to what attention to detail of object is required.In some places we requires we require more light,in some we don't,in some we capture texture,in some structure.Now each of these intricacies are mastered by the experts of that category before they can be called as professionals in their line.So next time you click a photograph ask yourself to which category you actually belong.

Abstract Photography

Abstract Photography is one of the field with no definition at all,it has mesmerized photographers since the days of the invention of camera.Till date no common grounds have been achieved by different photographers and photo galleries as to what this abstract photography is all about.However to put in simple terms in abstract photography you are not concerned with the actual appearance of the object,it leaves us to imagine more and concentrate on texture,colour,form or a portion of photo rather than the whole subject.

Most of the people take it  ass modern or abstract art where the objectivity is generally the same but most people are not able to make sense from the modern art and are not able to appreciate the beauty or abstraction behind it while in case of abstraction photography its quite reverse,even normal people do get to make sort of sense out of the photo because most of the photo don't have a defined subject so the curious human mind is able to make some sort of subject out of a photo and say "what's this,this looks great" and this is what drives our abstract photographers who are able to isolate the beauty of a portion of the subject and then objectify it to a greater extent.

Primarily abstract photography can be divided into three categories:-
1)Abstraction of the whole Photo:-In this you look at the object as a whole and you try to first figure out the basic message or subject of the photo.However abstraction comes into existence when you look beyond the subject and try to realize the other dimensions of the object and capture that part of abstraction which is clearly visible in the photographic subject matter.
2)Abstraction of the part of the photo:-In this you concentrate on a part of the photo that has got a artistic value of its own.You are able to capture the intrinsic or hidden beauty of a portion of photo by removing all the portions of the object or in other words scrapping up the other details of the photograph.
3)Abstraction within photo:-Sometimes you see weird objects and looking at them for sometime you start feeling they actually make some sort of real world object like a shape of cloud suddenly making some sense.This is what you capture in this category of abstraction photography.

Now if you look at a photo and say what does this photo actually mean,you are asking the wrong question because most of the photographers don't take photographs with the intention of any particular meaning instead they try to capture the beauty trying to balance the colour harmony,new texture which overall brings a new sense of charm in itself and our mind begins to feel soothed.Most of the abstract photographers tinker with the colour part of the photographs mixing them in a unusual manner to produce the desired effect.Now a days with the use of new technology and many special type of filters available photographers are able to separate the colors of photographs in a rainbow fashion.Thats why we see a photograph of a beautiful girl half as black and white and half coloured with  just the right amount of sunshine on her.This is just a example of abstract photography.

Just making pretty photographs isn't the aim all the times,Aesthetic boundaries are broken down without necessarily being rebuilt,however others tinker with photograph to make it abstract in the way they want it to.
Now the subjectivity of a photograph is entirely dependent on the user,what may seem to be a perfect photograph to someone may  not convey a meaning at all to some,thats why there is a tremendous variety in the field of abstract photography.So those are masters of this field bring in a lot of imagination and creativity in the process and again set the new benchmarks in the process of experimentation and stretching the boundaries of photography.

Some of the examples of the abstract photography I have displayed below.




Brief guide to Landlord Insurance

A person puts in the savings of his lifetime when he goes about investing in property.The household goods and personal belongings represents many years of financial and emotional investment over the time that you make for your dreams to come true.So it becomes our duty that to make sure that we have covered all the risk factors to safeguard our life time's biggest investment.Landlord Insurance is one such important thing that you need to have to insure that you have safeguarded your property.Whether you are a professional builder who invests huge amount in real estate or a normal person who has just rented his second property to provide support to his income you both have one thing in common you need a Landlord Insurance policy,since just because you now don't live in that place doesn't mean it's not yours now it's the fruit of your entire life's hard work.

Landlord Insurance Policy aims to cover landlords or property owners financial losses at times when they are not able to use their property to earn income.Now there can be a number of circumstances when a landlord is not able to utilize his rented property.Some of them can be dispute between landlord and tenant,property gets damaged to an extent that it's not possible anymore to in habitat that building.In such cases what you need isLandlord Insurance.However, before going to buy it you must carefully read it to make sure that it is comprehensive enough to cover you against most of the odd situations.

A normal Landlord Insurance would safeguard your interest against perils like natural disasters which include earthquake,lighting,flood,storm,fire etc.Most of them include coverage against theft of belongings to landlord and any malicious damage done to the premises of the building.However each policy differs in its coverage some cover only exterior of the building some only interiors and also policy mentions the things that can be taken under coverage in case of any damage so please read the offer document carefully before choosing anyone.Now if you want your policy to be more exhaustive one you can include your policy to have coverage for legal expenses to pursue legal case for damages and other things against tenants who have breached their tenancy agreements.Other things that can be included in a Landlord Insurance are optional coverage to accidental damages,terrorism,liability insurance,insurance to libel which means an attempt to degrade your public reputation or discrimination practices.So more options you wanna include in your coverage you can but obviously you then need to pay the premium according to that only so just be more cautious when you go to buy a comprehensive insurance or one which just list down things covered.

Now this Landlord Insurance works like just other policies.They give you two options to cover your assets,one is actual cash value and the other one is the replacement value.Now most of the people go for settlement by actual cash value settlement because it generally amounts to low premium values for the landlords.When a landlord goes for a claim against some damage covered under the policy the company first subtracts the depreciation cost from the current market price of the property and accordingly compensate the landlord so this generally accounts for low premium.However if you opt for replacement value in your Landlord Insurance Policy then company bears the cost of once refurbishment of the damaged property.Again it depends what all things are covered under the replacement contract otherwise by default it is settlement against cash value.However if it comes under replacement value part only no depreciation is considered by the companies and they around with actual market price.

Now if you want to lower the burden on your pocket regarding your yearly premium for aLandlord Insurance policy you can avail a feature called as deductible offered by the companies in which landlord agrees to a amount of money which he/she would bear in case of any damage to the property.More is the deductible part you go for more heavier discounts you are bound to receive but again that thing basically is decreasing the coverage from insurer so wisely choose the part that you want to pay under deductible.

Another thing to keep in mind here is that many people think there property is covered under Home insurance which is not true.Home insurance policies are not valid if you are earning from your property so you need a separate Landlord Insurance.There are number of other policies available in the market some of which are Landlord Liability Insurance,Landlord Property Insurance,Landlord Rental Insurance etc.Each one concentrating on the specific feature as the name suggest which you can include in your comprehensive Landlord Insurance Policy.

So Landlord Insurance is not something which you must have legally but its a precautionary measure that you must take to protect your future and investments because no matter how good a tenant is he is never going to care about your property you feel about it so it becomes your responsibility to cover your assets properly so you don't have to look here and there in turbulent times. 

How to configure send Mail or smtp in AIX

In this post I am going to explain how to configure a mail server in AIX because several times we need to receive mails from a server on completion of some script or for mailing regular reports about health of server to our mailbox.However I am gonna assume here that your mailbox is allowed to receive mail from the mail server and there is no issue of firewall and all.In such a case it's very simple.
1)Ping the mail server first of all to check there is no connectivity issue in between and the mail server and our server can talk to each other i.e if you want to configure mail server abc or smtp on server named xyz then first of all issue ping abc from server xyz aftrer loging into it to check for proper connectivity between two.
2)If step goes successful then we can move forward else you need to check with your networking team.Now open file /etc/sendmail.cf i.e vi /etc/sendmail.cf
3)In this file go to escape mode and search for pattern DS by pressing escape key and then enter /DS and again followed by enter.
4)Now After hitting enter once above press n to move to next occurrence in the file for the pattern.You will find something like DS only as written there.
5)Now put the name of the mail server after this DS like if our mail server here is abc then insert the entry like DSabc and save and exit.
6)Now we need to refresh the send mail daemon(thread).
7)So First check for the current condition of sendmail thread by
lssrc -s sendmail,it should display the state for the thread as active.
8)Refresh the daemon by
refresh -s sendmail
9)This completes your mail server installation,so now check by dropping a dummy mail to your mailbox.
10)You can send a dummy mail by following command.
mail -s "SYSTEM REPORT" -r abc.com mymailbox@asd.com < /etc/motd
where system report denotes subject of mail,abc.com denotes name of sender, mymailbox@asd.com denotes name of recipient and /etc/motd denotes matter of email.Refresh your mailbox to receive it.

This is a standard method to configure mail server in a company environment when mail server and our server are in customized domain.

ControlM Enterprise Server and Control Agent Processes

 In this post I am just going to mention about the process of ControlM EM server and controlM agent which should be up for a healthy system.So if you wanna check if your system is running fine just make sure each of these process is up.So first let see ControlM EM server.
EM server has 7 components ,each component has got a process associated with it.If process related to that component is running that means that component is running.

1)GUI Server Process--ecs.guisrv
2)Global Alert Server---ecs.gasrv -name <controlM EM server name>
3)Global Condition Server--ecs.gcsrv
4)Gateway Server--ecs.gtw -DC <Datacentre Name> which means basically controlM server name the output of which needs to be displayed by it.
5)Administrative Agent--ecs.maintag.
It is the first process to run and bring other process up as required.
6)Database:- Database process can be greped to check to check if database is running.

To start all components of EM directly go to home directory of EM server user and then go to scripts folder i.e go to %homedir/scripts and issue
./start-all for starting all components and
./stop-all for stopping all the components.
Now as far as Control M agent is concerned there are two process running in agent one is Tracker and other one is called as Listener.The tracker process name is p_ctmat while the name of the process for listener is p_ctmag.However in newer versions only listener process exists no tracker process is there.
There is also a third process called as p_ctmar(for routing purpose) but its a limited one.

So if both server and agent are installed on one machine then
ps -ef | grep -i p_ctm would display all process for servers as well as agent.
Another intresting thing to note is agent process are run by root not agent user unlike the case with EM server and  controlM server where there user is able to run these process here we need root priviliges for executing these.start-ag and shut-ag are the commands used to start and stop agent respectively.

So these are all the processes that needs to keep running on EM server and agent for them to keep running.Each of these process can be grep in UNIX boxes to see their PID and status.