Development, Hardware, Musings

Always good to learn new things (even with PHP)

2012-09-12 Singapore PHP User Group Meetup

Magento
http://alanstorm.com/
http://inchoo.net/
http://www.aschroder.com/
http://blog.magepsycho.com/

Hardware hacking (RaspberryPi) with PHP
hardware-hacking-with-php-via-raspberry-pi
GPIO Libraries
https://github.com/WiringPi/WiringPi-PHP
https://github.com/pickley/PHP-GPIO
https://github.com/uzyn/raspi-gpio-demo.php

Restler for PHP Restful api
http://www.facebook.com/Luracast
Behat (BDD for php)
http://blog.phpdeveloper.org/?p=456

Facebook groups

sghypertextpreprocessors
raspberrypisingapore

 

Standard
Development

A year of projects with ST701, Singapore Press Holdings

In the course of a year with ST701 (2009 to 2010), I had quite a bit of fun creating up a framework for PHP Content Management from scratch rather than using the familiar Joomla or WordPress. Didn’t quite manage to use Drupal in the end since I wasn’t involved in the project. Got to cover quite a bit of jQuery and front-end work with some very talented web designers and developers. Parenting and Spree was more enjoyable (looking back) as it involved more product planning  and discussions.

ST701 - Nurture your child

ST701 - Nurture your child

http://parenting.st701.com/

Custom framework with Content Management, Forum, Event Organizer Profiles and Contest Submission

ST701 - Spree

ST701 - Spree

http://spree.st701.com/

Custom framework with Content Management, Forum, Social Profiles, Dispute Resolution, Group Purchasing and Shopping Cart

Jason Yee's Online Trading Journal - Trade Transactions

Jason Yee's Online Trading Journal - Trade Transactions

http://trading-mentor-sg.com/

Custom framework for Trading Activity Recording

Lovesparkz

Lovesparkz

http://lovesparkz.com/

Customization of Dating Portal

Sevendays

Sevendays

http://7days.com.sg/

Custom framework for Content Management, Online Appointment Booking and Product Catalog

Chrissie Signature

Chrissie Signature

http://chrissiesignature.com/

Customization of Magento

Pocket Bag - Reusable Bag

Pocket Bag - Reusable Bag

http://pocketbag.sg/

Custom framework for Content Management, Product Catalog and Order Management

Summerblue Trading Admin

Summerblue Trading Admin

http://summerblue.com.sg/

Custom framework for Content Management, Product Catalog and Shopping Cart

Standard
Development

Quick way to create patch files based on modified date with xcopy

Recent projects and deployment method made it difficult to simply publish changes to a web server. Had been doing it manually (check for modified files, copy and transfer) and thought it was wasting too much time each day when change requests occur. After some quick research, I realized that the simplest method would just be to use the good old “xcopy” command in windows. (this is why command prompt tools should be taught in schools). For a quick refresher on batch commands, read http://www.computerhope.com/batch.htm.

I realize that a proper source control (like Git or Subversion) would be nicer but in my case, a simple batch file is just easier to work with.

Copy and paste the following code in your deployment folder that will create a patch folder based on last modified dates of working files.

[START EVENT.BAT]

@echo off
REM – http://www.computerhope.com/batch.htm
ECHO Usage : events [patch-num] [m-d-y]

SET SRC=c:xampphtdocsevents
SET DEST=c:deploymentevents

IF (%1)==() GOTO END
IF (%2)==() GOTO TODAYDATE

ECHO Copying files modified on %2
xcopy %SRC% %DEST%%1 /D:%2 /S /C /I /Y
GOTO END

:TODAYDATE
FOR /F “tokens=1-5 delims=/ ” %%a in (“%date%”) DO SET year=%%c
FOR /F “tokens=1-5 delims=/ ” %%a in (“%date%”) DO SET month=%%b
FOR /F “tokens=1-5 delims=/ ” %%a in (“%date%”) DO SET day=%%a

SET TODAY=%month%-%day%-%year%
ECHO Copying files modified on %TODAY%

xcopy %SRC% %DEST%%1 /D:%TODAY% /S /C /I /Y

:END
@echo on

[END EVENT.BAT]

Standard
Uncategorized

Web Design & Programming for Car Lingual Pte Ltd

Client: Car Lingual Pte Ltd
Business Type: Car Automotive
Project: Car Lingual Website
Website: www.carlingual.com.sg

Car Lingual is a Singapore parallel car importer. On9 Systems was commissioned to create an online showroom of the cars that are sold as well as to provide an online profile of the company.

Car Lingual Pte Ltd
210 Turf Club Road
Lot A11, A12, A27, A28
Turf Club Auto Emporium
Singapore 287995
Tel : 65 6463 3777
Fax : 65 6463 2777
Email : enquiry@carlingual.com.sg

Standard