Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New Imageboard Package (Shinba)

Name: FoolyFrunz 2013-08-02 3:02

I just made my imageboard package open source for the public. It's currently in use at nuchan.org and I thought you guys might be interested in using the code yourselves.

http://sourceforge.net/projects/shinba/

It's written in PHP. Enjoy!

Name: Anonymous 2013-08-02 14:44

>>39

back to /g/ retard.

Name: Anonymous 2013-08-02 14:48

turned out i wasn't one

Name: Anonymous 2013-08-02 19:00

Go take a Midol. I promise you'll feel better aftwards

Name: Anonymous 2013-08-02 19:04

>>22
*| Fugly syntax: every PHP variable requires `$` prefix, which looks even scarier when combined with `&`, required to pass objects by reference, so be prepared for quirky perl-ugly code, like &$o[i++]

Anybody who names a variable "o" should die. And "i++" is incorrect syntax anyway, when it should be $i++
You're purposefully exaggerating an alleged "blemish" that wouldn't exist if you actually used meaningful comments and variable names. inb4 "ad hominem figgit l0l pwnd called u out" etc etc.

Visual Basic and Python are just around the corner. Would that make our special little pr0grammer feel better about the "readability" of the syntax?

Name: Anonymous 2013-08-02 21:44

>>33
An example of creating a route to a controller in ZF2:

<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Album\Controller\Album' => 'Album\Controller\AlbumController',
        ),
    ),

    // The following section is new and should be added to your file
    'router' => array(
        'routes' => array(
            'album' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/album[/][:action][/:id]',
                    'constraints' => array(
                        'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                    ),
                    'defaults' => array(
                        'controller' => 'Album\Controller\Album',
                        'action'     => 'index',
                    ),
                ),
            ),
        ),
    ),

    'view_manager' => array(
        'template_path_stack' => array(
            'album' => __DIR__ . '/../view',
        ),
    ),
);


Ha. Hahahahahahahaha.

Name: Anonymous 2013-08-02 22:12

>>45
wow, truly le futre of le internt!!!!!!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List