Question:
What is the Difference between PHP and Kompozer?
Palash
2010-07-06 07:24:31 UTC
I,m very new to web designing.
I want to know the difference between PHP and Kompozer (or other WYSIWYG web designers).

As I know both are used to design web page (or site) Komposer is visual (no need to write code)
where PHP is not visual (requires writing codes).


I tried to find the answer in google but couldn't find any. WHY?

Are these two completely different (and not comparable!!)

pls help me to know.
Nine answers:
Web Programmer
2010-07-06 07:33:04 UTC
Kompozer is an html editor that allows you to visually build out html elements of a web page. (without having to know any html)



PHP is a dynamic scripting language that you use in conjunction with HTML to build a web page. You dont really "see" php on a page, but the result of php processing. PHP can be used to process forms, "talk" to a database to pull data to display on a web page, send data to other servers to do things like request and send data. You still need to use HTML with PHP to format and display content in a web browser.
2016-04-12 04:27:14 UTC
HTML is a markup language(client side) whereas PHP is a hypertext processing language(Server-side). PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page. The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server's PHP engine before being sent to a client's Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML. In brief 1. HTML is a markup language while PHP is a scripting language 2. The output of PHP is usually in HTML code which the browser can then interpret 3. HTML codes are static and they are always the same every time they are opened while PHP files are dynamic and the output might not always be the same 4. HTML is very easy and forgiving of mistakes while PHP isn’t
R.F.
2010-07-06 07:31:07 UTC
PHP is a scripting language used to code and create the web sites themselves.

Kompozer is a tool you use to help you write that code.



They are 2 very different things. It's like asking what is the difference between English and a pencil.



It sounds like you are completely new to web design. So first learn the basics of HTML before you move on to PHP, and you can certainly use Kompozer to help you write your HTML and PHP.
?
2010-07-06 07:30:20 UTC
You cannot compare PHP with KompoZer. To keep it very simple, PHP is a server side scripting language, used in combination with HTML and CSS, both client side scripting languages, to create web pages. KompoZer is an application which creates a web page for you. You simply drag and drop an image in KompoZer for example, and KompoZer will generate the corresponding HTML for you. KompoZer cannot generate PHP. KompoZer is intended for people with no knowledge of HTML. If you are serious about creating a website, you will need to learn at least HTML, which would make KompoZer useless. PHP, HTML and CSS can all be written using Notepad even.
2010-07-09 05:10:26 UTC
Hi,

In short both are different thing. Php is programming language while Kompozer is a tool/ide which helps you write code using php programming language.



php code is compiled by php engine on server. you can write php code using windows basic notepad utility. but in order to facilitate faster coding IDEs or editing tools provide better technique to help you like code highlighting,code completion, WYSIWYG for html/xml pages.



basically you write php code in between html pages so that that part of page can be dynamically generated. but in order help you by finding the exact place of editing Kompozer finds its place.
?
2010-07-06 07:36:09 UTC
Self-referentially short for PHP: Hypertext Preprocessor, an open source, server-side, HTML embedded scripting language used to create dynamic Web pages.

In an HTML document, PHP script (similar syntax to that of Perl or C ) is enclosed within special PHP tags. Because PHP is embedded within tags, the author can jump between HTML and PHP (similar to ASP and Cold Fusion) instead of having to rely on heavy amounts of code to output HTML. And, because PHP is executed on the server, the client cannot view the PHP code.

PHP can perform any task that any CGI program can do, but its strength lies in its compatibility with many types of databases. Also, PHP can talk across networks using IMAP, SNMP, NNTP, POP3, or HTTP.

PHP was created sometime in 1994 by Rasmus Lerdorf. During mid 1997, PHP development entered the hands of other contributors. Two of them, Zeev Suraski and Andi Gutmans, rewrote the parser from scratch to create PHP version 3 (PHP3).
Oggy
2010-07-06 07:27:38 UTC
PHP is the code itself, while Kompozer can help PHP editing: it's a WYSIWYG tool for those that cannot just blindly write PHP on the notepad or Notepad++ yet.

In the end, it's PHP code anyway that you''ll upload to your server.
Rolland O
2010-07-06 19:29:16 UTC
PHP is the code behind the writing. It's the mechanics of the web page. You can get more info wherever you want on the web.





I have a link you can follow if you are interested.
2014-07-24 14:14:25 UTC
Check here http://j.mp/1k405Aj if you want to get Kompozer for free

It's a useful program


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...