LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   How Linux applications are built? (http://www.linuxquestions.org/questions/programming-9/how-linux-applications-are-built-798442/)

dor 03-28-2010 11:40 AM

How Linux applications are built?
 
I've heard a long time ago that linux applications are built by having a CLI first, and later writing a GUI above that.
Does someone have any reference/links about that subject? I'm interested in the principles of this method. Couldn't find it in Google, although I searched a lot...

Thank you.

cola 03-28-2010 11:49 AM

Quote:

Originally Posted by dor (Post 3915474)
I've heard a long time ago that linux applications are built by having a CLI first, and later writing a GUI above that.
Does someone have any reference/links about that subject? I'm interested in the principles of this method. Couldn't find it in Google, although I searched a lot...

Thank you.

Hello,
http://www.gnu.org/
http://howsoftwareisbuilt.com/2009/1...devmaintainer/

knudfl 03-28-2010 02:19 PM

The Tux-Linux-Search tool http://208.67.217.231/

Keyword = building a gui application
http://www.google.com/linux?hl=en&q=...on&btnG=Search

.....

dor 03-28-2010 03:55 PM

Hi guys,
Thanks for your answers.
I didn't mean to a library that helps to develop the GUI.
I meant to how Linux application separate the Graphical development from the Business Logic of the program.
Similar to MVC architecture.

bigearsbilly 03-28-2010 05:03 PM

well, that's not true. probably much less now than in the past.
some may, e.g crafty, combined with xboard for chess. but I'd say most GUI apps are pure GUI apps.
though it's a very sound principle.
it's a way to utilise the best tools in each sphere.

once i did a noughts and crosses game in lisp which attempted to learn
from it's mistakes, but with a tcl/tk GUI because tk is easy.
I used sockets, but the principle is the same.

dor 03-29-2010 05:27 AM

Quote:

Originally Posted by bigearsbilly (Post 3915790)
well, that's not true. probably much less now than in the past.
some may, e.g crafty, combined with xboard for chess. but I'd say most GUI apps are pure GUI apps.

So actually most of Linux applications doesn't separate the presentation from the business logic? It's all mixed up in the source code? Ain't that a bad practice / bad software architecture ?

Sergei Steshenko 03-29-2010 06:00 AM

Quote:

Originally Posted by dor (Post 3916437)
So actually most of Linux applications doesn't separate the presentation from the business logic? It's all mixed up in the source code? Ain't that a bad practice / bad software architecture ?

The separation depends on the developer and on the application, not on the OS/kernel.

bigearsbilly 03-31-2010 04:47 AM

well I wouldn't say it's a bad practice not too,
but it's a nifty idea to separate the engine from the UI.

you should read "the art of unix programming" by eric raymond.
it's available free at FAQS.org but you could buy a copy.



unfortunately a lot of professional development is motivated by time pressure rather than quality.


All times are GMT -5. The time now is 12:40 AM.