WebSite-PHP Framework PHP
Mehrsprachig
Einfacher Ajax Modus
Kein HTML, kein JavaScript
URL Rewriting
Mails senden
Sitemap - RSS - Web service
Laden Sie WebSite-PHP FrameWork jetzt herunter
 


Loading
 


Schnellstart

Schnellstart WebSite-PHP Framework PHP


1 - Laden Sie WebSite-PHP Framework
2 - Installieren Sie einen PHP Web Server (PHP 5.2 min. erforderlich)
3 - Entpacken Sie die heruntergeladene Datei in das Hauptverzeichnis Ihres Web Servers

Hier sind die Ordner/Dateien aus der Zip.
Ziehen Sie die Maus über die Ordner/Dateien für weitere Informationen.
  •  img
  •  lang
    •  en
      •  all.inc.php
      •  default.inc.php
      •  home.inc.php
    •  fr
  •  pages
    •  defined_zone
    •  error
    •  wsp-admin
    •  home.php
  •  wsp
    •  cache
    •  class
    •  config
    •  css
    •  flash
    •  img
    •  includes
    •  js

4 - Konfigurieren Sie Ihren Server
5 - Starten Sie Ihre Server (Apache und MySQL)

6 - Gehen Sie zu Ihrer Start Website (http://localhost/your_website)

7 - Gehen Sie zu Ihrem Administrator Panel
(http://localhost/your_website/de/wsp-admin/connect.html)
Gehen Sie zum Administrator Panel
(Standard Benutzername: admin, Passwort: admin)
Das Passwort wird in der Datei gespeichert /pages/wsp-admin/.passwd

8 - Konfigurieren Sie Ihre zukünftige Website

Gehen Sie auf issue tracker um Hilfe zu finden oder eine Frage an das WSP Team zu stellen.


Erste SeiteErste Seite

<?php
/**
 * PHP file pages\my-page.php
 */
/**
 * Page my-page
 * URL: http://127.0.0.1/website-php/my-page.html
 *
 * WebSite-PHP : PHP Framework 100% object (http://www.website-php.com)
 * Copyright (c) 2009-2020 WebSite-PHP.com
 * PHP versions >= 5.2
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 * 
 * @author      Emilien MOREL <admin@website-php.com>
 * @link        http://www.website-php.com
 * @copyright   WebSite-PHP.com 22/04/2020
 * @version     1.3.1
 * @access      public
 * @since       1.0.18
 */

// MyPage is a class which extends Page Object
class MyPage extends Page {
    
    
// First called method to instanciate page object
    
public function InitializeComponent() {
        
// create a new object Box
        
$my_box = new Box(__(MY_BOX), true);
        
$my_box->setWidth(300); // set the with size of the box
        
        // create a new object Label (text)
        // __(): call the translation of HELLOWORLD
        
$my_label = new Label(__(HELLOWORLD));
        
        
// set label to the content of the box 
        
$my_box->setContent($my_label);
        
        
// associate my main object (my_box) to the render of the page
        
$this->render $my_box;
    }
    
    
// Load method
    
public function Load() {
        
// Page title 
        // __(): call the translation of MY_PAGE_TITLE
        
parent::$PAGE_TITLE __(MY_PAGE_TITLE);
        
        
// Page description
        // __(): call the translation of MY_PAGE_DESCRIPTION
        
parent::$PAGE_DESCRIPTION __(MY_PAGE_DESCRIPTION);
        
        
// Page meta tag keywords
        // __(): call the translation of MY_PAGE_KEYWORDS
        
parent::$PAGE_KEYWORDS __(MY_PAGE_KEYWORDS);
    }
}
?>


<?php
// File : lang/de/my-page.inc.php

    
define("MY_PAGE_TITLE""Mein Seitentitel");
    
define("MY_PAGE_DESCRIPTION""Meine Seitenbeschreibung");
    
define("MY_PAGE_KEYWORDS""Schlüsselwort 1, Schlüsselwort 2, Schlüsselwort 3, Schlüsselwort 4");
    
    
define("MY_BOX""Meine Box");
    
define("HELLOWORLD""HelloWorld");
?>


Beispiel herunterladen
URL um dieses Beispiel zu testen: http://localhost/votre_site_web/my-page.html

Zeige das Ergebnis dieses Beispiels (DialogBox)
Zeige das Ergebnis dieses Beispiels (Neue Seite)


Weitere InformationenWeitere Informationen

Weitere Informationen sind auf der Tutorial Seite verfügbar
oder Sie können die Hilfe Videos zu Rate ziehen.


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Start Dokumentation Herunterladen Schnellstart Tutorials Wiki Issue Tracker