Browser Tutorial Development (en) Browser - TYPO3 without PHP



Similar documents
Browser Tutorial SEO - Search Engine Optimization - (en)

Slick - responsive Carousel Slider

Using Internet or Windows Explorer to Upload Your Site

Version Control with Subversion

Version Control! Scenarios, Working with Git!

Version control. HEAD is the name of the latest revision in the repository. It can be used in subversion rather than the latest revision number.

JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA

INF 111 / CSE 121. Homework 4: Subversion Due Tuesday, July 14, 2009

Using Subversion in Computer Science

Technote 20 Using MSIE to FTP into an AcquiSuite

Content Management System

Setting up a local working copy with SVN, MAMP and rsync. Agentic

EXT: SEO dynamic tag

SharePoint Password Change & Expiration 3.0 User Guide

FORTIS. User Guide. Fully responsive flexible Magento theme by Infortis. Copyright Infortis. All rights reserved

Content. Development Tools 2(63)

Introducing Xcode Source Control

nopcommerce User Guide

Software Delivery Integration and Source Code Management. for Suppliers

Search Engine Optimization for the title tag, the canonical tag and the meta tags author, description and keywords.

Revision control systems (RCS) and

1: 2: : 3.1: 3.2: 4: 5: & CAPTCHA

USERS MANUAL FOR OWL A DOCUMENT REPOSITORY SYSTEM

MATLAB & Git Versioning: The Very Basics

SIMGallery. User Documentation

CAPIX Job Scheduler User Guide

BT CONTENT SHOWCASE. JOOMLA EXTENSION User guide Version 2.1. Copyright 2013 Bowthemes Inc.

HOW TO CREATE THEME IN MAGENTO 2

ultimo theme Update Guide Copyright Infortis All rights reserved

PineApp Surf-SeCure Quick

ultimo theme Update Guide Copyright Infortis All rights reserved

Create e-commerce website Opencart. Prepared by : Reth Chantharoth Facebook : rtharoth@yahoo.

Manual. CollabNet Subversion Connector to HP Quality Center. Version 1.2

Drupal CMS for marketing sites

ithenticate User Manual

SSO Plugin. HP Service Request Catalog. J System Solutions. Version 3.6

nopcommerce User Guide

Version Control with Subversion and Xcode

