My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult...

7
My Application Which RDBMS ? What kind of software? Which CMS? Which development environment/ language? How to code ?

Transcript of My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult...

Page 1: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

My Application

Which RDBMS ?

What kind of software?

Which

CMS?

Which development environment/

language?

How to code ?

Page 2: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

What kind of Application?Desktop vs Web

• Easy to develop

• Less code writing

• Difficult to look after if several users(computers) uses. Installation varies

• Platform dependent (developers view)

• Because of being stateless development takes time.

• Additional code for extra security (open to public)

• Easy to look after. • Platform

independent (developers view)

Page 3: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

Which language? ASP.NET(c#,vb,...) vs PHP

• Commercial vs Opensource– Price to pay( should worth)– Documentation(To reach books)– To reach documentation for the latest version of the language easy or difficult. – Which version to use – PHP is that it is platform independent.– PHP also runs on the open source Apache server. – ASP.Net Compiled but PHP is not.– ASP.Net can be said is restricted to Microsoft web servers(Mono-project for

linux) .– Additional components (like CKEditor=>WYSIWYG )– native driver for my RDBMS? – Adaptability of you is important. Which one you feel better?

• Ultimately, using PHP or ASP.Net is a decision of the web developers and it is also determined by the need of the clients.

• Veteran web programming experts use both the languages according to their needs.

Page 4: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

Which RDBMS?• Mysql

– There exists native drivers for famous development environments.

– free• SQL Server

– Better integration with Visual Studio Env.– Bit pricy

• Oracle– Comsumes more resources– Pricy

• Based on my design I want to use stored proc. RDBMS supports or not? What about native driver for my PL.

Page 5: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

Which CMS ?• To choose one

– http://cmsmatrix.org

• As a programmer– Opensource and commercial

• What to take into account while choosing– Documentation (books,websites, communities for help)– Ease of use– ease of expandability. (Adding modules)– Number of developers (opensource). – Underlying language php,asp.net c#, asp.net vb.

• How much I know it

• Some famous open source ones– Mojoportal,.... (ASP.NET)– Joomla, Drupal, WordPressö....... (php)

Page 6: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

CMS Advantages & Disadvantages• As a webmaster do we need a CMS(Content Management System) to start a site or go for

custom portal development?

• Advantages of CMS:– CMSs are well written software and tested by a large community of users. So you'll

not find common coding bugs and errors. (Compared with writing your own.)– Most of the CMS are easy to install.– Your site can be up and running quickly and you don't need to spend lot of time.– Most of the CMS are free nowadays. Even the paid ones cost few bucks only.– You can get any free technical support from the developers community.– CMS software’s can be migrated in different servers and most of them can work

with any database.

• Disadvantages of CMS:– For a simple and small site CMS can be very heavy.– To add or configure any existing feature you need to understand the codebase of CMS if they

don't have the plugin for this. Or You should write your own plugin(module).– Different pages of portal can't have different theme or CSS when you use CMS. (not important)– If a CMS is not available to a different technology(new version of underlying programming

language) then migrating a site is nearly impossible.– When new version of CMS releases what about the plugins that you wrote or included.

Page 7: My Application. What kind of Application? Desktop vs Web Easy to develop Less code writing Difficult to look after if several users(computers) uses. Installation.

Coding Process• Pay attention to indentations.• Instead of repeating the same code block write method(function).• Via comments explain the purpose of each user-defined (your)

method(function).• Add additional comments iff necessary so any other programmer

will be able to trace(follow) your code. • You are a team so if one fails either cover it somehow or everybody

will fail. • Use meaningful variable/object names.• Think what will your function or button click be used for, read

documentation, code/implement it and test. – No body will read for you.– There is no short way of learning a PL.– While coding every programmer is alone.– Coding is a passion not a job! – Either you love it or hate it

• but for 403 and 404 you should fall in love with it.