PHP Programmer & Web Developer required in Dubai, UAE

PHP Programmer & Web Developer – Dubai, UAE

PHP Programmer & Web Developer, with experience, required for a company.
Vacancy Summary
Job Title PHP Programmer & Web Developer
Job Location Dubai, UAE
Minimum Experience Must be Experienced
Posted on Mar 08, 2012

Email CV to pashinteriors@gmail.com

PHP Developer Internee at AZM Computer Services (Pvt.) Ltd in ISB

PHP Developer Internee at AZM Computer Services (Pvt.) Ltd in Islamabad

Job Description:
The candidate will be responsible for the creation and implementation of a wide variety of Web-based products using PHP, JavaScript, MySQL and AJAX.Other responsibilities include:
– Participating in a team-oriented environment to develop complex web-based applications.
– Maintaining existing code base, to include troubleshooting bugs and adding new features.
Industry: Information Technology
Category: Software Development
Total Position: 5
Job Type: Full Time/Permanent ( firstshift )
Job Location: Islamabad, Pakistan
Gender: Doesn’t Matter
Age: 20 – 30 Years
Minimum Education: Masters
Career Level: Entry Level
Minimum Experience: Less than 1 Year
Salary Range: PKR. 10,000 to 20,000/month
Require Travel: 25%
Apply By: Mar 1, 2012
Posted: Feb 21, 2012

Send your CV at azm-isb@azm.com.pk or Apply through Rozee.pk

Setting up WAMP for Zend Framework Projects

The purpose of this guide is to help experienced and novice. This step by step guide for the more inexperienced. This Zend configuration will not effect your previous project and setting at root directory c:/wamp/www.

  1. Enable virtual hosts, mod_rewrite, and override in ‘httpd.conf’
  2. Set up virtual host in ‘httpd-vhosts.conf’
  3. Follow the Directory Structure
  4. Check include paths for  the Zend library
  5. Add Custom URLs in host file


1. Enable virtual hosts, mod_rewrite, and override in ‘httpd.conf’

Make  sure Wamp server is running. The apache configuration file can be found at ‘C:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf’ or you can get from WampServer icon in the system tray and go to Apache > httpd.conf.

After making a backup, open it in notepad and search for “vhosts”. Make sure the line
# Include conf/extra/httpd-vhosts.conf
is uncommented by removing the “#” in front.

Next, look for the line
# LoadModule rewrite_module modules/mod_rewrite.so
and uncomment it too by just removing “#” .

Lastly, look for
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all
</Directory>

replace the Above code with below
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
# Deny from all
</Directory>

and make sure AllowOverride is set to All instead of none. This prompts Apache to apply rules found in the .htaccess files in sub directories. Save and close.

2. Set up virtual host in ‘httpd-vhosts.conf’

Look for the file in ‘ C:\wamp\bin\apache\Apache2.2.11\conf\extra ’ folder . Make a copy for backup and open it in notepad. Remove all code and simply paste the below code.

# Define localhost

NameVirtualHost localhost:80

DocumentRoot c:/wamp/www

ServerName localhost

ServerAlias localhost

#First Domain for zend

NameVirtualHost dev.local

ServerName dev.local

ServerAlias dev.local

DocumentRoot c:/zendproject/inventory/public

ErrorLog c:/zendproject/inventory/public/error.log

CustomLog c:/zendproject/inventory/public/access.log common

Options -Indexes FollowSymLinks MultiViews

AllowOverride All

Order allow,deny

Allow from all

# as you can see i have created two local domains and you might create as much as you want each domain for each Zend Framework projects.
I was getting the “You don’t have permission to access” error when accessing the page, so i have included the above directory tags and define the permissions before </VirtualHost> tag:

3. Follow the Directory Structure

Don’t forget to create the directory “c:/zendproject/inventory/public” so that the apache server can tell you about the server error or access error in the log.

4. Check include paths for  the Zend library

Make sure you have copied the Zend library into your /library folder and also paste your bin folder your index.php actually combines it with the PHP include path. So for keeping it simple you just paste the below code in c:/zendproject/inventory/public/index.php

<?php
// Define path to applications or projects directory
   defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) .'/../application'));
 // Define application environment   defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
// Ensure library/ is on include_path
   set_include_path(implode(PATH_SEPARATOR, array(     realpath(APPLICATION_PATH . '/../library'),     get_include_path(), )));
/** Zend_Application */
   require_once 'Zend/Application.php';
// Create application, bootstrap, and run
   $application = new Zend_Application(APPLICATION_ENV,APPLICATION_PATH . '/configs/application.ini' );
   $application--->bootstrap()->run();

5. Add Custom URLs in host file

Your host file is located at ‘C:/Windows/System32/drivers/etc/host’. Its a file without extension, but you can open it with notepad just the same. Add the following line to the end:
127.0.0.1       dev.local
Now you can easily access your zend server by just typing. http://dev.local in any browser.

If you still have any problem in configuring here the Source Code of zendproject. just don’t forget to add the zend library.

That’s it. If you are stilling faceing any problem comment below. Good Luck.

PHP Developer For Germany

Wanted experienced PHP developer(s) to work on a CMS project in Frankfurt, Germany.
Required experience in frameworks like Zend and Symphony.

Experience of Content Management System (CMS) is desired.
Knowledge of German language is a big plus but not mandatory.

We offer a competitive and very attractive benefit compensation package including free visa processing, flight tickets and accommodation in Frankfurt.
Immediately send your CV EMAIL: itjobs_pk@yahoo.com

How to get parent category Id in Magento

To get Parent Category Id you must know the current category Id, for that you need to write

<?php
$_cat = new Mage_Catalog_Block_Navigation();
$curent_cat = $_cat->getCurrentCategory();
$curent_cat_id = $curent_cat->getId();?>

Now you can get Parent Category Id.

write the code given below to get the Id

 <?php $parentId=Mage::getModel('catalog/category')->load($curent_cat_id)-&gt;getParentId();
echo  $parentId; // $parentId will print your current category's parent Id
?>

How to Get Current Category Id or Name in Magento

get Current category in magento is so much easy

If you wish to check the current category in everypage(including Homepage as default category is 2) then you can write these code

$_cat = new Mage_Catalog_Block_Navigation();
$curent_cat = $_cat->getCurrentCategory();
$curent_cat_id = $curent_cat->getId();
 
$category = Mage::registry('current_category')->getName();

By the Help of registry()function of magento we can get the Current category ,For get name of that category we can use getName() function .If you need the Id then write getId() instead of getName();

Set Session ID and Get Session Id in Magento

Set a Session value into a session Id in magento is little bit different. If you want to follow the Magento process than you must have to write the code given below to set a value and get a value of a particular Session Id.

To set Session write

<?php Mage::getSingleton('core/session')->setData('session_Id','value'); ?>

To get that session value write

<?php Mage::getSingleton('core/session')->getData('session_Id'); ?>

How to change category page layout in Magento

How to change category page layout in Magento

Default Category page layout is written in page.xml file which resides in app/design/frontend/default/your-theme/layout/. Open Page.xml then change line number 35 or find .

 
<default translate="label" module="page">
<label>All Pages</label>
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">

Change default 3columns.phtml to 1Coloumn.phtml or 2columns-left/right.phtml .Then save and upload it .
Clear your cache to see the effects.

Note :: Changing all page layout doesn’t effect other pages of magento it effects only the category page. So don’t hesitate to change this.