Blog and News

Sample Application: Album O'Rama

image

We are very excited to release our third Phalcon demo after INVO and the alternative PHP website to the community, so as to showcase the power of Phalcon.

In this demo, we decided to go big! We created a music album library where one can get information about their favorite artists, discover new music and much more.

We decided to add volume in this application to showcase how Phalcon behaves with a lot of data. In our database we have:

  • > 5,000 Artists
  • > 50,000 Albums
  • > 30,000 Album tags
  • > 20,000 Artists tags
  • > 100,000 Tracks
  • > 200,000 Photos

To make things even more interesting we introduced a custom layout generator which is invoked every time a new album is requested. This improves aesthetics and showcases the power of Volt, Phalcon's template engine:

image

If you have Spotify installed you may listen most popular songs.

In this demo you will find:

  • Usage the Volt template engine in a real application
  • Generating queries using PHQL (relations, joins, groupings, etc)
  • Basic pagination
  • Use of view helpers
  • Implementation of custom components
  • Implementation of custom routing
  • Implementation of views caching
  • Implementation of a custom error handle

Check the application running here: https://album-o-rama.phalconphp.com

Complete code here: https://github.com/phalcon/album-o-rama

We hope that you enjoy it and looking forward to your comments as well as submissions of your implementations in our Incubator!

<3 The Phalcon Team

01010000011010000110000101101100011000110110111101101110010100000100100001010000