LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-28-2010, 10:40 AM   #1
dor
LQ Newbie
 
Registered: Feb 2010
Posts: 26

Rep: Reputation: 0
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.
 
Old 03-28-2010, 10:49 AM   #2
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
Quote:
Originally Posted by dor View Post
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/
 
Old 03-28-2010, 01:19 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,924

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
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

.....
 
Old 03-28-2010, 02:55 PM   #4
dor
LQ Newbie
 
Registered: Feb 2010
Posts: 26

Original Poster
Rep: Reputation: 0
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.
 
Old 03-28-2010, 04:03 PM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,288

Rep: Reputation: 174Reputation: 174
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.
 
Old 03-29-2010, 04:27 AM   #6
dor
LQ Newbie
 
Registered: Feb 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bigearsbilly View Post
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 ?
 
Old 03-29-2010, 05:00 AM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by dor View Post
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.
 
Old 03-31-2010, 03:47 AM   #8
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,288

Rep: Reputation: 174Reputation: 174
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.
 
  


Reply

Tags
application, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
where are elf files of the in-built applications of fedora 8? krisonearth Linux - Software 3 08-26-2009 02:39 PM
Built on Linux. Built on *nix. The OS X application model. drhart4000 Linux - General 2 06-10-2009 04:27 AM
applications built on redhat 5 tbucken Red Hat 10 12-22-2008 02:57 PM
built-to-order PC or ready-built PC from well-known companies? kpachopoulos General 6 11-03-2004 03:14 PM
if i get an nforce mobo with built-in VGA... will the built in vga work in linux? kublador Linux - Hardware 2 11-10-2003 08:26 PM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration