This shows you the differences between two versions of the page.

uros.stankovic [2013/01/28 22:23]
uros.stankovic [2013/01/28 22:35] (current)
Line 1: Line 1:
-====== PHP ======+====== WordPress ======
-**PHP** is an open source server-side scripting language designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data. The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications. PHP can be deployed on most Web servers and also as a standalone shell on almost every operating system and platform, free of charge. PHP was a competitor to Microsoft's Active Server Pages (ASP) server-side script engine and similar languages, but gradually received better acceptance than ASP and by now PHP is installed on more than 20 million Web sites and 1 million Web servers. Notable software that uses PHP includes Drupal, Joomla, MediaWiki, and WordPress. \\+this article is about the blogging software [[www.wordpress.com|WordPress]]  {{ :wp.png|petar}}
-{{ :php-logo.png?200 }} 
 +\\ \\ \\ WordPress((for more information visit official site)) is a free and open source blogging tool and a content management system (CMS) based on [[www.php.com|PHP]] and MySQL. It has many features including a plug-in architecture and a template system. WordPress is used by over 16.7% of Alexa Internet's “top 1 million” websites and as of August 2011 manages 22% of all new websites. WordPress is currently the most popular blogging system in use on the Web.
-PHP was originally created by Rasmus Lerdorf in 1995. The main implementation of PHP is now produced by The PHP Group and serves as the formal reference to the PHP language. PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) due to restrictions on the usage of the term PHP.+It was first released on May 27, 2003, by founders Matt Mullenweg and Mike Little as a fork of b2/cafelog. As of December 2011, version 3.0 had been downloaded over 65 million times.
-While PHP originally stood for Personal Home Page, it is now said to stand for PHP: Hypertext Preprocessor, a recursive acronym. 
-<file php example.php> +====== Features ======
-<?php +
-     // try-catch blok u kome se otvara konekcija na bazu i vrsi upit +
-     try { +
-         $konekcioni_string = "sqlite:c:/wamp/Sqlite/preduzece.db"; +
-         // $dbh objekat pamti konekciju prema bazi +
-         $dbh = new PDO($konekcioni_string); +
-         // konstrukcija SQL izraza +
-         $sql = "SELECT * FROM radnik"; +
-         // $dbh->query() vraca PDOStatement objekat +
-         $pdo_izraz = $dbh->query($sql); +
-         // Svi podaci se vracaju u obliku niza asocijativnih nizova +
-         $niz = $pdo_izraz->fetchALL(PDO::FETCH_ASSOC); +
-         // Iterisanje po vracenim rezultatima +
-         echo "<table cellpadding='5' border='1'>"; +
-         echo "<tr><th>Ime</th><th>Adresa</th><th>Plata</th></tr>"; +
-         foreach($niz as $radnik) { +
-             echo "<tr><td><b>".$radnik['ime']."</b></td>"; +
-             echo "<td>".$radnik['adresa']."</td>"; +
-             echo "<td>".$radnik['plata']."</td></tr>"; +
-         } +
-         echo "</table>"; +
-        } +
-        catch(PDOException $e) { +
-          echo "GRESKA: "; +
-          echo $e->getMessage(); +
-     } +
-     $dbh = null; +
-?> +
-====== See also ====== 
 +==== Themes ====
 +WordPress users may install and switch between themes. Themes allow users to change the look and functionality of a WordPress website or installation without altering the information content or structure. Themes may be installed using the WordPress “Appearance” administration tool or theme folders may be uploaded via FTP. The PHP and HTML code in themes can also be edited for more advanced customizations. There are several templates, some free, and some premium templates which a user has to buy.
 +==== Plugins ====
 +One very popular feature of WordPress is its rich plugin architecture which allows users and developers to extend its abilities beyond the features that are part of the base install; WordPress has a database of over 22,000 plugins with purposes ranging from SEO to adding widgets.
 +==== Widgets ====
 +Widgets are small modules that offer users drag-and-drop sidebar content placement and implementation of many plugins' extended abilities. Widgets allow WordPress developers to add functionality to their sites. These small modules can be used to add functionality such as a slideshow, Facebook Like box, small news slider, and more.
 +==== Multi-user and multi-blogging ====
 +Prior to WordPress 3.0, WordPress supported one blog per installation, although multiple concurrent copies may be run from different directories if configured to use separate database tables. WordPress Multi-User (WordPress MU, or just WPMU) was a fork of WordPress created to allow multiple blogs to exist within one installation that is able to be administered by a centralized maintainer. WordPress MU makes it possible for those with a website to host their own blogging community, as well as control and moderate all the blogs from a single dashboard. WordPress MU adds eight new data tables for each blog.
 +WordPress MU merged with WordPress as part of the 3.0 release.
 +==== Mobiles ====
 +Native applications exist for WebOS, Android, iOS (iPhone, iPod Touch, iPad), Windows Phone, and BlackBerry.
 +==== Other features of note ====
 +WordPress also features integrated link management; a search engine–friendly, clean permalink structure; the ability to assign nested, multiple categories to articles; and support for tagging of posts and articles. Automatic filters are also included, providing standardized formatting and styling of text in articles (for example, converting regular quotes to smart quotes). WordPress also supports the Trackback and Pingback standards for displaying links to other sites that have themselves linked to a post or article.
 +==== Releases ====
 +WordPress releases are codenamed after well-known jazz musicians.
 +^^Code name ^ Relase ^ date ^ Notes ^
 +^<3.2 |               |                         We don't have information for earlier versions  ||
 +^3.2 |Gershwin |4 July 2011   | Focused on making WordPress faster and lighter. Released only four months after version 3.1.|
 +^3.3 |Sonny         |12 December 2011  | Focused on making WordPress friendlier for beginners and tablet computer users.|
 +^3.4 |Green         |13 June 2012    |Focused on improvements to theme customization, Twitter integration and several minor changes.|
 +^3.5 |Elvin         |11 December 2012   |Support of the Retina Display, color picker, new theme: Twenty Twelve,improved image workflow|
-  * Free software portal 
-  * Computer programming portal 
-  * Comparison of programming languages 
-  * Comparison of PHP frameworks 
-  * List of AMP packages 
-  * List of PHP editors 
-  * PHP accelerator 
-  * PHP-FPM 
-  * PHP-GTK 
-  * Template processor 
-  * EasyPHP 
-  * XAMPP 
-  * BitNami AMP Stacks 
-  * Zend Certified Engineer 
-  * Zend Server Community Edition 
-Text taken from Wikipedia® 
uros.stankovic.txt · Last modified: 2013/01/28 22:35 by uros.stankovic
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki