Object-Oriented Programming with PHP

Posted on June 28, 2009, under Programming

The recent PHP versions now supports object-oriented programming or OOP, which usually are in class form. Since PHP OOP are in class form,  they have accessors, mutators, data members, etc. — much like the usual OOP programming languages. Last week, we started a short crash course with Web Development with PHP/MYSQL. So, I introduced a bit of OOP since most of the participants have the idea already about OOP ( in Java, C++).

Here’s a snippet I used as a demo during our short session:

<?php
class demo {
var $name;
function setName($nombre)
{
$this->name = $nombre;
}
function getName()
{
return $this->name;
}
}
$naming = new demo();
$naming->setName("Jerome Locson");
echo $naming->getName();

?>

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Bespin: Code Editor on the Web

Posted on June 25, 2009, under Applications, Programming

No code editor in your PC? Are you not comfortable with your text editor when using it for hard coding because it is not color coded? Bespin might help you with that. Bespin is a web-based open-source code editing tool that makes it easy for you to manage and edit codes on the web, anytime.

Bespin is a Mozilla Labs experiment that proposes an open, extensible web-based framework for code editing that aims to increase developer productivity, enable compelling user experiences, and promote the use of open standards.

Introducing Bespin from Dion Almaer on Vimeo.

Currently, it is under its initial prototype framework that includes support for basic editing features, such as syntax highlighting, large file sizes, undo/redo, previewing files in the browser, importing/exporting projects, etc.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

GG Mashup: The Google + Globe Mashup

Posted on June 24, 2009, under Technology News

After the recent Globe + Google Developers Workshop, now opens the Google + Globe Mashup. This gives opportunity for developers to create a mashup application using Google and Globe Labs APIs and earn from it.  Announced during the event, I believe that this will be a two months challenge and will end by 3rd week of August. And for the first 5 application submitted will get a one-year Globe DSL subscription or a Tattoo package. Not bad at all, and with the chance to commercialize your mashup apps.

So, here’s the process (image courtesy of  Globe Labs):

globegoogleprocess

If you’re interested to join, please click here for the complete details. For different Google APIs visit Google Code. Globe Labs APIs are accessible for members only, so please register first to get access to the developer APIs.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

What’s new with Mozilla Firefox 3.5 (RC)?

Posted on June 24, 2009, under Applications

According to statistics, Firefox is the most commonly used browser in the market today. Firefox is the open-source web browser offer from Mozilla which recently released the Firefox 3.5 (Release Candidate) that will be out for public soon.

Here’s a video of Mike Beltzner, Director of Firefox Development, giving a quick tour on what’s new with Firefox 3.5 (Release Candidate):

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Using Google Web Elements (Conversation) as a Blog or Website Chatboard

Posted on June 23, 2009, under Tech Tips

Google-Web-Elements-ChatboardUnveiled by Patrick Chanezon during the recent  Globe + Google Developers Workshop I attended, the Google Web Elements. It is a set of Google products that you can easily customize and integrate in your website or blog. What elements can you add to your site? Well, you can add the following Google products: Calendar, Conversation, Custom Search, Maps, News, Presentations, Spreadsheets and YouTube News.

So, for this demo, I used the conversation element as a chatboard in this blog which is located at the bottom-right panel (see the screenshot).

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Trying out Google Map Maker

Posted on June 23, 2009, under Tech Tips

Google-Map-Maker

The trend in web technology is just awesome. Now, you can even map your community or city online and make it visible to the rest of the world. With Google Map Maker, you can label cities, roads, establishments, etc. in just few clicks. It also allows to collaborate with others who might want to help you with your mapping.

The above photo is the screenshot of my community. I created a polygon shape that covers the area of my barangay and labeled it as seen in the pop-up balloon.

Google Map Maker tool is easy to use. All you need to do is login with your Google Account and locate the place you want to map. There’s a set of tools located above your map which you can use: point, line and shape. Just click on it and select a feature you want to add to your map, like the coffee shop you usually hang-out with your friends.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

The Globe + Google Developers Workshop

Posted on June 21, 2009, under Programming, Tech Tips, Technology News

As a developer, I signed up for the Globe + Google Developers Workshop and decided to book  a flight from Zamboanga to Manila for a short weekend vacation and to attend the event.

globe-+-google-developers-worskhop

Yesterday, June 20, 2009, the event was held at the UP-Ayala Technohub, Commonwealth Ave., Quezon City, and the conference room was jam-packed with developers. I arrived around 12:20pm and signed the attendance sheet. I looked for a place where I can clearly see the screen and of course a spot with a power outlet. WiFi was on. Me? Plurking and Facebooking while waiting for the event to start. Eventually, the WiFi connection went down. Lucky me I have my Globe Visibility Kit ready.

Aileen Apolo then welcomed the participants and the speakers from Globe Telecom and Google.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Ping.fm
  • RSS
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz