Portfolio

Some of my Jobs

Offertutti

Offertutti

1

Coupon aggregator site I worked for. Duties I had for the company:

  • Consulting
  • CSS redesign
  • XML feeds development -Automation with PHP
  • RSS development and automatic marketing integration with Twitter and Facebook

 

Even though was not a Yii-job, I am more than happy to promote www.offertutti.com here as one of the most pleasant jobs I have ever had in my, already long -gosh how time pass, coding career.

The job was quite challenging, as any site developed by companies from certain countries, but managed to fulfill most of their expectations. Even though I am currently in the middle of a dream project, it continues to be a pleasure to help them out every now and then.

New design is coming…

Tweet this!Tweet this!
Yii Framework

EFeed Universal RSS Feed Writer For Yii

0

Yii Framework

Introduction

Required for one of my projects, I decided to develop my own Yii extension to create RSS Feeds. I knew there is already one but I wanted something easier to use than that. This is why I came up with EFeed Extension. This extension supports RSS 1.0, RSS 2.0, and ATOM 1.0 standards.

How to Use

I assume that you have downloaded the extension and place it on your protected/extensions folder.

RSS 1.0 Example

Yii::import('ext.feed.*');
// specify feed type
$feed = new EFeed(EFeed::RSS1);
$feed->title = 'Testing the RSS 1 EFeed class';
$feed->link = 'http://www.ramirezcobos.com';
$feed->description = 'This is test of creating a RSS 1.0 feed by Universal Feed Writer';
$feed->RSS1ChannelAbout = 'http://www.ramirezcobos.com/about';
// create our item
$item = $feed->createNewItem();
$item->title = 'The first feed';
$item->link = 'http://www.yiiframework.com';
$item->date = time();
$item->description = 'Amaz-ii-ng <b>Yii Framework</b>';
$item->addTag('dc:subject', 'Subject Testing');
 // add it to the feed
$feed->addItem($item);
$feed->generateFeed();

As you can see in the example above, we just need to create items and add them to the feed. The example could be easily modified to add items extracted from a database and add them to the Feed in a loop.

RSS 2.0 Example

Yii::import('ext.feed.*');
// RSS 2.0 is the default type
$feed = new EFeed();
$feed->title= 'Testing RSS 2.0 EFeed class';
$feed->description = 'This is test of creating a RSS 2.0 Feed';
$feed->setImage(
'Testing the EFeed class',
'http://www.ramirezcobos.com',
'http://www.yiiframework.com/forum/uploads/profile/photo-7106.jpg');
$feed->addChannelTag('language', 'en-us');
$feed->addChannelTag('pubDate', date(DATE_RSS, time()));
$item = $feed->createNewItem();
$item->title = "first Feed";
$item->link = "http://www.yahoo.com";
$item->date = time();
$item->description = 'This is test of adding ' .
          'CDATA Encoded description <b>EFeed Extension</b>';
// this is just a test!!
$item->setEncloser(
      'http://www.tester.com',
     '1283629', 'audio/mpeg');
$item->addTag(
     'author',
     'thisisnot@myemail.com (Antonio Ramirez)');
$item->addTag(
     'guid',
     'http://www.ramirezcobos.com',
     array('isPermaLink'=>'true'));
$feed->addItem($item);
$feed->generateFeed();

ATOM 1.0 Example

Yii::import('ext.feed.*');
$feed = new EFeed(EFeed::ATOM);
// IMPORTANT : No need to add id for feed or channel.
// It will be automatically created from link.
$feed->title = 'Testing the ATOM RSS EFeed class';
$feed->link = 'http://www.ramirezcobos.com';
$feed->addChannelTag('updated', date(DATE_ATOM, time()));
$feed->addChannelTag('author', array('name'=>'Antonio Ramirez Cobos'));
$item = $feed->createNewItem();
$item->title = 'The first Feed';
$item->link  = 'http://www.ramirezcobos.com';
// we can also insert well formatted date strings
$item->date ='2010/24/12';
$item->description = 'Test of CDATA Encoded description <b>EFeed Extension</b>';
$feed->addItem($item);
$feed->generateFeed();

