Album-o-rama - Sample application for the Phalcon PHP Framework.

Overview

Album O'Rama

Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.

This is a sample application for the Phalcon PHP Framework. We expect to implement as many features as possible to showcase the framework and its potential.

Please write us if you have any feedback.

Thanks.

NOTE

The master branch will always contain the latest unstable version. If you wish to check older versions or formal, tagged release, please switch to the relevant tag.

Get Started

Requirements

To run this application on your machine, you need at least:

Installation

Install composer in a common location or in your project:

$ curl -s http://getcomposer.org/installer | php

Create the composer.json file as follows:

{
    "require": {
        "phalcon/album-o-rama": "dev-master"
    }
}

Run the composer installer:

$ php composer.phar install

Then you'll need to create the database and initialize schema:

$ echo 'CREATE DATABASE albumorama' | mysql -u root
$ cat schemas/albumorama.sql | mysql -u root albumorama

And set permissions for cache dirs:

$ chmod a+wx var/logs/
$ chmod a+wx var/cache/
$ chmod a+wx var/volt/

License

Album O'Rama is open-sourced software licensed under the New BSD License. © Phalcon Team and contributors

Comments
  • Service 'view' wasn't found in the dependency injection container

    Service 'view' wasn't found in the dependency injection container

    Not Closed :( Most recent version of everything including GH version of album-o-rama. It acts like the album-o-rama / apps / frontend / Module.php register services is not there. Sorry but at the moment I am code blind.

    $di->set('view', function() {
    $view = new \Phalcon\Mvc\View();
    
    $view->setViewsDir(__DIR__.'/views/');
    
    $view->setTemplateBefore('main');
    
    $view->registerEngines(array(
    ".volt" => function($view, $di) {
    
    $volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
    
    $volt->setOptions(array(
    "compiledPath" => __DIR__."/../../var/volt/",
    "compiledExtension" => ".php"
    ));
    
    return $volt;
    }
    ));
    
    return $view;
    
    });
    
    opened by wriver4 6
  • application don't have service 'view' in dependency injection container

    application don't have service 'view' in dependency injection container

    step to reproduce:

    • open album-o-orama in browser
    • error message "Service 'view' wasn't found in the dependency injection container" will appear
    opened by bungcip 5
  • Better 404 error page

    Better 404 error page

    It's a little issue... I think.

    What about something like a rule that routes to a "better" 404 error page

    than: Service 'view' wasn't found in the dependency injection container

    in response a 'wrong' urls like http://album-o-rama.phalconphp.com/phalcon

    Github can inspire us! =^) https://github.com/phalcon/phalcon

    opened by mfer 3
  •  Resolve name conflict in volt templates between 'tag' variable and 'Phalcon\Tag'; Added coment to Index.php

    Resolve name conflict in volt templates between 'tag' variable and 'Phalcon\Tag'; Added coment to Index.php

    There was a conflict in volt templates for the variable 'tag' and the 'Phalcon\Tag' names. I changed the variable in volt templates from 'tag' to 'tagItem' to prevent this errors;

    I also added a comment to the index.php file for users to setup the project in the document_root folder to setup correctly the setBaseUri parameter.

    opened by vhbmsp 1
  • The demo site is no longer functioning correctly.

    The demo site is no longer functioning correctly.

    screen shot 2017-06-22 at 10 29 48

    The demo site is broken and provides a poor example of Phalcon. Could you please resolve the permission errors on the server and find a resolution to the SSL issue?

    opened by IWriteThings 9
Releases(v1.0.0)
Owner
The Phalcon PHP Framework
High performance, full-stack PHP framework delivered as a C extension.
The Phalcon PHP Framework
Invo - Sample application for the Phalcon PHP Framework

INVO Application Phalcon is a web framework delivered as a C extension providing high performance and lower resource consumption. This is a sample app

The Phalcon PHP Framework 344 Dec 14, 2022
Magento sample data includes a sample store, complete with more than 250 products

Magento sample data includes a sample store, complete with more than 250 products (about 200 of them are configurable products), categories, promotional price rules, CMS pages, banners, and so on. Sample data uses the Luma theme on the storefront.

Magento 203 Dec 16, 2022
A Phalcon paginator adapter for Phalcon Collections

Phalcon Collection Paginator A Phalcon paginator adapter for Phalcon Collections Why create this? Being familiar with the various Pagination data adap

Angel S. Moreno 2 Oct 7, 2022
Sample application to bookmark links, where interface build with Angular.js + Twitter Bootstrap and server powered by PHP with Slim Framework

RESTful Bookmarks PHP Slim TODO: review and update FrontEnd Sample application to bookmark links, where interface build with Angular.js + Twitter Boot

Erko Bridee 50 Dec 15, 2021
Sample Web Application in Laravel with tailwind css

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Mulindwa Denis 1 Nov 26, 2021
Implementation of an API application using the Phalcon Framework

phalcon-api Sample API using Phalcon Implementation of an API application using the Phalcon Framework https://phalcon.io Installation Clone the projec

The Phalcon PHP Framework 81 Dec 15, 2022
Phalcon Demo Application

Phalcon Demo Application We use modified Phalcon INVO Application to demonstrate basics of Codeception testing. We expect to implement as many feature

Codeception Testing Framework 42 Oct 7, 2022
Sample code for several design patterns in PHP 8

DesignPatternsPHP Read the Docs of DesignPatternsPHP or Download as PDF/Epub This is a collection of known design patterns and some sample codes on ho

null 21k Jan 5, 2023
Easy Repository pattern for PHP Phalcon framework.

Phalcon Repositories Introduction Phalcon Repositories lets you easily build repositories for your Phalcon models, for both SQL and Mongo drivers. PHP

Michele Angioni 18 Oct 7, 2022
Incubator adapters/functionality for the Phalcon PHP Framework

Phalcon Incubator This is a repository to publish/share/experiment with new adapters, prototypes or functionality that can potentially be incorporated

The Phalcon PHP Framework 735 Dec 27, 2022
CMS based on Phalcon PHP Framework with modular structure

Yona CMS Yona CMS - open source content management system (CMS). Written in Phalcon PHP Framework (version 3.x supported) Has a convenient modular str

Alexander Torosh 369 Dec 27, 2022
A sample project to showcase a real world example and benchmarks for crowphp

CrowPHP Sample project This project is to showcase an example of how a real world project might look like. It has two basic endpoints to show-case the

Crow PHP 3 Aug 16, 2021
A highly compressed version of the magento 1.9 sample data and a script to create it.

Compressed Magento 1.9 Sample Data The following variations are available: 65M compressed-magento-sample-data-1.9.2.4.tgz 64M compressed-magento-sampl

Vinai Kopp 120 Sep 9, 2022
A powerful debug and profilers tool for the Phalcon Framework

Phalcon Debugbar Integrates PHP Debug Bar with Phalcon Framework. 中文说明 Features Normal request capturing Ajax request capturing Redirect request chain

Yajie Zhu 162 Oct 7, 2022
Phalcon PHP Meta tags Service

About Phalcon meta tags plugin for PhalconPHP. This plugin allows you to easily and flexibly customize the meta tags of your view. If this plugin help

null 12 Oct 7, 2022
PHP Profiler & Developer Toolbar (built for Phalcon)

Prophiler - A PHP Profiler & Developer Toolbar built for Phalcon Demo The demo website has been moved to a separate repository: https://github.com/fab

Fabian Fuelling 444 Dec 27, 2022
Phalcon official Forum

Phosphorum 3 Phosphorum is an engine for building flexible, clear and fast forums. You can adapt it to your own needs or improve it if you want. Pleas

The Phalcon PHP Framework 361 Dec 27, 2022
A composer package designed to help you create a JSON:API in Phalcon

phalcon-json-api-package A composer package designed to help you create a JSON:API in Phalcon What happens when a PHP developer wants to create an API

Jim 36 Oct 7, 2022
Setupify is a Phalcon provisioning and development tool.

Setupify Provisioning Tool WARNING: Setupify is currently in a state of experimentation. Use tag release. Setupify is a collection of bash scripts for

Perch Labs 3 Oct 7, 2022