Wednesday, 5 June 2013

Programming Languages: ASP vs PHP

Assalamualaikum..w.b.t..

Hye everyone.. Sorry sbb lambat update blog ni, time was running very fast, terlalu cepat.. Pejam celik dah abis semua chapter. Memula learn about flash yg sgt mengujakan coz mmg xpernah ade experience guna flash..just has a bit experince using micromedia director 8 je dulu..itu pon time my diploma.. Now saya nak update info about ASP and PHP...

Ok, firstly, from my view, ASP and PHP are both programming languages are used in very large web applications and large successful web sites. there are not like other usual static web pages, these both are more dynamic and easier the users to interact and exchange information using website's database.

ASP (Active Server Pages) uses server-side scripting to dynamically produce web pages that are not effected by the type of browser the web site visitor is using. The default scripting languages used for writing ASP is VBScript,although you can use other scripting languages like JScript (Microsoft's version of JavaScript). it always runs only in windows (can also run on Linux but not supported by many host and not so compatible).

PHP (Hypertext Preprocessor) is an HTMLembedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP specific features thrown in. the language is to allow web developers to write dynamically generated pages quickly.

PHP runs on both Linux and windows server. So its clear that ASP is most expensive to run coz we need window server and then IIS .. even though IIS is free but window server cost much more. ASP supports all databases but its best run with Microsoft access alongside Internet Information Server. If your application requires more users and more constant hit then ASP is better coz you can useMS-SQL which is far better than MySQL. But if you have fewer users then you can also use access with ASP but the main problem with access is, it cant handle more concurrent hits and crashes most of the time. ASP doesn’t runs well with MySQL, you may get problems on paging .

PHP runs best with  MySQL, and also supportMS-SQL. Best part of MySQL with PHP is its more versatile and easy in compare to ASP with MS-SQL.  MySQL is simple and easy to use while MS-SQL is more complex.

Both ASP and PHP language programming is easy on both side. PHP is more c/c++ style programming and ASP is more like Visual Basic style programming. As per the online resources is concern you will get PHP recourses more than ASP. With PHP you can also easily work on server related programming. But in ASP its very hard to work on server side manipulation and you need special permission to do that from admin. Many Window server provider dont give you advance access that you need to work for ASP program like folder permission, root parent path enable e.t.c while in PHP you can do it easy with FTP command.

Many add-ons for PHP are free ( if hosted on Linux). but with ASP you need to pay for almost everything like mail component, FTP component, image upload component e.t.c
 
By the way,there are some issue about whether ASP or PHP is a better platform. actually there are both have their own pros and conts. 
So that, depends on youtself, to choose the better one. Tepuk dada tanya hati.. (kihkihkih!!)

I've get the info to share during read 1 article :)

Which popular sites run on which platforms?

The following table lists the top, popular sites and the platform and languages they use.
Note: Please don't confuse C with C# (pronounced C Sharp) — they are completely different programming languages. ASP.net is mostly programmed in C# (C Sharp) or Visual Basic and not C.

Site Up Since Server Platform Programming
Language
Google.com November    1998 Linux C, Java, C++, PHP & MySQL
Facebook.com February 2004 Linux PHP, MySQL and C++
YouTube.com February 2005 Linux C, Java and MySQL
Yahoo.com August
1995
Linux C++, C, Java, PHP & MySQL
 MSN.com (owned  by Microsoft) August
1995
Windows ASP.net
 Live.com (owned by Microsoft) August
2008
Windows ASP.net
Wikipedia January
2001
Linux PHP & MySQL
Amazon.com October
1995
Linux & Solaris C++, Java, J2EE
WordPress.com November
2005
Linux PHP & MySQL

Monday, 15 April 2013

cont...

Apps 3 : Shape Tweening

Apps 3 and Apps4

Assalamualaikum.. Hye semua..
Setelah seminggu bercuti, dengan blog sekali bercuti.. Now the time to me show my work from Apps 3 & Apps 4.. Ngeeee..!! (Baru nk upload).

Apps3
1) Motion Tween
2) Motion Guide
3) Frame - Frame

 








 

Sunday, 24 March 2013

Hola!! now the time...

What the busy week..huh..
 This week mmg lah teramat busy..Maklumlah nk school holiday ni, kene arrange mcm2 program. Baru tau camne rasa belajar sambil bekerja.. almost every day rushing dari office ke tempat belajar @ UTM.. Banyak juga cabaran dan dugaan sebelum betul2 dpt masuk ke kelas ni.. Tp xpe, ini semua ada hikmahnya kan..
Sekarang semuanya bakal berjalan seperti biasa, pergi kerja, then ke kelas, pastu pick up my little boy, then bla..bla..bla..
So, this week will be more serius dengan assignmen, homework yg xsempat2 nk sentuh, akan ku cuba untuk menyentuhnya..
But the most important thing is, kene lebih active di class chatting on FB :) memang best lah this authoring system class.. dapat I Pad (pinjam je), then dapat try menggunakan device named WACOM.. before this memang xpernah jumpe pon device ni and xtau pon kewujudannya.. namanya pon first time saya dengar. Apapun im very excited to be in the class this week. Hopefully Prof Dr. Zaidatun will come to the class with good health.. and for me, now the time to...FOCUS..
This is my first trial using Flash.. hehe.. very the seronok buat benda ini even dok ulang entah bape kali draw and erase..

Thursday, 14 March 2013

Hye all!!...

Assalamualaikum..
Untuk ketiga kalinya saya menaip dan kemudian padam.. Nothing to say fr this while, lidah ku kelu utk berkata, but saya terpaksa utk mewujudkan this blog buat tatapan kengkwn n for the most gojess my lecturer Dr. Zaidatun Tasir..

Buat masa ini, saya mulai rase seronok fr this class authoring system, lepas da dapat ipad, dapat pulak wacom, tp hanya utk sementara saje.. Jgn nk jadikan harta pulak ye..

Anyway, hope dapat memberi lebih fokus pada class memandangkan selalu nk mengelamun dlm class lbh2 lg class dh petang kan.. oOppss sory Dr., n fana... Terjujur plak.. Jgn deduct marks ye.. Hehe..:)

Okey, wait for the next post from me.. Daaaa..