Download

To download the extension go to Yii’s extension repository. Hope this little piece of code can help your project needs somehow.

Tweet this!Tweet this!
Restaurant La Parada del Mar

La Parada del Mar

1

Restaurant La Parada del MarWebsite developed for the Spanish Restaurant La Parada del Mar. Customer wanted to have a very simple and direct webpage where to show information about their services.

Website Features



Tweet this!Tweet this!
Home Page

Real Estate Colonia San Pedro

10

Real Estate Web Application fully developed with Yii Framework.

To visit the site: http://www.mallorcacolonia.com/

Website Features

Web Panel Features

  • The webpanel allows to manage:
  • Web Translations
  • Property Types
  • Properties (Sale, Rent, Inactive) – Gallery – Property Owners
  • Zones
  • Site Languages
  • Inbox

Backend Gallery



Tweet this!Tweet this!
Captura de pantalla 2010-07-12 a las 16.03.00

PalmStudios Model Agency

2

Hi there,

I would like to introduce you my last web project: http://www.palmstudios.com

For this project I have developed a sort of MVC (Model View Controller) over the RedBeanPHP DB library (PHP 5.3.2).  This project even though it looks quite simple it has a very power CMS (Content Management System) on its backend that allows the model agency to control most of the aspects of its business:

  1. - Clients Management
  2. - Models Management (Men, Women, Children & Extras) -contact details, measurements, pictures, and so on…
  3. - Promotional Packages Management – this is a special addon which allows the agency to create model promotional bundles to send to its clients

There is a ton of client and server libraries that this application makes use of, such as:

  • JQuery FancyBox
  • JQuery Livequery
  • JQuery AjaxQ
  • PHPMailer
  • RedBeanPHP
  • Savant3 Template Engine
  • PHPThumb
  • TinyMCE

The CMS has a configuration section where site administrator can configure:

  • Web site languages (has multiple language support)
  • Web site translations (you can even ask GOOGLE about a translation depending of the languages installed on the system)
  • Model properties (size, height, waist, etc…)
  • Hair Colors
  • Eye Colors
  • Users

Here is a snapshot gallery of the Site and its CMS

I am open for Freelance Jobs

If any of you would like to create a model agency application like this, let me know, I will be more than happy to collaborate with you on it. I will also sell the source code of its panel for any of you who is interested.



Tweet this!Tweet this!
Screen shot 2010-05-14 at 11.59.50

Restaurant Casablanca

1

Bruno Casablanca Restaurant and Pizzeria

Another site finished: www.brunocasablanca.com

Yeah, is a restaurant business, located in one of the most beautiful places in the Balearic Islands: Betlem, in La Colonia de San Pedro, Majorca, Spain. The site uses a web panel to control:

  • Picture Galleries
  • Web site content
  • Translations
  • Events
  • Suggestions

In this site I make use of one of the greatest galleries around Pirobox, boxen -to display the menu, and FlippingBook HTML Edition for the menu viewing. You can check the website and see how I implemented these three cool tools, feel free to ask me any doubt related to them in case you wish to use it in any of your sites.

Tweet this!Tweet this!
Picture 1

Torrenova Rentacar

0

Torrenova Rentacar

Torrenova Rentacar

I would like to show you one of the reasons of why I have been so busy lately: torrenovarentacar.com.

One of the most complete sites in terms of rentacar systems. Fully synchronized with one of the most used rent a car management programs in Spain, CarPlus (www.cargestion.es) and with a highly powerful control panel where the rent a car owner controls absolutely everything. Its web panel features:

  • Company details
  • Contacts
  • Offices and their Google locations
  • CarPlus Settings and Sync
  • Users
  • Extras
  • Cars
  • Car Groups
  • Car Models
  • Translations (It can set new languages at will)

If you have time, please check it out as I would love to get some feedback about it.
Thanks!

Tweet this!Tweet this!
Go to Top