Ansermot.ch Another computer sciences blog….

30nov/090

cURL : 10 way to use it

cURL is a PHP extension to communicate easily with other web sites. Libcurl extension will allow you to perform operations that you do not always have to think like submitting forms.

Jean-Baptiste Jung suggests in an article 10 ways to use the cURL extension.
The issues addressed are:

  • Updating Facebook status
  • Getting server's loading speed
  • Connection with mySpace
  • Post something on your WordPress blog
  • Checking url availability
  • Post on Twitter
  • And many more...

Read the article

30nov/090

TYPO3 Version 4.3 Released

BAAR, 2009-11-30Today the TYPO3 Association released the newest version of their outstandingly successful Open Source project TYPO3. TYPO3 has been downloaded over 4.1 million times – making it one of the world’s leading Enterprise Open Source projects.

The latest TYPO3 version 4.3 comes packed with numerous brand new features and improvements. Highlights include the completely new Frontend editing module and the integration of Extbase and Fluid. Additionally, TYPO3’s already excellent security features have been improved even further.

Read the full announce

30nov/090

Video Contest Extended!

The contest's deadline extended to the 4th december (UTC-8).
Remember, the winner of the contest wins a Flip Mino HD video camera, plus a one-year subscription to VideoPress!

Contest's page
Read the full post

30nov/090

Black Friday 20 hour 20% off sale now on!

In the US there are some strange traditions, and one of them is the day after Thanksgiving when people line up from 3 or 4 in the morning to be the first people in a store when it opens to get some item for a really good price. This is ostensibly to get a head start on Christmas shopping.

If you're interested to see the full offer, go there

27nov/090

Zorba with PHP

Zorba is an application which conforms to the standard XQuery processor. Now Zorba proposes an extension to PHP which it is provided with the API.
With this new extension, new features in PHP appear, like this developer and development can add sophisticated treatment of XQuery for applications PHP / XML.
Vikram Vaswani offers a tutorial for using this extension, including the following:

  • Basic usage
  • Treatment sequences
  • Filtering and Sorting Data
  • Manipulations
  • Repos functions
  • Json functions

Zorba official site
Zorba PHP tutorial

26nov/090

TYPO3 Hooks Tutorial

Some days ago I needed to extends tt_news for adding some required features.
While googling, I found this cute tutorial, using the extension wfqbe as exemple.

Helpful knowledge: You should know the basics of extension building (creating a new extension with the kickstarter should suffice), if you haven’t worked with wfqbe so far you should get to know the extension first. wfqbe requires some basic SQL skills.

If you need to learn more about hooks, then go read it here

25nov/090

Indexing content with PHP

Indexing the web content may be in different ways. Among other using PHP and Swish-E as a simple web-based system of human indexing.

With this technique, you will be able to perform efficient indexing related files as HTML, XML, PDF or DOC.

Vikram Vaswani shows as a tutorial, using this technique with the use of the PECL extension

Read how to do this

25nov/090

Use APIs with PHP

Jeez wrote an article containing a summary of the most popular applications on the Internet. These APIs have the advantage of being able to connect themself with your PHP scripts.

Even if all developers are aware of the possibilities of connection, it is always useful to be able to easily find all available links.

Here's a list of the most commons :

  • Akismet
  • Amazon
  • Blogging
  • Compete
  • Delicius
  • Digg
  • eBay
  • Facebook
  • Google
  • Twitter
  • Yahoo
  • Youtube

Read the post

25nov/092

WordPress.com : New blog subscription

There are many ways of reading WordPress.com blogs and we’ve now added another: email subscriptions.

This is a very simple way for your readers to subscribe to your blog and receive updates by email. Anyone can subscribe, whether they have a WordPress.com account or not. All you need to do is add the Blog Subscription widget to your blog and then you and your readers are ready to go.

So. If you have a wp.com blog, run to it :)
Read the full post

24nov/090

GreenSQL

GreenSQL is Firewall application for SQL databases MySQL and PostgreSQL.
This API is distributed under GPL and will protect you from many types of attacks as:

  • SQL Injection
  • Cross-Site Scripting
  • Cross-Site Requests Forgeries

Its operation is based on reverse-proxy mode, meaning that the SQL query will be forwarded to GreenSQL which will analyze and then pass it to MySQL if it is valid.
Different versions exist for running GreenSQL on many distributions: CentOS, Debian, Fedora, Mandriva, RHEL 5, SLE 5, Opensuse, Ubuntu.

GreenSQL website
GreenSQL Performances test
GreenSQL demo page