27
Apr
featured image

Connect Oracle database on Eclipse Linux using OCCI

posted on Monday April 27th, 2015 / 0 Comments

To develop database application that use Oracle. Of course with Oracle database installed, programer must prepaire two packages provided by Oracle. One use to provide share library (*.so files) for application to run under Linux, another one is provide class header (*.h files) that programer can include in their application. We could download that two packages at http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html, it's called Instant Client. I'm using CentOS 6.2 64 bit, so I will download Instant Client for Linux x86-64, there any many packages, however, only two package we need: Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications. *Instant Client Package - …

more
27
Apr
featured image

Develop “Hello world” Magento extension

posted on Monday April 27th, 2015 / 0 Comments

To develop magento extension, first of all, we must understand about Magento Folder Structure. It you are doing some update but no changing, try to disable Magento cache at System/Cache Management. All magento extension should be place in /app/code/community. In /app/code you also see core folder, sometime may be local folder which is created by other extension. The community or local called Code Pool. Begining, we create our extension folder structure, if my company named Bb, and my extension name is Product, I will create the folder structure /app/code/community/Bb/Product. It's mean our extension stay in community Code Pool and our extension is Bb_Product. Store your extension information in /app/code/community/Bb/Product/etc/config.xml. The simple extension config …

more
PAGE 2 OF 2