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();
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.
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.
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):
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.
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):
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.
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.
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.