Coder Social home page Coder Social logo

php-gtk3's Introduction

help wanted

  • Complile for Windows
  • Compile for Mac
  • Better code for Mac integration
  • Create docker
  • Improvement of Makefile

Read how to Compile on MAC (old, and not intense tested. maybe some errors occur)

php-gtk3-tests

Repositório para alguns testes com bind php-gtk3

Repositoty to do some tests with php-gtk3 bind

Downloads

Você pode baixar o PHP com a extensão GTK no formato AppImage na página de releases

You can find all PHP + GTK extension in AppImage package on releases page

Para rodar programas no formato AppImage, você precisa do fuse

Do you need fuse to run AppImage bundle apps

Basta baixar o ultimo release, faze-lo executavel e rodar seus scripts PHP

Just download the last release, make it executable and run your PHP scripts

:$ sudo apt-get install fuse
:$ chmod +x php-gtk3-x86_64-0.10-beta.AppImage
:$ sudo ln -s ~/Downloads/php-gtk3-x86_64-0.10-beta.AppImage /usr/bin/php-gtk
:$ php-gtk myapp.php

Compile

Você precisará das libs para desenvolvimento php-dev e tambem libgtk-3-dev, ou em algumas distribuições linux gnome-devel. No debian e ubuntu:

You will need php-dev and libgtk-3-dev, or in some cases gnome-devel. On Debian and ubuntu:

:$ sudo apt-get install build-essential gnome-devel php-dev libgladeui-dev libgtksourceview-3.0-dev libwnck-3-dev

Será necessário compilar o PHP-CPP

You will need compile PHP-CPP first

:$ git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP.git
:$ make
:$ make install

Talvez algum erro ocorra no thoweble.h, então verifique se esse issue está corrigido

Maybe occur some errors on thoweble.h, so confirm that issue are fixed

Agora basta baixar e compilar o php-gtk3

After that, just download php-gtk3 and compile it

:$ git clone https://github.com/scorninpc/php-gtk3.git
:$ cd php-gtk3
:$ make
:$ php -dextension=./php-gtk3.so test.php

Depois disso é só começar a testar e começar a ajudar no desenvolvimento do bind (desabilite LIBWNCK por enquanto):

After that, just start test and start to help to dev this bind [disale LIBWNCK for now]

Some images of progress

GTKTreeview GTKTreeview GTK interactive debugger GTK interactive debugger Widgets Tooltips

Why PHP-CPP

Alem de tornar o trabalho mais rapido, a sintax e a forma de programar se assemelha muito ao PHP. Assim, mais pessoas podem contribuir com o projeto. Outro ponto forte, talvez o mais importante, do motivo do uso do PHP-CPP, são as atualizações do Zend.h. Na migração do PHP5 para o PHP7 por exemplo, todo bind foi perdido

In addition to making work faster, syntax and how to program closely resemble PHP, so more people can contribute to the project. Another strong point, perhaps the most important are the updates of Zend.h. In the migration from PHP5 to PHP7 for example, every bind was lost

Where to find me

for all: I'm sorry for my bad English

php-gtk3's People

Contributors

naf419 avatar scorninpc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.