PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:any important difference between glade & coding (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:any important difference between glade & coding
#741
emrag (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
any important difference between glade & coding 2 Months, 3 Weeks ago Karma: 0  
is there any important difference ( or advantages-disadvantages) between glade files and writing codes when designing gui?
 
  The administrator has disabled public write access.
#742
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:any important difference between glade & coding 2 Months, 3 Weeks ago Karma: 8  
 
  The administrator has disabled public write access.
#771
tropico (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:any important difference between glade & coding 2 Months, 2 Weeks ago Karma: 0  
I don't know your skill in programming php-gtk I'm self made programmer but after a long time I think this is the right way to approch to php gtk:

1 ) learn PHP
2 ) learn OOP characheristics of PHP5
3 ) learn PHP-GTK2 ( study the examples from this site )
4 ) learn GLADE
5 ) use all mixed

For my point of view, the main difference is that you can see rapidly the final aspect of your application. But coding your application is better, and is better if you use classes so you can reuse your own widgets.

Glade is not R.A.D. tool , Glade is a GUI builder but after the GUI is builded you have to dirty you hands
with code , and if you want to use some special fuctions you must add your widget GUI builded with gui.

For example think about this stupid case :

You have a Window with a combo and a button and all is builded with GLADE.

COMBO is Empty and you would fill it with an array of codes of you articles picked from a table from a database.

You would navigate this combo but to read 1000 rows of codes the application beacomes very slow so you would paginate the lis of you combo.....

You must build a special combo and insert it into your glade gui..

Ciao Bye
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2008. kksou.com. All Rights Reserved