• Stars
    star
    107
  • Rank 322,331 (Top 7 %)
  • Language
    JavaScript
  • License
    Other
  • Created about 16 years ago
  • Updated almost 16 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pastebin built using Dojo for UI elements
This is a demo pastebin application, primarily developed to show off new
features of the Dojo/Zend Framework integration.

INSTALLATION
=======================================================================
This application requires that you either have Zend Framework on your
include_path, or that you will be symlinking your Zend Framework library
into the library directory. If you do not yet have Zend Framework, you
can get it from one of the following sources:

  * Official Release:
    http://framework.zend.com/dowload/latest

  * Subversion; use either the current trunk or the 1.7 release branch:
    svn co http://framework.zend.com/svn/framework/standard/trunk/library/Zend

    svn co http://framework.zend.com/svn/framework/standard/branches/release-1.7/library/Zend

Install Zend Framework locally, and the follow these steps:

1. Untar the archive using:

    tar xzf <packagefile>

2. I recommend creating a symlink to the directory created when
   extracting from the archive:

     ln -s /var/www/pastebin /path/to/<packagedir>

   (Assuming /var/www contains directories for your vhosts.)

3. Run the install script
   The application now comes with an install script, that creates the
   necessary symlinks, initializes the development database, and sets
   appropriate permissions. Simply run it using php:

     php install.php path/to/ZendFramework/library/Zend

   You can get full usage by passing the -h, --help, or -? options:

     php install.php -h

3. Create a vhost that points its DocumentRoot to the public
   subdirectory. As an example:

    <VirtualHost *>
        DocumentRoot /var/www/pastebin/public
        ServerName paste.local
        ErrorLog /var/log/apache2/paste.local-error_log
        CustomLog /var/log/apache2/paste.local-access_log common

        <Directory /var/www/pastebin/public>
            DirectoryIndex index.php
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    </VirtualHost>

   In this particular example, we use the ServerName "paste.local"; you
   will need to add this to your hosts file:

    127.0.1.1 paste.local

4. Finally, simply fire your browser to:

    http://paste.local/

FEATURES
=======================================================================
This application shows off the following Dojo features:

    * BorderContainer
    * TabContainer
    * ExpandoPane
    * AccordionContainer
    * dojox.Grid
    * dojox.highlight
    * dojo.back
    * A variety of dijits: ValidationTextBox, SimpleTextarea,
      and FilteringSelect
    * dojo.xhr
    * JSON-RPC

ZF specific features include:

    * Zend_Dojo_View_Helper_* (BorderContainer, TabContainer,
      ContentPane, etc.)
    * Zend_Dojo_Form (form and form elements)
    * Zend_Dojo_Data (used to populate the grid)
    * Zend_Json_Server (used to process forms and update statusbar
      metadata)

CUSTOM DOJO BUILDS
=======================================================================
For the adventurous, I have provided a profile for creating a custom
Dojo build for the pastebin application. You will need to copy the
public/js-src/paste directory and contents to your Dojo source
installation, and then use the misc/spindle.profile.js build profile to
create the build. Further instructions are in misc/README.txt.


REQUESTS
=======================================================================
If you have any feature requests, feel free to send them to:

    Matthew Weier O'Phinney <[email protected]>

I may or may not honor them. :)

LICENSE
=======================================================================
Please see LICENSE.txt

More Repositories

1

changelog_generator

Create changelogs based on your GitHub milestones
PHP
88
star
2

zf-examples

Zend Framework Examples
PHP
81
star
3

phly

PHP
61
star
4

zf-quickstart

QuickStart application from Zend Framework, with variations based on ZF2 MVC prototypes
PHP
60
star
5

mwop.net

Source code behind mwop.net
PHP
56
star
6

bugapp

Bug application built on Zend Framework, primarily as a demo app for Dutch PHP Conference
PHP
32
star
7

zf1-autoloaders

