Developed with love by KnpLabs Hire us for your project!
63

Jobeet2Bundle

by carlossg00

Jobeet for Symfony2

Jobeet2Bundle

Jobeet2Bundle is the well known day by day tutorial for symfony 1.4 ported to Symfony2.

Installation

Jobeet2Bundle is mantained to be installed with the latest symfony-standard version (at this time RC3)

clone repository

git clone git://github.com/carlossg00/Jobeet2Bundle.git src/Application/Jobeet2Bundle

Initializing the bundle

To start using the bundle, initialize the bundle in your kernel. This file is usually located at app/AppKernel:

public function registerBundles()
{
    return array(
        // ...
        new Application\Jobeet2Bundle\Jobeet2Bundle(),

    );
}

Register namespace

Add the Application namespace to your autoloader

// app/autoload.php
$loader->registerNamespaces(array(
    // ...
    'Application'                    => __DIR__.'/../src',      
));

Add the following routes to your global routing file (app/config/routing.yml or app/config/routing_dev.yml)

_jobeet:
    resource: "@Jobeet2Bundle/Controller/Jobeet2Controller.php"
    type:   annotation
    prefix: /jobeet

_job:
    resource: "@Jobeet2Bundle/Controller/JobController.php"
    type:   annotation
    prefix: /job

_category:
    resource: "@Jobeet2Bundle/Controller/CategoryController.php"
    type:   annotation
    prefix: /category

Dependencies

Jobeet2Bundle uses:

Install assets

app/console assets:install web --symlink

Build the database

In SE modify parameters.ini to your database settings

You can set them manually in config.yml

## Doctrine Configuration
doctrine:
    dbal:
        dbname:   symfony2-jobeet
        user:     root
        password: xxxxxxxx
        logging:  %kernel.debug%
    orm:
        auto_generate_proxy_classes: %kernel.debug%
        mappings:
            Jobeet2Bundle: ~

create the database schema running the following commands

php app/console doctrine:database:create    
php app/console doctrine:schema:create 

Load data fixtures

php app/console doctrine:fixtures:load

Try the application

Make sure the web folder is document root and visit the site:

http://jobeet2/app_dev.php/jobeet

or
http://localhost/web/app_dev.php/jobeet

Configuration

Add following lines to your config.yml to customize your application

Jobeet2 Configuration

jobeet2:
    max_jobs_on_homepage :  15
    max_jobs_on_category :  20 
    active_days:            30

or leave as default

jobeet2: ~   

Contributions

Don't ask, just fork it and enhance it.
Any commit/comments will be welcome!!

Hope it helps!!

Copyright (c) 2004-2010 Fabien Potencier

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Update DataFixtures/ORM/data.php
    By carlossg00, 8 years ago
  • fix knpPaginatorBundle broken link
    By carlossg00, 9 years ago
  • fixed some probles with fixtures and updated to RC4
    By carlossg00, 9 years ago
  • fixed use of _token in csrf protection & updated README
    By carlossg00, 9 years ago
  • removed controllers as services
    By carlossg00, 9 years ago
  • removed jobeet2.object manager in flavour of default object manager
    By carlossg00, 9 years ago
  • updated to BETA2
    By carlossg00, 9 years ago
  • updated to beta 1 & some improvments
    By carlossg00, 9 years ago
  • fixed command to install assets
    By carlossg00, 9 years ago
  • Merge remote branch 'origin/master'
    By carlossg00, 9 years ago
  • updated to PR10
    By carlossg00, 9 years ago
  • Updated Readme
    By carlossg00, 9 years ago
  • Controllers refactored
    By carlossg00, 9 years ago
  • updated to PR9
    By carlossg00, 9 years ago
  • updated README & routes
    By carlossg00, 9 years ago
  • updated to the latest framework changes
    By carlossg00, 9 years ago
  • Updated README
    By carlossg00, 9 years ago
  • updated xml path
    By carlossg00, 9 years ago
  • updated README.md
    By carlossg00, 9 years ago
  • fixed some problems, removed DoctrineExtension/Slugabble dependency
    By carlossg00, 9 years ago
  • Code refactored, cleaned and better
    By carlossg00, 9 years ago
  • max_jobs_per_page configurable
    By carlossg00, 9 years ago
  • Bundle Semantic Configuration
    By carlossg00, 9 years ago
  • refactoring: controllers as services
    By carlossg00, 9 years ago
  • updated README
    By carlossg00, 9 years ago
  • fixed, back to work
    By carlossg00, 9 years ago
  • removed Jobeet2Bundle directory
    By carlossg00, 9 years ago
  • removed Jobeet2Bundle directory
    By carlossg00, 9 years ago
  • updating to latest fabpot branch
    By carlossg00, 9 years ago
  • updating to latest fabpot branch
    By carlossg00, 9 years ago