Zend framework Flickr class on Codeignier with jquery

zend_flickr1
This file does not contain CI core and Zend framework.
You can download the previous files and add to it.

This is an extension of using Zend_Service_Flickr from this post.

Continue reading Zend framework Flickr class on Codeignier with jquery

Zend Framework on Codeigniter: Youtube

youtube3
This post is about how to use Zend Framework on Codeigniter to show Youtube videos.
Continue reading Zend Framework on Codeigniter: Youtube

How to implement Zend Framework with Codeigniter

Download Files

There are quite few posts how to use Zend framework in Codeigniter.

  1. Beyond Coding
  2. Freakauth
  3. Phil’s post

However none of them worked on my XAMPP. I thought there might be some who are struggling to use Zend frame work on Windows. Here is how I did.

Here you can read why they don’t work with Windows.

Adding Zend Framework

Here you can read how to add Zend Framework. And I use this structure for this post.

You need to create a folder ../system/contrib/ and add Zend folders in this folder.

../system/ contrib/ Zend/ Acl/ Acl.php Amf/ Amf.php ...

Create a file system/application/helpers/zend_framework_helper.php and add the following.
Continue reading How to implement Zend Framework with Codeigniter

Path problems with Codeigniter on Windows

I posted how to implement Zend Framework here. However I had a problem with Window’s path when I was trying it.

I have found a couple of things about paths in Windows when I am using Codeigniter.
As all know that Windows uses \ for the path. For example, C:\xampp\htdocs\codeigniter\system\contrib. Linux uses / for the path. For example, /home/1/o/mywebsite/www/codeigniter/system/.

If you are using XAMPP or WAMP for your web development, you might have a problem with this difference.
Continue reading Path problems with Codeigniter on Windows

Codeigniter shopping cart v1.0 code updates

I added the following article to Codeigniter wiki today

You can find a newer version here.

Download Files

Background and Credits

I learnt Codeigniter from a book “Professional Codeigniter” by Mr. Thomas Myer.

I started learning PHP six months ago and read a couple of good books about PHP and I had basic knowledge but not practical experience of PHP.

Professional Codeigniter was delightful to read. I have learnt a lot from the book. I highly recommend the book if you are a beginner like me and want to learn CI in practical ways.

Especially I enjoyed it in three ways.
1. There are some bugs which could not make it for the final edition. But I am glad that it did not make it. Because fixing these taught me more than I expected. I used the book forum, CI forum and Stackoverflow to solve the problems.

2. Reading a book which teachs you how to create one applicatoin, in this case is shopping cart, is the best way for me to learn PHP and CI.

3. While I was reading the book, I wanted to change the application in my way. And this was again good learning for me.

I recommend the book and read through it to understand fully.

I obtained a permission from the author and I’d like to add my version of updated code here.
Continue reading Codeigniter shopping cart v1.0 code updates

How to use Codeigniter captcha plug-in Part 2

DOWN LOAD
In the previous post I wrote a basic method how to use captcha plug-in with Codeigniter.
Today I am going to write a simple but practical newsletter subsciption page using captcha.
We will use CI’s form_validation class.

ci_captcha

Please read the previous post to customize it.
You need to create a folder called captcha as the same level as system.
Continue reading How to use Codeigniter captcha plug-in Part 2

Zend framework Youtube class on Codeigniter with jquery

Download

This does not contain Codeigniter or Zend framework. If you need them please download it from here.

Introduction

The previous post “Zend Framework on Codeigniter: Youtube” involved three steps to see a video. And it did not have any style.

Goals

I will reduce it to two steps, add a minimum styling and use jquery tools scrollable.
zend_youtube_2_1

Continue reading Zend framework Youtube class on Codeigniter with jquery