Port of ZF2 autoloaders to ZF1
PHP
26
star
8

PhlyPeep

Demonstration ZF2 module -- twitter clone
PHP
26
star
9

settings

Various settings for tools I use
14
star
10

fig-library

Library of interfaces and common implementations
PHP
14
star
11

phly_contact

ZF2 app for demonstrating module development
PHP
13
star
12

phps

Manage PHP versions, extensions, and configuration when using the ondrej/php PPA
Shell
12
star
13

zend-datavalidator

New validation component for Zend Framework
PHP
11
star
14

problem-details

Problem Details for PSR-7 APIs
PHP
10
star
15

phpunit-watch

Execute PHPUnit when files change
JavaScript
10
star
16

apigility-3hr-tutorial

Code and exercises for DPC 2014 Apigility tutorial
PHP
9
star
17

zf-component-template

Skeleton to use when creating new ZF components
PHP
8
star
18

hal

ABANDONED; use zendframework/zend-expressive-hal instead.
PHP
8
star
19

PhlyComic

Console tool for fetching comics.
PHP
8
star
20

paster.vim

Paste to arbitrary web pastebins from Vim
Vim Script
6
star
21

2015-10-20-PSR-7-and-Middleware

JavaScript
5
star
22

Phpbnl13StatusApiSiteExample

Example site for PHPBenelux 2013 "RESTful Services Made Easy With ZF2" tutorial.
PHP
5
star
23

SkeletonCssModule

ZF2 module that provides Skeleton CSS
JavaScript
5
star
24

grumpy-phpunit

Repo containing manuscript for my upcoming book
4
star
25

Phpbnl13StatusApi

Repository for PHPBenelux 2013 ZF2 + RESTful Resources workshop
PHP
4
star
26

apigility-tutorial-code-dpc2014

PHP
4
star
27

dpc12workshop

Tutorial app for Dutch PHP Conference 2012 ZF2 Modules workshop
PHP
4
star
28

2013-04-04-RestfulZf2-Webinar

Slides and notes for a webinar on building RESTful APIs with Zend Framework 2
Shell
3
star
29

weierophinney.github.com

github pages
3
star
30

laminas-stdlib

PHP
3
star
31

p.mwop.net

Pastebin web application
PHP
3
star
32

SkeletonAppWithUserModule

ZF2 skeleton app with user module -- testing Service Manager integration
PHP
3
star
33

2016-10-20-Use-Zend-Components-Anywhere

CSS
3
star
34

2015-10-22-ZF3

JavaScript
3
star
35

psr-17-diactoros

Experimental repository for PSR-17
PHP
2
star
36

docbook5-migration

Tools for migrating DocBook4 sources to DocBook5
PHP
2
star
37

apigility-zendcon-slides

JavaScript
2
star
38

laminas-psr7-serializer

PHP
2
star
39

laminas-ci-swoole-builder

Build Swoole and OpenSwoole for the Laminas CI
Makefile
2
star
40

2016-10-19-Create-PHPantastic-Packages

CSS
2
star
41

github-actions

2
star
42

2015-10-21-Apigility-Agile-APIs

CSS
2
star
43

rtfd-experiments

RTD rendering experiments
1
star
44

apigility-3h-tutorial

1
star
45

change-logs

1
star
46

weierophinney

1
star
47

zf-apigility-documentation-apiblueprint

API Blueprint integration for Apigility
PHP
1
star
48

test-local-action

Dockerfile
1
star
49

phlyql_resource

Toy PHP library for prototyping persistence for RESTful resources
PHP
1
star
50

zphp

Shell
1
star
51

php-import-test

PHP
1
star
52

zf-docs-deploy

PHP
1
star
53

zf-docs-toolchain-experiment

Experimental repo to test the ZF docs toolchain.
PHP
1
star
54

github_push

1
star
55

test-multiline-workflow-step-output

1
star
56

apigility-tutorial-dpc2014

Shell
1
star