github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

weierophinney / pastebin

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 76
    • 9
  • Source
  • Commits
  • Network (9)
  • Issues (0)
  • Downloads (12)
  • Wiki (1)
  • Graphs
  • Branch: bugapp

click here to add a description

click here to add a homepage

  • Branches (3)
    • bugapp ✓
    • master
    • spindle
  • Tags (12)
    • 1.3.0
    • 1.2.0
    • 1.1.2
    • 1.1.1
    • 1.1.0
    • 1.0.1
    • 1.0.0RC6
    • 1.0.0RC5
    • 1.0.0RC4
    • 1.0.0RC3
    • 1.0.0RC2
    • 1.0.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Pastebin built using Dojo for UI elements — Read more

  cancel

http://weierophinney.net/matthew/archives/189-Pastebin-app-and-conference-updates.html

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Removed url() view helper from comments() helper and replaced with 
baseUrl() 
weierophinney (author)
Wed Dec 31 13:18:20 -0800 2008
commit  91d78be8de1438b9b69d83d30e6a0ade7711461f
tree    06acc223beee526b7483e9737a7ccdb276e74a2d
parent  e420f4006d40c7179a81dce4879817cba4f704e5
pastebin /
name age
history
message
file .zfproject.xml Tue Aug 12 20:42:06 -0700 2008 Initial master of pastebin app [Matthew Weier O'Phinney]
file CHANGELOG Fri Dec 05 13:54:05 -0800 2008 Updated changelog [weierophinney]
file LICENSE.txt Thu Aug 28 09:41:33 -0700 2008 Added README and LICENSE files [Matthew Weier O'Phinney]
file README.txt Fri Dec 05 13:41:31 -0800 2008 Created install script Updated loadTestDb.php t... [weierophinney]
file TODO Tue Dec 23 15:10:31 -0800 2008 New issue dialog, and relate services [weierophinney]
directory application/ Wed Dec 31 13:18:20 -0800 2008 Removed url() view helper from comments() helpe... [weierophinney]
directory data/ Tue Dec 16 21:53:38 -0800 2008 Decoupled Comment model from bug table; now use... [weierophinney]
file install.php Fri Dec 05 13:41:31 -0800 2008 Created install script Updated loadTestDb.php t... [weierophinney]
directory library/ Wed Dec 17 12:41:35 -0800 2008 Added Phly_PubSub_Provider -- per-instance plug... [weierophinney]
directory misc/ Tue Dec 02 20:37:11 -0800 2008 Added spindle layer Renamed paste.layer to past... [weierophinney]
directory public/ Mon Dec 29 14:12:41 -0800 2008 Refactored bug domain model [weierophinney]
directory scripts/ Fri Dec 05 20:22:39 -0800 2008 Added models from bugapp to Spindle module - po... [weierophinney]
directory tests/ Wed Dec 10 19:18:29 -0800 2008 Autoloader implementation; refactoring of resou... [weierophinney]
README.txt
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 <matthew@zend.com>

I may or may not honor them. :)

LICENSE
=======================================================================
Please see LICENSE.txt
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server