| View previous topic :: View next topic |
| Author |
Message |
puzzler Site Admin
Joined: 14 Nov 2005 Posts: 39 Location: Germany
|
Posted: Tue Dec 13, 2005 7:23 pm Post subject: Tutorial Flash Video |
|
|
Hi folks,
i just created a short flash video about my first PHP-GTK2 application and wanted to share it with you.
http://www.gnope.org/tutorials/gui-with-php-easy.html
It comes with a terrible german accent, but it might helps the absolut beginners to understand, whats going on...
The file used in the video can be found in the Download Section as StartToDevelop Package...
have fun,
ralf |
|
| Back to top |
|
 |
AcesGuru
Joined: 15 Dec 2005 Posts: 18
|
Posted: Thu Dec 15, 2005 6:21 am Post subject: |
|
|
not that bad...... Theres people here in the USA that speak worse then that.........heheheheh |
|
| Back to top |
|
 |
puzzler Site Admin
Joined: 14 Nov 2005 Posts: 39 Location: Germany
|
Posted: Thu Dec 15, 2005 11:45 am Post subject: |
|
|
hehehe, thanks for the flowers, I ll pass them on to the americans who taught me to speak english...
ralf |
|
| Back to top |
|
 |
clarkvina
Joined: 22 Dec 2005 Posts: 2 Location: Chile - South America
|
Posted: Thu Dec 22, 2005 1:30 pm Post subject: |
|
|
There is still a question about your tutorial, you have to upload something to the gnope site... the pear package I think right? (I'm a newbie)
Ok, Is that compulsory? Doesn't that make my deveolping depend on the availability of the gnope site? Why do I need the "Application Runner?".
I copied the run.phpw into the sample application folder as the example and changed the parameter to "main.php" and the sample window popped up correctly, soy why do I need the uploading?
And something else, mhhh I didn't have to "pear" (compile?) anything to get the window up and running......  |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Thu Dec 22, 2005 4:50 pm Post subject: |
|
|
| clarkvina wrote: | | you have to upload something to the gnope site |
The whole pear package is to make installation for other users more easy.
You can develop and run your applications without problems on your own computer, without using PEAR or the AppRunner or whatever.
The idea behind the Gnope channel server and the AppRunner is the following:
- An end-user doesn't want to type some cryptic commands in the command prompt. That's why AppRunner exists: He starts it from the start menu and can start any installed program. The program has to be installed in the local PEAR installation, because AppRunner doesn't find it else.
- To install programs, the user can
a) download the package, open a command prompt, type "pear install <filename.tgz>". Then he can use the AppRunner to start it. However, typing such commands isn't the best for my mom.
b) You publish your program on Gnope (or you set up your own channel server, that's possible) and the user clicks "Install programs" in the AppRunner, selects your program and clicks install - the installer does the rest. No need to type any command.
So the channel server is just a central point where you can publish your program. You are free to set up your own channel server, build a setup program for your program which installs it independent of the PEAR_Frontend_Gtk2 installer - but IMO the most easy way is to publish it on Gnope, and let users just click & install it.
To repeat it: You don't need a package.xml. You don't need the Gnope channel server. It's just for convenience. |
|
| Back to top |
|
 |
puzzler Site Admin
Joined: 14 Nov 2005 Posts: 39 Location: Germany
|
Posted: Fri Dec 23, 2005 3:53 am Post subject: |
|
|
There is not much I can add to christians excellent explanation, why gnope exists.
Just a few thoughts:
1.) Remember, that PHP-GTK2 applications are a niche and the language needs more active users, more examples, more acceleration: so the easy installation process could help us all by motiviating more people to do something with it...
2.) Gnope is Open Source and belongs to you as much as to us right for that reason, that we do not want to depend with the success of the idea on the failure or success of this site/domain or the business thoughts of another entity.
Gnope is the name for the summary of existings parts... PHP, PHP-GTK2, NIS, PEAR - all that is there and the brilliant work of other coders. We want Gnope to be the way to the "casual coder" who writes a simple but useful application and wants to share it with a standard set of parts...
means: It runs on "Gnope" defines a standard of versions (PHP 5.1 with GTK2 release XYZ, etc.) and should keep some headaches away - I hope you get the picture!
You can write PHP-GTK2 programs with no Gnope at all, but gnoping it, shall bring joy to world
Merry Christmas,
Ralf |
|
| Back to top |
|
 |
clarkvina
Joined: 22 Dec 2005 Posts: 2 Location: Chile - South America
|
Posted: Sun Dec 25, 2005 3:52 pm Post subject: Merry Xmas |
|
|
--- singing ---- I can se clearly now the rain has gone.
" I'm a mere mortal" (Darrin Stevens - Bewitched - )
Ok perfect got the picture. I'll Start experimenting.
 |
|
| Back to top |
|
 |
beidlerj
Joined: 10 Feb 2006 Posts: 55 Location: Oregon, USA
|
Posted: Fri Feb 10, 2006 8:48 pm Post subject: |
|
|
Hello -
I love the easy install of PHP-Gtk2 with Gnope, and the ease of being able to click a program from a menu to run it!
How do I install my own programs locally, so that they'll show up in the AppRunner? I don't think I need a whole channel server... I'm just going to have one program, but would like the convenience of launching it via AppRunner. |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Fri Feb 10, 2006 9:00 pm Post subject: |
|
|
| beidlerj wrote: | | How do I install my own programs locally, so that they'll show up in the AppRunner? |
You need to create a PEAR package that contains your application and a special "run.phpw" file (normal php script) that starts your app.
Install that locally via "pear install MyApplication.tgz" after you have created the package. |
|
| Back to top |
|
 |
beidlerj
Joined: 10 Feb 2006 Posts: 55 Location: Oregon, USA
|
Posted: Fri Feb 10, 2006 11:42 pm Post subject: |
|
|
Ah, okay.
I thought, just looking at the directory structure, that I could just make a folder under PEAR and put my .phpw files in there and they would show up. Bit more involved than that, I guess. Took me a while to get the package.xml to work, but after copying the basic one from pear.php.net, I was at least able to get some meaningful warnings or error messages.
Is there a way to customize the channel so that I can have my own entry in the AppRunner channel list? Ie. - can I make AppRunner have "MyPrograms" in the list along with Gnope, PEAR, and PECL? It would be nice to have that organization. |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Sat Feb 11, 2006 4:07 pm Post subject: |
|
|
| beidlerj wrote: | | Is there a way to customize the channel so that I can have my own entry in the AppRunner channel list? |
Currently, that's not possible. However, I am about to extend AppRunner a bit so that all programs with the same Prefix (e.g. "Gnope_") are grouped together.
So if you choose the same prefix for your programs, they will be in the same group one day. |
|
| Back to top |
|
 |
|