{"id":47,"date":"2007-08-26T23:09:10","date_gmt":"2007-08-26T17:39:10","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/2007\/08\/between-web-application-and-desktop-applications\/"},"modified":"2007-08-26T23:09:10","modified_gmt":"2007-08-26T17:39:10","slug":"between-web-application-and-desktop-applications","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2007\/08\/between-web-application-and-desktop-applications\/","title":{"rendered":"Between Web Application and Desktop Applications"},"content":{"rendered":"<p class=\"intro\">There is a distinct line between web application and desktop applications. But over the last few years, this line is becoming thinner. Due to faster internet connection and technologies like ajax, web applications are becoming much faster and more responsive. And, if you have a local web server installed, a &#8216;web&#8217; application can become desktop application.<\/p>\n<p>I have a web server(Apache), and a database server(MySQL) running at all times on my local system. Since <abbr title=\"Linux\/Apache\/MySQL\/PHP\">LAMP<\/abbr> is my preferred platform of development, if I need a new software, I will create it on LAMP. A good example of this is <a href=\"http:\/\/www.bin-co.com\/php\/programs\/apps\/nexty\/\">Nexty<\/a>. Over time, I have discovered that web application can be used as desktop applications. All you need is a web server, a database server and a browser.<\/p>\n<p>There must be some changes to the current model to make this system work. These are a few I could think of&#8230;<\/p>\n<ul>\n<li>Web Server must run as the current user. That way, you can read\/write to any file using PHP(or equivalent).<\/li>\n<li>The application must not be available over the network. Or, the web server must only accept connections from 127.0.0.1<\/li>\n<li>An installer for these kind of applications must be made.<\/li>\n<\/ul>\n<h2>Advantages<\/h2>\n<ul>\n<li><strong>Familiarity<\/strong>: People are already used to web applications &#8211; so it will be easy to switch.<\/li>\n<li><strong>User Customizable<\/strong>: Users can change the appearance of the application(user stylesheets), and to a limited extent, the functionality(GreaseMonkey).<\/li>\n<li><strong>Open Source<\/strong>: If the code is in PHP or Ruby on Rails, or anything similar, the code will be available for study or even modification.<\/li>\n<li><strong>Cross Platform<\/strong>: The same program can be installed in Windows or Linux or whatever &#8211; as long as it has a Web server.<\/li>\n<\/ul>\n<h2>Disadvantages<\/h2>\n<ul>\n<li><strong>Imaginary<\/strong>: As of yet no such system exists.<\/li>\n<li><strong>High Level<\/strong>: The system will not be able to do low level system operations.<\/li>\n<li><strong>Limited<\/strong>: There will be some very serious limitation to the application unless the current systems are modified. For example, the browser cannot read or write to the filesystem.<\/li>\n<\/ul>\n<p>I have been using some web applications as desktop applications for a while now &#8211; these include <a href=\"http:\/\/wordpress.org\/\">WordPress<\/a>(for keeping notes), <a href=\"http:\/\/www.activecollab.com\/\">activeCollab<\/a>(project management), Nexty(to do list), and Tiker(time tracker).<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>There is a distinct line between web application and desktop applications. But over the last few years, this line is becoming thinner. Due to faster <a class=\"mh-excerpt-more\" href=\"https:\/\/www.bin-co.com\/blog\/2007\/08\/between-web-application-and-desktop-applications\/\" title=\"Between Web Application and Desktop Applications\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8,18,30],"tags":[43,45,91,176,297],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-apache","category-browsers","category-opinion","category-web-development","tag-apache","tag-application","tag-desktop","tag-local","tag-web"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}