How To Create A Website On Atspace.Com For Free (Free) (Free Hosting) (For Free) (Freer) ( (Web) (Femalese) (Unpaid) (

ecommerce LMS Administrator s Manual

Bitrix Site Manager ASP.NET. Installation Guide

MIS Export via the FEM transfer software

How to Use the Staff Directory Publisher to Update School Staff Directory Lists

5. At the Windows Component panel, select the Internet Information Services (IIS) checkbox, and then hit Next.

Cloudwords Drupal Module. Quick Start Guide

Livezilla How to Install on Shared Hosting By: Jon Manning

Version Control with Git

Extending Remote Desktop for Large Installations. Distributed Package Installs

MySQL Quick Start Guide

Using Microsoft Expression Web to Upload Your Site

Mistral Joomla Template

EBOX Digital Content Management System (CMS) User Guide For Site Owners & Administrators

SAHARA DIGITAL8 RESPONSIVE MAGENTO THEME

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Content Management System User Guide

MySQL quick start guide

ekomimeetsmage Manual for version 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0

GMC Connect User Guide v1.1

Configuring Web services

MySQL Quick Start Guide

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

User Manual. Version 1.0 Initial Public Release Build 327. Copyright Notice

CSE 374 Programming Concepts & Tools. Laura Campbell (Thanks to Hal Perkins) Winter 2014 Lecture 16 Version control and svn

EXT:Booking Extension

Item Audit Log 2.0 User Guide

Version Control Using Subversion. Version Control Using Subversion 1 / 27

ithenticate User Manual

JTouch Mobile Extension for Joomla! User Guide

Google Trusted Stores Setup in Magento

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

FEEG Applied Programming 3 - Version Control and Git II

CPE111 COMPUTER EXPLORATION

Introduction to Subversion

FTP Accounts Contents

Using SVN to Manage Source RTL

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

Shop Manager Manual ConfigBox 3.0 for Magento

Managing Software Projects Like a Boss with Subversion and Trac

DAVE Usage with SVN. Presentation and Tutorial v 2.0. May, 2014

Working Copy 1.4 users manual

Alfresco Online Collaboration Tool

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

JBoss Portal 2.4. Quickstart User Guide

Installation Guide. Research Computing Team V1.9 RESTRICTED

This manual cannot be redistributed without permission from joomla-monster.com

Top Navigation menu - Tabs. User Guide 1. &

Click on the Courses & Pricing link

How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

4PSA DNS Manager Translator's Manual

AUDIT REPORT EXAMPLE

This installation guide will help you install your chosen IceTheme Template with the Cloner Installer package.

CARSTORE RESPONSIVE MAGENTO THEME

IIS, FTP Server and Windows

E-LEARNING STUDENT S MANUAL

Version Control. Version Control

Reading an sent with Voltage Secur . Using the Voltage Secur Zero Download Messenger (ZDM)

Transcription:

Browser Tutorial Development (en) Browser - TYPO3 without PHP Develop the Browser - the TYPO3-Frontend-Engine. This is a manual, how to use the SVN-Repository. Version: 6.0.0-2014-10-07 Extension Key: browser_tut_development_en Language: en Keywords: browser, typo3 without php, development, svn Copyright 2008-2014, Dirk Wildt, Die Netzmacher, <http://wildt.at.die-netzmacher.de> This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 - a GNU/GPL CMS/Framework available from www.typo3.org 1

Table of Contents Browser Tutorial Development (en)... 1 Introduction... 3 What does it do?... 3 The Browser and SVN... 4 Repository URL... 4 Download / checkout of the Browser... 4 Update your Browser version... 4 Upload / commit the Browser... 4 The first time initial check out... 4 Resolve a conflict and other problems... 5 Branches... 6 Tags... 6 Update extensions without TYPO3... 7 TYPO3 Extension Utils... 7 https://github.com/etobi/typo3extensionutils... 7 Upload extension... 7 Help... 7 DRS - Development Reporting System... 8 Develop the DRS and gets support for yourself... 8 dev_var_dump... 9 Prompting for my IP only... 9 Minify *.css and *.js... 10 Precondition... 10 Samples... 10 Reference... 11 Completely browser reference... 11 Further Information... 12 Tutorials... 12 Forum... 12 SVN... 12 Helpful suggestions... 13 Change log... 14 Illustration Index... 15 Alphabetical Index... 16 2

Introduction What does it do? This is a tutorial for the extension Browser (extkey: browser). It is a manual for developing the browser especially how to use the SVN repository on forge.typo3.org 3

The Browser and SVN Repository URL https://svn.typo3.org/typo3v4/extensions/browser/ Download / checkout of the Browser $ cd typo3conf/ext/ $ svn co https://svn.typo3.org/typo3v4/extensions/browser/trunk browser If you are need an initial checkout, please take a look in the section "The first time initial check out" on page 4 below. Update your Browser version $ svn update U foo.c U bar.c Updated to revision 2. $ Upload / commit the Browser First you have to checkout the Browser (see above). Comment $ cd typo3conf/ext/browser $ svn add * $ svn st $ svn commit m 'my comment' ChangeLog ext_conf_template.txt ext_emconf.php lib/class.tx_browser_extmanager.php lib/locallang.xml pi1/class.tx_browser_pi1.php pi1/class.tx_browser_pi1_filter.php pi1/class.tx_browser_pi1_marker.php pi1/class.tx_browser_pi1_template.php pi1/class.tx_browser_pi1_views.php pi1/class.tx_browser_pi1_wrapper.php pi1/class.tx_browser_pi1_zz.php static/setup.txt Übertrage Daten... Revision 43025 übertragen. svn add *: add all (new and changed) files to your local svn index svn st: display your local svn index svn commit: commit / upload your changings The first time initial check out If you have a local version of the browser but without any SVN folder, you can initiate a local SVN version this way: $ mv browser browser.bak $ svn co https://svn.typo3.org/typo3v4/extensions/browser/trunk browser $ mv u browser.bak/* browser $ cd browser $ svn add * 4

Resolve a conflict and other problems Sometimes there is a conflict between the files of your working directory and the files in the repository. Maybe you can resolve the conflict with the following steps... is out of date You try to commit your files, and there is an conflict, you will get a message like: Example Item '/org/trunk/res/html/doc' is out of date [dwildt@localhost org]$ svn commit m '2.0.9 mv document module to download module' Anmeldebereich: <https://svn.typo3.org:443> TYPO3 SVN Access Passwort für»dwildt«: ChangeLog... Ersetze res/html/doc svn: Übertragen schlug fehl (Details folgen): svn: Item '/org/trunk/res/html/doc' is out of date Step 1: Update Make a update. Example [dwildt@localhost org]$ svn update C static/doc C res/html/doc Revision 54475. Konfliktübersicht: Baumkonflikte: 2 Step 2: Resolve the conflict Try to resolve the conflict like in the example below. Take the parameter: base if the repository is the proper version working if your working directory is the proper version Example [dwildt@localhost org]$ svn resolve accept=working org/org/res/html/doc Konflikt von»org/org/res/html/doc«aufgelöst Step 3: Commit your files Now commit your files again.... version control Example $ svn add res/e payment/ svn: warnung:»res/e payment«befindet sich bereits unter Versionskontrolle Solutions $ svn revert res/e payment/ Rückgängig gemacht:»res/e payment«$ svn revert depth infinity res/e payment/ Rückgängig gemacht:»res/e payment«5

Hard Core Resolving Remove the SVN management $ mv deal deal.bak $ cd deal.bak $ find. name ".svn" print xargs /bin/rm Rf Another Initial Checkout Next step see "The first time initial check out" on page 4 above. Branches Englisch http://svnbook.red-bean.com/nightly/en/svn.branchmerge.maint.html German http://svnbook.red-bean.com/nightly/de/svn.branchmerge.maint.html New If you have a local version of the browser but without any SVN folder, you can initiate a local SVN version this way: $ mv browser browser.bak $ svn co https://svn.typo3.org/typo3v4/extensions/browser/branches browser $ cd browser... Tags Add a tag $ svn copy https://svn.typo3.org/typo3v4/extensions/browser/trunk \ https://svn.typo3.org/typo3v4/extensions/browser/tags/4.5.3 \ m "Release 4.5.3." Delete a tag $ svn delete https://svn.typo3.org/typo3v4/extensions/browser/tags/4.5.0 \ m "4.5.0 is deprecated" 6

Update extensions without TYPO3 TYPO3 Extension Utils https://github.com/etobi/typo3extensionutils Upload extension root@gera:/opt/scripts/typo3#./t3xutils.phar upload username password introductionplus "1.2.0 Feature detachable multi columns menu, bugfix chrome and IE" /var/www/typo3_62.local/typo3conf/ext/introductionplus Result in case of success array(3) { ["resultcode"]=> string(5) "10504" ["resultmessages"]=> array(1) { [0]=> string(118) "Please note that it might take a while (up to an hour) until your extension and the documentation appear on TYPO3.org." } ["version"]=> string(5) "1.2.0" } Help root@gera:/opt/scripts/typo3#./t3xutils.phar Usage:./t3xutils.phar help./t3xutils.phar version./t3xutils.phar updateinfo./t3xutils.phar info <extensionkey> [<version>]./t3xutils.phar fetch <extensionkey> [<version>] [<destinationpath>]./t3xutils.phar upload <typo3.org username> <typo3.org password> <extensionkey> "<uploadcomment>" <pathtoextension>./t3xutils.phar extract <t3x file> <destinationpath>./t3xutils.phar listfiles <t3x file> [details]./t3xutils.phar create <extensionkey> <sourcepath> <t3x file>./t3xutils.phar checkforupdate./t3xutils.phar selfupdate 7

DRS - Development Reporting System Develop the DRS and gets support for yourself... 8

dev_var_dump Prompting for my IP only dev_var_dump enables you to prompt content into the frontend, which will displayed for a visitor with your IP only. Characteristics The Browser has an own var_dump method for developing. It is similar to var_dump: but it prompts the given content into the frontend It checks weather the current IP is in the list of the allowed IPs (configurable by the extension manager). If the current IP isn't proper, dev_var_dump will return nothing. dev_var_dump wraps the content with <pre>...</pre> If you prompt an array, you will have a tree view. dev_var_dump reports a security warning to devlog. Parameters Content for prompting. Type is mixed. Amount of parameters is unlimited. PHP snippet $my_prompt = array('hello world', array( 'green', 'red' ) ); $my_other_prompt = array('hallo Welt', array( 'gruen', 'rot' ) ); $this >pobj >dev_var_dump( $my_prompt, $my_other_prompt ); Result <pre>tx_browser_pi1_sql::init (line 119): type: array array ( 0 => 'Hello world', 1 => array ( 0 => 'green', 1 => 'red', ), )... </pre> 9

Minify *.css and *.js Precondition Intalled JavaScript/CSS minifier yui-compressor-2.4.7-1 Samples Sample directory $ tree L 1. jquery map tx_browser_pi1_ajax 0.0.5.js tx_browser_pi1_ajax_languages.js tx_browser_pi1.js Minify a *.js-file $ java jar /usr/share/yui compressor/yui compressor.jar type js v tx_browser_pi1.js o 'tx_browser_pi1 min.js' $ tree L 1. all min.js jquery map tx_browser_pi1_ajax 0.0.5.js tx_browser_pi1_ajax_languages.js tx_browser_pi1.js Minify all *.js-files $ java jar /usr/share/yui compressor/yui compressor.jar type js v *.js o '.js$: min.js' $ tree L 1. all min.js jquery map tx_browser_pi1_ajax 0.0.5.js tx_browser_pi1_ajax_languages.js tx_browser_pi1.js Minify and merge all *.js-files $ java jar /usr/share/yui compressor/yui compressor.jar type js v *.js o 'all min.js' $ tree L 1. all min.js jquery map tx_browser_pi1_ajax 0.0.5.js tx_browser_pi1_ajax_languages.js tx_browser_pi1.js 10

Reference Completely browser reference HTML http://typo3.org/extension-manuals/browser_manual_en/ PDF: http://typo3-browser.de/typo3conf/ext/browser_manual_en/doc/manual.pdf 11

Further Information Tutorials This tutorial in PDF format You find this tutorial as a PDF file at doc/manual.pdf http://typo3-browser.de/typo3conf/ext/browser_tut_dev_en/doc/manual.pdf Tutorial Overview http://typo3-browser.de/en/browser-tutorials/ Forum The Browser has its own forum (leading language is German). You are welcome to post any question, bug or snippet code at SVN TYPO3-Frontend-Engine Browser: Forum http://typo3-browser-forum.de/ SVN book English http://svnbook.red-bean.com/nightly/en German http://svnbook.red-bean.com/nightly/de Illustration 1: The TYPO3-Frontend-Engine Browser Forum Quickstart http://svnbook.red-bean.com/nightly/en/svn.intro.quickstart.html Basic Work Cycle http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html Reference http://svnbook.red-bean.com/nightly/en/svn.ref.html 12

Helpful suggestions If you have helpful suggestions, feel free to publish any question, bug or code snippet on http://typo3-browser-forum.de/ Posts are welcome in English and German. 13

Change log 3.9.14 Update for Browser 3.9.14 3.6.1 Initial release 14

Illustration Index Illustration 1: The TYPO3-Frontend-Engine Browser Forum...12 15

Alphabetical Index 16