<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>php-gtk &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/php-gtk/</link>
	<description>Feed of posts on WordPress.com tagged "php-gtk"</description>
	<pubDate>Thu, 07 Aug 2008 23:04:17 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Aplicações Desktop com PHP - Parte 1]]></title>
<link>http://tidoc.wordpress.com/?p=8</link>
<pubDate>Tue, 24 Jun 2008 23:51:29 +0000</pubDate>
<dc:creator>Fernando Libório</dc:creator>
<guid>http://tidoc.wordpress.com/?p=8</guid>
<description><![CDATA[Que o PHP é uma das linguagens de programação mais usadas em ambiente web, todo mundo sabe. Mas p]]></description>
<content:encoded><![CDATA[<p>Que o PHP é uma das linguagens de programação mais usadas em ambiente web, todo mundo sabe. Mas pouca gente sabe que também é possível criar aplicações desktop com ela. E é isso que nós iremos fazer. Para tal, iremos utilizar o PHP-GTK.</p>
<p><strong>O que é GTK/GTK+?<br />
</strong>O GTK (Gimp Tool Kit) é uma poderosa biblioteca para desenvolvimento de aplicações GUI multi-plataforma, muito utilizada no mundo linux e que vem ganhando seu espaço também no windows.</p>
<p><strong></strong></p>
<p><strong>PHP-GTK</strong><br />
É linguagem binding que permite aos desenvolvedores PHP criarem aplicações gráficas multi-plataforma sem abrir mão dos recursos do PHP.</p>
<p>Vamos então instalar os trecos \o/</p>
<p><strong>Ingredientes</strong></p>
<ol>
<li>PHP-GTK</li>
<li>Uma caneca com café</li>
</ol>
<p><strong>Instalação do PHP-GTK no Windows<br />
</strong>Baixe aqui <a title="http://sourceforge.net/project/downloading.php?groupname=agata&#38;filename=php-gtk2b.exe&#38;use_mirror=ufpr" href="http://sourceforge.net/project/downloading.php?groupname=agata&#38;filename=php-gtk2b.exe&#38;use_mirror=ufpr" target="_blank">http://sourceforge.net/project/downloading.php?groupname=agata&#38;filename=php-gtk2b.exe&#38;use_mirror=ufpr</a> o instalador, execute-o e seja feliz.</p>
<p><strong>Instalação do PHP-GTK no Linux<br />
</strong>Baixe aqui <a title="http://sourceforge.net/project/downloading.php?groupname=agata&#38;filename=php-gtk2b.tar.gz&#38;use_mirror=ufpr" href="http://sourceforge.net/project/downloading.php?groupname=agata&#38;filename=php-gtk2b.tar.gz&#38;use_mirror=ufpr" target="_blank">http://sourceforge.net/project/downloading.php?groupname=agata&#38;filename=php-gtk2b.tar.gz&#38;use_mirror=ufpr</a> o pacote pré-compilado e siga os passos abaixo:</p>
<div style="background-color:#E1E1E1;"><span style="color:#000000;"># tar -xvzf php-gtk2b.tar.gz<br />
# mv php-gtk2 /usr/local/<br />
# ln -sf /usr/local/php-gtk2/bin/php /usr/bin/php-gtk2</span></div>
<p><strong>1,2,3, testando</strong><br />
Para testar crie um novo arquivo chamdo <em>exemplo.php</em> com o código abaixo:</p>
<div style="background-color:#E1E1E1;"><span style="color:#000000;">&#60;?php<br />
if (!class_exists('gtk')) {<br />
die("O módulo php-gtk2 não foi carregado corretamente. Verifique seu php.ini.");<br />
}$wnd = &#38;new GtkWindow();<br />
$wnd-&#62;set_title('Exemplo');<br />
$wnd-&#62;connect_simple('destroy', array('gtk', 'main_quit'));</span><span style="color:#000000;">$label = &#38;new GtkLabel("Perdeu preiboy!'");<br />
$wnd-&#62;add($label);</span></p>
<p><span style="color:#000000;">$wnd-&#62;show_all();<br />
Gtk::main();<br />
?&#62;</span></div>
<p>Para executar, vá até a linha de comando e execute:<br />
No Linux</p>
<div style="background-color:#E1E1E1;"><span style="color:#000000;"># php-gtk2 exemplo.php</span></div>
<p>No Windows</p>
<div style="background-color:#E1E1E1;"><span style="color:#000000;">C:\php-gtk2\php.exe exemplo.php</span></div>
<p>É isso ai. No próximo post vamos explorar melhor os recursos do PHP-GTK.</p>
<p>Pra quem quiser saber mais sobre o projeto:<br />
<a title="http://www.php-gtk.com.br/" href="http://www.php-gtk.com.br/" target="_blank">http://www.php-gtk.com.br/</a><br />
<a title="http://gtk.php.net/" href="http://gtk.php.net/" target="_blank">http://gtk.php.net/</a><br />
Abraços!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[PHP-Gtk - Pierwsze starcie]]></title>
<link>http://adawo.wordpress.com/?p=124</link>
<pubDate>Tue, 29 Apr 2008 15:44:12 +0000</pubDate>
<dc:creator>adawo</dc:creator>
<guid>http://adawo.wordpress.com/?p=124</guid>
<description><![CDATA[Może na początek kilka słów czym jest PHP-Gtk, otóż PHP-Gtk to rozszerzenie PHP pozwalające n]]></description>
<content:encoded><![CDATA[<p>Może na początek kilka słów czym jest PHP-Gtk, otóż PHP-Gtk to rozszerzenie PHP pozwalające na pisanie aplikacji z użyciem biblioteki <a href="http://pl.wikipedia.org/wiki/GTK">GTK</a> służącej do tworzenia graficznego interfecu użytkownika.</p>
<p>Na początek przerobiłem kilka tutoriali, zapoznałem się z z grubsza z dokumentacją i zabrałem się za pisanie. Połączenie biblioteki standardowej PHP, przenośność samego PHP i GTK jak i forma aplikacji pisanych w PHP + możliwość tworzenia "okienkowych" aplikacji to z góry musiało być ekstremalne połączenie. I nie pomyliłem się... Piszę się jak najbardziej szybko i przyjemnie, a efekty widać niemalże od razu!</p>
<p>Jedyne na co można ponarzekać to znikoma ilość zasobów w sieci na ten temat. No ale pomocą służy tu dokumentacja PHP-Gtk (niestety jeszcze nie kompletna), jak i dokumentacja znajdująca się w <a href="http://library.gnome.org/devel/">GNOME Library</a>. Pomocne również mogą okazać się portale wymienione na liście na końcu postu.</p>
<p>Efekty pierwszego starcia z PHP-Gtk to jak na razie napisany w jedno niedzielne popołudnie <a href="http://adawo.wordpress.com/2008/04/29/php-gtk-notepad/">edytor tekstowy al'a MS Notepad</a> który nawet nosi podobną nazwę.</p>
<p>Kilka pomocnych lików:</p>
<ul>
<li><a href="http://gtk.php.net/">PHP-Gtk</a> (ang) - oficjalna strona rozszerzenia zawierająca dokumentacje jak i tutorial będący obowiązkową pozycja dla rozpoczynających przygodę z rozszerzeniem.</li>
<li><a href="http://blog.radmen.info/2007/06/04/kurs-php-gtk-cz-1/">Część I</a> i <a href="http://blog.radmen.info/2007/09/02/kurs-php-gtk-cz-2/">część II</a> kursu z oficjalnej strony przetłumaczona na nasz ojczysty język</li>
<li><a href="http://oops.opsat.net/">OOPS site</a> (ang) - strona z informacjami niezbędnymi dla początkujących, w tym jak <a href="http://oops.opsat.net/doc/gtk/configure-php.html">skonfigurować rozszerzenie</a>!</li>
<li><a href="http://php-gtk.eu/">PHP-GTK Community</a> (ang) - newsy dotyczące PHP-Gtk, spora liczba artykułów jak i <a href="http://php-gtk.eu/apps">katalog aplikacji</a> napisanych za pomocą PHP-Gtk</li>
<li><a href="http://www.kksou.com/php-gtk2/">php-gtk2 Cookbook</a> (ang) - strona z ponad 400 przykładowymi kodami.</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[PHP Gtk Notepad]]></title>
<link>http://adawo.wordpress.com/?p=125</link>
<pubDate>Tue, 29 Apr 2008 15:42:50 +0000</pubDate>
<dc:creator>adawo</dc:creator>
<guid>http://adawo.wordpress.com/?p=125</guid>
<description><![CDATA[Efekt mojego pierwszego starcia z rozszerzeniem PHP-Gtk, prosty edytor tekstowy wzorowany na windows]]></description>
<content:encoded><![CDATA[<p><a href="http://adawo.wordpress.com/files/2008/04/php-gtk-notepad.png"><img class="alignleft size-thumbnail wp-image-126" src="http://adawo.wordpress.com/files/2008/04/php-gtk-notepad.png?w=128" alt="PHP Gtk Notepad v0.0.1" width="128" height="96" /></a>Efekt mojego <a href="http://adawo.wordpress.com/2008/04/29/php-gtk-pierwsze-starcie/">pierwszego starcia z rozszerzeniem PHP-Gtk</a>, prosty edytor tekstowy wzorowany na windowsowym notatniku. Wymaga zainstalowanego parsera PHP z wyżej wymienionym rozszerzeniem.</p>
<p>Pierwsza wersja programu, jak na razie obsługująca tylko podstawowe funkcje takie jak tworzenie nowego dokumentu, otwieranie, zapis czy obsługa schowka systemowego.</p>
<p>Zostawiłem sporą liczbę komentarzy więc może posłużyć jako materiał do nauki. Licencja to oczywiście GPL ;)</p>
<p><a href="http://chomikuj.pl/kaktus/Programownie/*c5*b9r*c3*b3d*c5*82a/PHP+Gtk+Notepad.tar.gz">Ściągnij kod źródłowy programu (.tar.gz)</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[PHP-GTK 2: Instalación]]></title>
<link>http://sonidolibre.wordpress.com/2008/04/10/php-gtk-2-instalacion/</link>
<pubDate>Thu, 10 Apr 2008 21:59:39 +0000</pubDate>
<dc:creator>keogh</dc:creator>
<guid>http://sonidolibre.wordpress.com/2008/04/10/php-gtk-2-instalacion/</guid>
<description><![CDATA[PHP-GTK es una extensión para PHP que implementa vínculos de lenguaje GTK+. Provee de una interfaz]]></description>
<content:encoded><![CDATA[<p><a href="http://sonidolibre.files.wordpress.com/2008/04/php-gtk.gif"><img class="alignright size-full wp-image-36" style="float:right;margin:5px 10px;" src="http://sonidolibre.wordpress.com/files/2008/04/php-gtk.gif" alt="" width="165" height="68" /></a><a href="http://gtk.php.net/" target="_blank">PHP-GTK</a> es una extensión para <a href="http://www.php.net" target="_blank">PHP</a> que implementa vínculos de lenguaje <a href="http://www.gtk.org/" target="_blank">GTK+</a>. Provee de una interfaz orientada a objetos con las clases y funciones de GTK+ y simplifica enormemente escribir aplicaciones gráficas multiplataforma de lado del cliente. La verdad aun no se bien que significa eso, pero vamos a probar. En este articulo veremos como instalar esta extensión, en futuros post pondré los avances que tenga sobre esta extensión y que tanta posibilidades tiene.</p>
<p>El caso es que podemos crear ventanas desde PHP, interesante no?, pues a mi si me lo pareció, en este artículo veremos como instalarlo en Ubuntu. Ocupamos tener instalados varios programas y librerías, lo cual es super fácil en Ubuntu y lo puedes hacer de dos maneras:</p>
<ol>
<li>Buscar el nombre en el Gestor de Paquetes Synaptic y marcarlo para instalar (aceptando todas las dependencias extras que esto conlleve).</li>
<li>Hacerlo desde consola con el comando apt: <em>sudo apt-get install paquete1 paquete2 paqueteN.</em> Sustituyendo paquete1, etc por el nombre del paquete que quieras instalar.</li>
</ol>
<p>La versión a instalar será la 2, por lo tanto necesitas tener instalado por la menos la versión 5.1 de PHP o superior, además de tener habilitado el CLI (Command Line Interpreter), esto se hace instalando el paquete php5-cli listado abajo. Para ver la versión de PHP que tienes instalada ve a consola y teclea <em>php -v</em>. Si toda va bien dirá la versión que tienes instalada, recuerda que debe aparecer <em>cli</em> por algún lado. Si no funciona necesitas instalar CLI.</p>
<p>Unos paquetes sirven para compilar los fuentes que bajaremos, otros para poder ejecutar las aplicaciones, otras serán librerías, la verdad no se para que son varios, al principio tuve problemas con la instalación y gracias a <a href="http://www.ubuntu-es.org" target="_blank">Ubuntu-es</a> encontré la solución y era cumplir con estas dependencias, muy mal que no lo encontré en el sitio oficial de PHP-GTK, aun así ya tenía varios instalados. Recuerda que tienes que tener activados los paquetes <em>multiverse </em>y <em>universe</em>. Esta es la lista de los paquetes que necesitas instalar para que PHP-GTK 2 funcione.</p>
<ul>
<li><strong><em>make</em></strong></li>
<li><strong><em>autoconf</em></strong></li>
<li><strong><em>gcc</em></strong></li>
<li><strong><em>libpng12-dev</em></strong></li>
<li><strong><em>libtiff-dev</em></strong></li>
<li><strong><em>libjpeg-dev</em></strong></li>
<li><strong><em>xorg-dev</em></strong></li>
<li><strong><em>render-dev</em></strong></li>
<li><strong><em>gpp</em></strong></li>
<li><strong><em>g++</em></strong></li>
<li><strong><em>libglib2.0-dev</em></strong></li>
<li><strong><em>libpango1.0-dev</em></strong></li>
<li><strong><em>libatk1.0-dev</em></strong></li>
<li><strong><em>libgtk2.0-dev</em></strong></li>
<li><strong><em>php5</em></strong></li>
<li><strong><em>php5-cli</em></strong></li>
<li><strong><em>php5-dev</em></strong></li>
</ul>
<p>Ya que instalamos todos los paquetes necesarios procedemos a bajarnos el último release de el <a href="http://gtk.php.net/download.php" target="_blank">sitio de descarga oficial de PHP-GTK 2</a>. Lo descargamos y lo descomprimimos, entramos en la carpeta y ejecutamos, en Ubuntu (en las demás distribuciones es igual, solo sin comando <em>sudo</em> y creo que debemos de tener permisos de instalar):</p>
<p><code> $ ./buildconf<br />
$ ./configure<br />
$ make<br />
$ sudo make install</code></p>
<p>Demasiado fácil para ser verdad. Estoy creando una serie de post para explicar como programar con PHP-GTK 2, próximamente, no coman ansias, pueden checar la documentación, tutoriales y ejemplos en el <a href="http://gtk.php.net/" target="_blank">sitio oficial de PHP-GTK2</a>.</p>
<p>s4lu2</p>
<p><span style="color:#800000;"><strong>Amarok playing: Brain VS CPU by Highko</strong></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Revistas online (7)]]></title>
<link>http://siriarah.wordpress.com/?p=58</link>
<pubDate>Tue, 11 Mar 2008 12:16:09 +0000</pubDate>
<dc:creator>siriarah</dc:creator>
<guid>http://siriarah.wordpress.com/?p=58</guid>
<description><![CDATA[Dando prosseguimento aos posts sobre revistas gratuitas disponíveis online, apresento agora a você]]></description>
<content:encoded><![CDATA[<p>Dando prosseguimento aos posts sobre revistas gratuitas disponíveis online, apresento agora a vocês a revista para programadores PHP, a <a href="http://www.phpmagazine.com.br/" target="_blank">PHP Magazine</a>. Esta é uma publicação brasileira, e hoje, saiu a sua <a href="http://www.phpmagazine.com.br/portal/?modulo=secao&#38;id=50" target="_blank">quarta edição</a>. Apesar da revista ser gratuita, para se fazer o download desta edição ou das anteriores, é necessário que se faça um cadastro, também gratuito. Abaixo um resumo da edição atual:</p>
<ul>
<li>phpDocumentor;</li>
<li>Desenvolvendo em PHP para linha de comando - CLI;</li>
<li>Ataque de sobrecarga utilizando utilizando SMTP Injection. O que é, como é e como se prevenir;</li>
<li>Gerando planilhas em Excel com PHP-GTK;</li>
<li>AJAX e PHP I: Conhecendo AJAX;</li>
<li>Webmail com PHP + JAVA;</li>
<li>Criação de imagens on-the-fly.</li>
</ul>
<p>E se você é programador PHP pode também enviar artigos que podem ser publicados nas próximas edições; para saber basta ir até o site da revista.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Belajar PHP-GTK]]></title>
<link>http://iwansetiawan.wordpress.com/2007/12/18/belajar-php-gtk/</link>
<pubDate>Tue, 18 Dec 2007 04:53:22 +0000</pubDate>
<dc:creator>iwansetiawan</dc:creator>
<guid>http://iwansetiawan.wordpress.com/2007/12/18/belajar-php-gtk/</guid>
<description><![CDATA[Rencana mau bikin billing client. karena sudah familiar dengan PHP aku pilih belajar PHP-GTK, pemrog]]></description>
<content:encoded><![CDATA[<p>Rencana mau bikin billing client. karena sudah familiar dengan PHP aku pilih belajar PHP-GTK, pemrogram GUI di Linux.</p>
<p><b>Installasi PHP-GTK di ubuntu feisty:</b></p>
<p># apt-get install php5-cli libglade2-0 libgtksourceview1.0-0<br />
# wget<br />
http://quinton.free.fr/php/gtk/packages/ubuntu-feisty/php5-gtk2_5.2.1-2.deb<br />
# dpkg -i  php5-gtk2_5.2.1-2.deb</p>
<p>test php-gtk<br />
# php -q /usr/share/doc/php5-gtk2/examples/flowers-oo.php</p>
<p>sumber : <a href="http://surabaya.linux.or.id/archives/2007/03/13/instalasi-php-gtk-ubuntu-edgy.html" title="instalasi-php-gtk-ubuntu-edgy">instalasi-php-gtk-ubuntu-edgy</a></p>
<p><b>Applikasi Pertama "Hello  world"</b></p>
<p>Tutorialnya ada disini -&#62; <a href="http://www.php-library.com/phpgtk_man/tutorials.hellow.html" title="Hello World Tutorial">Hello World Tutorial </a></p>
<p><b>Contoh Applikasi Kiosk</b></p>
<p>Alamatnya disini -&#62; <a href="http://www.kksou.com/php-gtk2/apps/kiosk/application-template-kiosk-app-01.php" title="php-gtk kiosk application">Kiosk</a></p>
<p><b>Note:</b></p>
<p>Setelah aku install php-gtk ternyata PHP-Apache jadi nggak bisa jalan.  Ketika aku menjalan file .php dari browser hanya tampilan kosong (blank page) yang aku dapat.</p>
<p>Setelah Aku searching di google, ternyata memang terjadi konflik php-gtk module dengan php-apache. <a href="http://ubuntuforums.org/showthread.php?t=465595">disitu</a> dijelaskan aku harus menghapus/memindah file /etc/php5/conf.d/php_gtk2.so ke tempat lain</p>
<p># rm /etc/php5/conf.d/php_gtk2.so<br />
# /etc/init.d/apache2 force-reload</p>
<p>Memang php-apache bisa berjalan lagi, tapi php-gtk jadi nggak jalan. Setelah Aku teliti ternyata /etc/php5/apache2/conf.d dan /etc/php5/cli/conf.d melink ketempat yang sama /etc/php5/conf.d. Jelas saja Apache menjadi error karena meload module php_gtk2.so</p>
<p><b>PHP-Apache and PHP-GTK work together</b></p>
<p>biar keduanya bisa jalan hapus php_gtk2.so dari /etc/php5/conf.d dan tambahkan baris "extension=php_gtk2.so" pada file /etc/php5/cli/php.ini</p>
<p># rm /etc/php5/conf.d/php_gtk2.so<br />
# echo "" &#62;&#62; /etc/php5/cli/php.ini<br />
# echo "extension=php_gtk2.so" &#62;&#62; /etc/php5/cli/php.ini</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Installation of PHP-GTK 2]]></title>
<link>http://bobzee.wordpress.com/2006/08/16/installation-of-php-gtk-2/</link>
<pubDate>Wed, 16 Aug 2006 19:21:45 +0000</pubDate>
<dc:creator>bobzee</dc:creator>
<guid>http://bobzee.wordpress.com/2006/08/16/installation-of-php-gtk-2/</guid>
<description><![CDATA[Basic Installtion Guide for Windows Users
There are many many versions of installation guides online]]></description>
<content:encoded><![CDATA[<p><strong><em>Basic Installtion Guide for Windows Users</em></strong></p>
<p>There are many many versions of installation guides online: some suggest you to install Gnope as it installs php-gtk 2 automatically. Some tell you to Modify your Path varibale and most of them suggest you to copy php.ini to windows system32 folder. ... there may be some logic behind those suggestions.. to keep you separate PHP from PHP-GTK extension and avoid conflict with existing PHP installations..... But if you are looking for a simple zip file which has everything to get you started without conflicting your existing PHP installation....then here is the way.</p>
<p>I compiled all required PHP and GTK dlls/files and bundled in to a ZIp file. (refer to end of this note if you prefer to do it yourself) Download <a href="http://www.snapdrive.net/files/53953/Php-Gtk2-Win32.zip">http://www.snapdrive.net/files/53953/Php-Gtk2-Win32.zip</a> and Extract to folder of your choice say C:\myphpgtkproject folder. It extracts as follows...</p>
<p>Basic file stucture looks like it</p>
<p>C:\myphpgtkproject</p>
<p>     PHP_GTK\</p>
<p>                  all php_gtk runtime files</p>
<p>     lib\</p>
<p>                folder for all your application libraries... </p>
<p>     doc\</p>
<p>               documentation folder....</p>
<p>    images\</p>
<p>               images used for your applicaton</p>
<p>    myapplication.php</p>
<p>               your main application script....change this to write yours</p>
<p>   StartMyApplication.bat</p>
<p>               script file to start your application</p>
<p>You may notice that StartMyApplication.bat has only one line i.e.</p>
<p>"PHP_GTK\php-win.exe" -c "PHP_GTK\php.ini" "myapplication.php"</p>
<p>which basically launches php interpreter with correct ini path and runs your application.</p>
<p>Then Start exploring PHP-GTK by chaning myapplication.php code.</p>
<p> <strong>Adding Other Extensions:</strong>  </p>
<p>The Above Zip file has sqlite,mcrypt and printer extensions already loaded (my personal preference). But if you want more...simply download <strong>php-5.1.4-Win32.zip </strong>From <a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a> and extract and grab your extension for ext/ folder and drop in C:\myphpgtkproject\PHP_GTK\ext\ folder and add to PHP.ini about this extension.  (extension=php_xxx.dll )</p>
<p>You could do the same for PECL extensions.. download <strong>pecl-5.1.4-Win32.zip </strong>from <a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a> and drop required dll to C:\myphpgtkproject\PHP_GTK\ext\ folder</p>
<p><strong>How I build ZIP File</strong></p>
<p>I downloaded <strong>php-gtk2-alpha-5_1-win32.zip</strong> from  <a href="http://gtk.php.net/download.php">http://gtk.php.net/download.php</a>  and then after extraction I copied all the files from gtk+2.6.9 to testfolder/PHP_GTK/. Then copied php-gtk2.dll and php_gtk_libglade2.dll to testfolder/PHP_GTK/ext/. Finally Modify php.ini to change extension dir to ./ext/ and copied to testfolder/PHP_GTK/</p>
<p>Next downloaded and extracted <strong>php-5.1.4-Win32.zip f</strong>rom <a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a>. Copied php5ts.dll, php.exe, php_win.exe, intl.dll to testfolder/PHP_GTK/.  Also copied sqlite and mcrypt extension dlls  from ext/ folder to testfolder/PHP_GTK/ext/ folder. Finally zipped all files using 7z.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[First Impressions of PHP-GTK 2]]></title>
<link>http://bobzee.wordpress.com/2006/08/14/first-impressions-of-php-gtk-2/</link>
<pubDate>Mon, 14 Aug 2006 15:04:30 +0000</pubDate>
<dc:creator>bobzee</dc:creator>
<guid>http://bobzee.wordpress.com/2006/08/14/first-impressions-of-php-gtk-2/</guid>
<description><![CDATA[
PHP is a well known Scripting language for many web Sites by many programmers including me. Most]]></description>
<content:encoded><![CDATA[<ul>
<li>PHP is a well known Scripting language for many web Sites by many programmers including me. Most common way to use PHP is as a webserver module and use it a interface database or data. </li>
<li>PHP also has a Command Line Interpretor (CLI) which makes it indendendent of web stuff. It can be used as shell script or using proper wrappers to interface any other programs like GTK.</li>
<li>PHP-GTK is a PHP wrapper to Gimp Took Kit (GTK) which is a collection of C Libraries to build Graphical Interfaces. GTK uses GDK (GTK Drawing Kit) to do the low-level (OS Level) stuff so that GTK can be cross-platform. Look at <a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk.html">http://developer.gnome.org/doc/API/2.0/gtk/gtk.html</a> for more details.</li>
<li>GTK is a stable and opensource toolkit used by many(<a href="http://www.gtk.org/success/">http://www.gtk.org/success/</a>). Popular Linux Desktop Gnome and graphi program GIMP are some of them.</li>
<li>PHP-GTK 1.x is lot different than PHP-GTK 2.x  If you are new to this and starting fresh, I recommend to start with PHP-GTK 2.x becuase Gtk 1.x is deprecated and most of the cool gadgets are in 2.x version ( eventhough its doent have a stable release yet, it works flawless most of the time)</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HOWTO Install Tulip IDE on Debian Sarge]]></title>
<link>http://beeznest.wordpress.com/?p=168</link>
<pubDate>Fri, 07 May 2004 02:36:50 +0000</pubDate>
<dc:creator>ywarnier</dc:creator>
<guid>http://beeznest.wordpress.com/?p=168</guid>
<description><![CDATA[This article was first written in May 2004 for the BeezNest technical
website (http://glasnost.beezn]]></description>
<content:encoded><![CDATA[<pre>This article was first written in May 2004 for the BeezNest technical
website (<span class="attribute-value">http://glasnost.beeznest.org/articles/129</span>). The Tulip IDE project
has now been inactive for several years.</pre>
<p>This manual is meant to help people who would like to install <a class="external" href="http://tulip.solis.coop.br/">Tulip IDE</a> on a Debian Sarge system.</p>
<h2>Latest addition</h2>
<p>As of Tulip version 0.7, the best way to have it running on your Debian system is probably to use the pre-compiled version of libraries available in the <a class="external" href="http://tulip.solis.coop.br/us/install_pre.php">second tab on the Linux install page</a>, because all other packages' versions are really different.  To keep it easy, take the following steps:</p>
<ul>
<li>download the pre-compiled libraries for php-gtk <a class="external" href="http://download.codigolivre.org.br/php-gtk/php-gtk.tar.gz">here</a></li>
<li>tar zxvf php-gtk.tar.gz</li>
<li>mv php-gtk/ /usr/local (as root and only to make it available for all users)</li>
<li>download tulip <a class="external" href="http://download.codigolivre.org.br/tulip/tulip-0.7.zip">here</a></li>
<li>unzip tulip-0.7.zip</li>
<li>cd tulip-0.7</li>
<li>/usr/local/php-gtk/php/bin/php tulip.php</li>
</ul>
<p>You might not want to make the same Tulip directory available for many  people as the config files are not well located at the moment (not user-orientated)</p>
<h2>Previous document</h2>
<h3>Note:</h3>
<p>As of 30 May 2004, some packages are on Tulip's website (see above link)   for GTKScintilla and PHP-GTK on Debian (as well as all the other packages  you may need additionally - libglade0 for example - but which are already  into Debian Sarge).</p>
<p>However, I have tested the packages and it seems like PHP-GTK has been  compiled  with <em>libstdc++-libc6.1-1.so.2</em>, or anyway, <em>php_gtk.so</em> looks for that file in /usr/lib.  I simply placed a link (as root) like  this, as my version of libstdc++-libc6 is 2-2:</p>
<p>ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2</p>
<p>Now it launches perfectly with just that. (well, still got some GtkWarnings  in the terminal but this will be fixed soon I suppose…)</p>
<p>The following, until section "Tulip" should not apply anymore, but remains  just in case…</p>
<p>Here goes…</p>
<p>A lot of problems occured on my way to get <em>Tulip</em> working, so I  hope this will help you a bit.</p>
<h2>GTKScintilla</h2>
<p>First of all, you need to install <em>gtkscintilla</em>. Maybe there's  a way to avoid using a non-packaged <em>gtkscintilla</em>, but I didn't  find any. There's a reference to it being packaged for <em>X11</em> on  <em>FreeBSD</em>, but on the <em>SourceForge</em> project page (link below)  there's only rpm packages.</p>
<p>Why <em>gtkscintilla</em>? Because <em>Tulip</em> relies on it to run.  As you could see in the classes/editor.php file in the <em>Tulip</em> directory,  the system guesses this little library is installed. The version of <em>gtkscintilla</em> I used is 0.8.2. There is already a 2.x version, but I think I've seen  somewhere that <em>Tulip</em> just needs 0.8+ Anyway, here goes:</p>
<p>To download <em>gtkscintilla</em>, go get it on its <a class="external" href="http://sourceforge.net/projects/moleskine/">Sourceforge page</a>. You can just click <a class="external" href="http://prdownloads.sourceforge.net/moleskine/GtkScintilla-0.8.2.tar.gz">here</a> to download it (link available at the time this  article was written).</p>
<p>Once downloaded, install it following the readme instructions tar zxvf GtkScintilla-0.8.2.tar.gz cd GtkScintilla-0.8.2 make su make install /sbin/ldconfig exit</p>
<p>Note that the installation indicates where the files are written. Maybe  that could be useful for you (it wasn't for me).</p>
<h2>PHP-GTK</h2>
<p>No <em>Debian</em> package for this one either. The only package that ever  existed has been left out by its packager due to a lack of time. Too long  ago to be even installable with the current <em>Debian Woody</em>.</p>
<p>Anyway, to install <em>php-gtk</em>, you could use <a class="external" href="http://gtk.php.net/manual/en/installunix.php">their documentation</a> but I'll tell you anyway and this  will be faster.</p>
<p>To download <em>php-gtk</em>, they recommend to get it from the <em>CVS</em> repository. I wonder why because even the cvs version is broken, but still,  this is the version counting the lesser bugs, so do it:</p>
<p>cvs -d :pserver:cvsread@cvs.php.net:/repository login cvs -d :pserver:cvsread@cvs.php.net:/repository co -r PHP_GTK_1 php-gtk cd php-gtk ./buildconf aclocal ./buildconf</p>
<p>I make a little pause here. There is a mention of an error in the configure  file at this stage. I had this error indeed but don't get it anymore, so  just in case, before proceeding, check in your ./configure file that the  lines 3397 and 3398, if containing (first line) "PHP_GTK_ARG", are commented.  If there is no such "PHP_GTK_ARG" there or really near, just proceed to  the installation.</p>
<p>Note here that we'll be using --enable-scintilla. This is REALLY important  as if you don't put it, php-gtk will consider gtkscintilla is not there  and later Tulip won't run.</p>
<p>./configure --enable-scintilla make make install</p>
<p>Now there's still one step. It is indicated at the end of the php-gtk's  installation process. You have to link from the php directory to the file  contained in the install directory (where you installed <em>php-gtk</em>,  so normally where you are still now). To do so:</p>
<p>su ln -s /fullpath_to_where_you_are/modules/php_gtk.so /usr/lib/php4/20020429/php_gtk.so exit</p>
<h2>Tulip IDE</h2>
<p>Now you still need to install tulip. This is a trivial part as it is php-gtk and you simply start it with php tulip.php Download <em>Tulip</em> <a class="external" href="http://tulip.solis.coop.br/tulip-0.2.zip">here</a>, install it and run it: unzip tulip-0.2.zip cd tulip php tulip.php</p>
<p>There you go. Now there could be other problems waiting but you got your  first free and open source step into this php coding IDE.</p>
<p>I'd like to thank Paolo for this great start on Tulip and for the link  on Tulip's website.</p>
]]></content:encoded>
</item>

</channel>
</rss>
