Saturday, August 7, 2010

SemanticBlog

all about web innovation

Neural networks in PHP

Posted by Christian on March - 11-2010

In phpclasses.org interesting is a recent article on neural networks, movements, PHP has been published.
An example of this article can be found here . The corresponding library is at neuralmesh downloaded are.

PHP

HipHop for PHP - Facebook develops software to speed up PHP

Posted by Christian on February - 4-2010

A blog entry on Facebook Developers of Facebook, according Haiping Zhao has developed a software to speed up PHP development.

The software, known as hip-hop transformed PHP source code in C + + . The thus newly created source code can then be a C + + compiler in highly optimized machine code converted and executed. HipHop contains a module for the transformation of the source code a new implementation of the PHP runtime. Furthermore, the main PHP extensions written by new and can also be used with hip-hop.

The advantages are obvious. PHP is easy to learn and C + + very quickly. With this approach might be better in future server and are used less resource intensive. The software is intended as open source project at github be published. I found it there but not yet :-( .

Reblog this post [with Zemanta]
PHP

Templating engines in PHP

Posted by Christian on December - 29-2009

Which templating engine is the best in the PHP environment? A serious question to which I knew so far also not such a right answer. So far I'm using Smarty gone quite well.
However Smarty also has its shortcomings, for example, relates to the performance.

Naturally there is always the possibility to completely abandon a Templating Engine and PHP easy to use plain. Rasmus Lerdorf this describes in his famous article
The-no-framework PHP MVC framework " .

Fabien Potencies, the lead developer of the symfony framework has templating engines in PHP
exactly wrote the article I have long sought.

He compares the following Engines

  • Twig
  • PHPTAL
  • Dwoo
  • Smarty 2
  • Smarty 3
  • Calypso
  • eZ Templates

and comes to the conclusion that Twig of all tested best cuts. Well, maybe there probably a little self-promotion with him is a game?

PHP

Sphinx as a PHP module embed

Christian Posted by On September - 21-2009

Sphinx to generate a PHP module is important to be able to access the Sphinx API via PHP methods.

How to use:

tar-xzvf sphinx-0.9.8.1.tar.gz
sphinx-0.9.8.1/api/libsphinxclient cd /
. / Configure & & make install

PECL can then be used to build the PHP module:

pecl install sphinx-beta

In version 0.9.9 there was at least to me an error when compiling.

In Sphinx-Forum , there are a tip to:

Here are the commands I used to install and before this I libsphinxclient successful
installed sphinx:
cd / path / to / sphinx / src / api / libsphinxclient /
sudo sh / path / to / sphinx / src / api / libsphinxclient / .buildconf.sh
sudo. / configure
sudo make
sudo make install

But when I used "sudo make" I got this error:
sphinxclient.c: 1216: error: static declaration of 'sock_close' follows non-static
declaration
sphinxclient.c: 280:: note previous declaration of 'sock_close here' what

So I checked the file.

On line: 280

 void sock_close (int sock);

On line: 1216

 static void sock_close (int sock)
 (
 # If _WIN32
         closesocket (sock);
 # Else
         close (sock);
 # Endif
 )

I changed the line 280 to:

 static void sock_close (int sock);

This has eliminated the problem with me. Now you simply have for the module creation with PECL under etc/php5/apache2/php.ini
The following entries are inserted:

[Sphinx]
extension = sphinx.so

That's all. After restarting the Apache server can now be used with PHP API for Sphinx.
phpinfo () should have after installing this entry:

sphinx
Sphinx support enabled
Version 1.0.3
Revision $ Revision: $ 292,826

Who PHP API also Sphinxs (ie the Sphinx engine for MySQL) would use the next, which is this article placed to the heart.

If Compiling Sphinx in Ubuntu 9.10 (Karmic) the following error message appears:
"Check that you do not have MySQL installed include files. The package name is typically 'mysql-devel' "

The following should solve the problem:
apt-get install libmysql + +-dev

Under sorgalla.com also describes how Sphinxs Zend Framework can be integrated with the. Nice thing!

 Sphinx als PHP Modul einbinden

Articles and books about PHP-MySQL Performance

Posted by Christian on July - 21-2009

A small linklist with tips to improve the performance of LAMPP-XAMPP-based systems. The focus is on PHP and MySQL optimization. I am going to extend the article step by step.

PHP

Two Semantic Web with PHP tutorials at IBM Developer Works

Posted by Christian on July - 4-2009

There are two Semantic Web tutorials to be found at IBM Developer Works:

Implement Semantic Web standards in your Web site
http://www.ibm.com/developerworks/edu/x-dw-x-semanticweb.html?S_TACT=105AGX44&S_CMP=EDU

Building Semantic Web CRUD operations using PHP
http://www.ibm.com/developerworks/opensource/library/os-php-crud/index.html?S_TACT=105AGX44&S_CMP=EDU


Web3.0 - Interviews

Submitted by admin
May 12-2010 I View Comments

Internet Web 3.0 Semantic Web

Submitted by Christian
Dec-27-2009 I View Comments

Yahoo Pipes: My pipe semantic web

Submitted by Christian
Nov-2-2009 I View Comments

Back Link Visualization

Submitted by Christian
Nov-1-2009 I View Comments

Blog directory - blog directory bloggerei.de Blog Directory Blog and ping Blog Top List - by TopBlogs.de Bloggeramt.de Blog Directory powered by cloud ranking Multimedia & Internet blogs blog posts
blog search directory Blog Directory Blog Directory Blog Directory Blog Directory Technology Blogs - Blog Rankings blogoscoop

Clicky