Anmelden

Erstellung eines Projektes für campus21

Zuvor muss campus21 auf den jeweiligen Arbeitsplatz ausgebucht oder mit SVN-Dateien kopiert sein.

  • Projekt erstellen
    • Bei Start von Zend Studio Workspace außerhalb der Arbeitskopie anlegen
    • PHP Explorer (weißer Bereich) > Rechte Maustaste > New > Project...> PhpProject from existing directory
    • Projektname "campus21"
    • Location Pfad Arbeitskopie + php-Verzeichnis
    • anschließend wird im PhpExplorer die Projektstruktur angezeigt
    • SVN aktivieren
      • PHP Explorer > RMB auf Projekt > Team > Share Project > SVN auswählen > Next > Next
      • SVN-Account eingeben, Kennwort speichern
      • Finish
      • anschließend sind die SVN-Funktionen verfügbar im PHP Explorer

    Weitere Information gibt es im Internet, z.B. http://files.zend.com/help/Zend-Studio/content/accessing_an_existing_svn_checkout.htm. Informationen zum Aufbau des campus21-Projektes befinden sich unter Softwareinstallation.

    Empfohlene Einstellungen (campus21 Projekt)

    Window > Preferences

    • General > Editors > File Associatons:
      • .asp einrichten und PHP Editor zurodnen
      • .config einrichten und Text Editor zurodnen
    • General > Content Types > Text aufklappen > PHP Content Type > Add...
      • *.asp, *.htm
      • *.config wurde nicht hinzugefügt, damit bei der Validierung die global-Deklaration der Variablen forciert wird.
    • General > Workspace
      • Text file encoding: UTF-8 (gilt insbesondere für projektfremde Dateien, auch für CSS-Dateien)
    • PHP > Code Style > Formatter > Show
      • policy = Tab, size = 4 oder unter
      • Formatter > ActiveProfile Php Conventions auswählen (Tab Policy muss auf Tab und Tab Size auf 4 stehen)
    • PHP > Semantic Analysis
      • ausschalten: warning-assignment-in-condition
    • Web > HTML Files > Web Resources
      • Unknown CSS class = Ignore,
      • Unknown Image file = Ignore
      • Rebuild bzw. Zend Restart
    • Team > SVN > Label Decoration
      • Text Decorations > Outgoing flag entfernen
      • IconsDecoration alle aktivieren
      • Zend Restart

    Project > Properties

    • Resource > Text file encoding > Other: UTF-8
    • Resource > Resource Filters > Add...
      • Filter type: Exclude all
      • Applies to: Folders
      • Filter Details: Project Relative Oath matches upload
    • SVN Info
      • name:svn:ignore
      • value:
        *.custom
        *.log
        cms.extensions
        cms.templates
        cms.config
        com.config
        fom.config
        his.config
        org.config
        pub.config
        sys.config
        web.config

       
    Top

    Wir arbeiten mit Software von http://www.campus21.de.

    Verantwortlich für angezeigte Daten ist der Webdomain-Eigentümer laut Impressum.

    Suche