LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-22-2011, 10:36 AM   #1
sauravrukd
Member
 
Registered: Nov 2011
Posts: 39

Rep: Reputation: Disabled
Is there any object oriented programming platform for linux?


Since i am new to linux. I am testing everything on it. Linux is self sufficient as pc operating system and it is leading in server.... I can make web apps using php language and mysql database. Now i want to know how to make desktop apps on linux...

I read somewhere that 'LINUX IS HEAVEN TO PROGRAMMERS'

Visual studio is like the ornament of microsoft. It is graphical as wEll as object oriented.. is there any object oriented programming language on linux? How easy is it to program??.. I want to learn programming as soon as possible. What do i do? Purchase a book and start learning? or refer to any video turorial?

I also do not know file system of linux.. I dont know what extension stands for what..

On open source platform if source code are available at run time then does o/s need to compile the program each time it is run?

I also know which file extension refers to executable file in linux..

Last edited by sauravrukd; 11-22-2011 at 10:37 AM.
 
Old 11-22-2011, 11:16 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Welcome to the world of Linux -- and, of course, to linuxquestions.org.

Up at the top of this web page there's a Tutorials menu -- that's one good place to start. Another is to Google for "beginner's guide to linux;" lot's of good sources there for your to read through and pick the one or two that you're comfortable with. Another good source (for books) is O'Reilly Media at http://oreilly.com/, particularly, http://oreilly.com/linux/index.html -- O'Reilly books are excellent.

Object-oriented languages are, among others, C++, Java, PHP and Python. Integrated Development Environment (IDE) tools (which is what Visual Studio more or less is) can be found at http://linuxmafia.com/faq/Devtools/ides.html; among the more popular of those for Linux systems would be Eclipse and NetBeans.

But, you need to learn to walk before you can run so it'd be a good idea to start with one of the beginner's introductions -- there's lot's to learn.

Hope this helps some.

Last edited by tronayne; 11-22-2011 at 04:22 PM.
 
1 members found this post helpful.
Old 11-22-2011, 12:10 PM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Programs for compiled languages are compiled (e.g. C using the gcc compiler) just as they would be in Windows. As far as extensions go, they are not part of Linux. A lot of software will use extensions, but the operating system just takes "letter.odt" as file name with a dot in it. The programs don't have .exe like Windows. You can see some of them in /usr/bin: binaries and shell scripts all together, with no distinction in their names.

First, learn your way round whatever version of Linux you're using: see if there's documentation online or to download. Then get this (old, but most of it is still very helpful):
http://linux.2038bug.com/rute-home.html

C++, Java, and Python are probably installed already. Python is usually said to be the easiest, and it's used for a lot of the "housekeeping tools" in Linux distros. IDLE (the Python IDE) will probably be bundled into a "Python tools" package that you can install. Documentation is found here:
http://www.python.org/doc/
 
Old 11-22-2011, 12:21 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by tronayne View Post
(note that C# is Microsoft-only, so forget about it).
Where did you get that from? C# is a standardized language that can be used on Linux. Most of the C# programs on Linux are compiled to be used with Mono, which should be available for almost any distro and even on iOS and Android. They also have a an open source IDE, called MonoDevelop, which supports building applications for Windows, Linux, MacOS X, iOS and Android.
 
Old 11-22-2011, 03:00 PM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by TobiSGD View Post
Where did you get that from?
Where? Well, from the same Wikipedia article:
Quote:
In a note posted on the Free Software Foundation's news website in June 2009, Richard Stallman warned that he believes that "Microsoft is probably planning to force all free C# implementations underground some day using software patents", and recommended that developers avoid taking what he described as the "gratuitous risk" associated with "depend[ing] on the free C# implementations".[39] The Free Software Foundation later reiterated its warnings,[40] claiming that the extension of Microsoft Community Promise to the C# and the CLI ECMA specifications[41] would not prevent Microsoft from harming open-source implementations of C#, because many specific Windows libraries included with .NET or Mono were not covered by this promise.
Mr. Stallman can be, well, a little wild-eyed now and again but anybody that's dealt with Microsoft's proprietary software (and, even though, yes, ISO did issue ISO/IEC 23270:2003 - Information technology — Programming languages — C#), C# is full of proprietary "extensions that will (not maybe, will) come back and bite you if you try to port C# to any other platform. It was developed specifically by Microsoft to support Microsoft's needs (mainly because they couldn't get ISO to buy off on including all their proprietary (patented) extensions in the C or C++ standards). Personally, I'm 100% with Mr. Stallman and I wouldn't allow it on the property or to touch my servers; however, anybody is free to do what they want.

Hope this helps some.
 
Old 11-22-2011, 03:09 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Programs/scripts are marked in the filesystem as executable, and you can change the executable status for each of the three classes of users: owner, group, and others. Usually, compilers/linkers will automatically assign executable status to object code that they create. If you create a script or other interpreted text file with a text editor such as vi, you will have to use chmod to make it executable. Many systems configure ls to display files of various types with color coding to highlight their executable or other status, for your convenience.
Many file types are named with conventional suffixes, recognizable to the applications that use them. The OS itself does not recognize or need files to have any particular suffix. There is the application 'file', which knows how to recognize and report on very many different types of files, and can be useful when trying to identify files of unknown purpose or origin.

--- rod.
 
Old 11-22-2011, 03:10 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
@tronayne: You have stated that C# is Microsoft only, and that is obviously not true. If you have issues in running C# programs on your machines then mention those issues instead of misinforming new users, please.
 
Old 11-22-2011, 04:39 PM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by TobiSGD View Post
@tronayne: You have stated that C# is Microsoft only, and that is obviously not true. If you have issues in running C# programs on your machines then mention those issues instead of misinforming new users, please.
OK, true enough -- C# is not Microsoft-only (and that comment has been removed above).

I would, however, join Richard Stallman and the Free Software Foundation in their cautions: Note 38 in Wikipedia article:
Quote:
"Stallman, Richard (June 26, 2009). "Why free software shouldn't depend on Mono or C#". Free Software Foundation. Retrieved July 2, 2009. "The danger is that Microsoft is probably planning to force all free C# implementations underground some day using software patents. ... We should systematically arrange to depend on the free C# implementations as little as possible. In other words, we should discourage people from writing programs in C#. Therefore, we should not include C# implementations in the default installation of GNU/Linux distributions, and we should distribute and recommend non-C# applications rather than comparable C# applications whenever possible.""
And Note 40 in Wikipedia article:
Quote:
"Microsoft's Empty Promise". Free Software Foundation. 2009-07-16. Retrieved 2009-078-03. "Until that happens, free software developers still should not write software that depends on Mono. C# implementations can still be attacked by Microsoft's patents: the Community Promise is designed to give the company several outs, if it wants them. We don't want to see developers' hard work lost to the community, if we lose the ability to use Mono, and until we eliminate software patents altogether, using another language is the best way to prevent that from happening."
Basically, use at your own risk.
 
Old 11-24-2011, 12:39 AM   #9
sauravrukd
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Which is the best IDE for linux

Which is the best graphical IDE for linux? Like visual studio i want to use ready made objects like 'command button', 'combo' 'data grid view' such that i neednt make objects. And simply perform easy coding using those ready made objects...
 
Old 11-24-2011, 09:44 AM   #10
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
I have no idea what I'm talking about, but is Glade what you're looking for?
 
1 members found this post helpful.
Old 11-24-2011, 09:50 AM   #11
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
If you are into programming GUIs with the Qt GUI toolkit, then QtCreator is a decent IDE. Also check out KDevelop. It's a good C/C++ IDE as well.

For Python, I recommend Stani's Python Editor.

For Java and Java related development, NetBeans is a good choice.
 
1 members found this post helpful.
Old 11-24-2011, 10:40 AM   #12
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
For more smipler IDE, try Geany or GVim (which still kicks asses) and of course everything included emacs.
 
1 members found this post helpful.
Old 11-24-2011, 11:08 AM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by sauravrukd View Post
Which is the best graphical IDE for linux? Like visual studio i want to use ready made objects like 'command button', 'combo' 'data grid view' such that i neednt make objects. And simply perform easy coding using those ready made objects...
The problem here is that Linux, unlike Windows, has several GUI toolkits available, the most used are GTK and QT. That means that you not only have to decide which you want to use, both have different visual editors. Both of them have the objects you are searching, so you should at first have a look at them and then decide which one you want to use. After that come back and ask again for.
 
2 members found this post helpful.
Old 11-24-2011, 11:43 AM   #14
sauravrukd
Member
 
Registered: Nov 2011
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thank you very much.. I shall do some research on these applications and decide which one to use. I am in need of a reliable platform.. Reliable in the sense that their basics do not change with their versions.((like that of visual studio is somewhat consistent on its all versions))

By the way i had learnt to code in visual basic (not c,c++, or java).. Will that knowledge of vb apply here or do i need to learn new one?

Last edited by sauravrukd; 11-24-2011 at 11:45 AM.
 
Old 11-24-2011, 12:58 PM   #15
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
FWIW, Perl has a number of object systems - the "standard" one and Moose: http://search.cpan.org/search?query=Moose&mode=all -> http://search.cpan.org/~doy/Moose-2.0401/lib/Moose.pm , etc.

OCaml is a functional, imperative and OO language, and its OO model includes multiple inheritance - start from http://caml.inria.fr/ .

There is also Ruby, Scala, LISP (including CLOS - Common Lisp Object System: http://en.wikipedia.org/wiki/Common_Lisp_Object_System .

And what not ...

P.S. If you can't program without an IDE, something is wrong with your programming skills. OTOH, a good text editor allows you to invoke build system, run your project (probably under a debugger), etc.
 
  


Reply



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
LXer: Python 3 Object Oriented Programming: Managing objects LXer Syndicated Linux News 0 08-13-2010 04:50 AM
Object Oriented Programming in the Web entz Programming 8 08-04-2009 05:10 AM
LXer: Object Oriented Programming in Python LXer Syndicated Linux News 0 01-07-2009 06:20 AM
LXer: Article: Why you want Object Oriented Programming in PHP LXer Syndicated Linux News 0 03-30-2007 07:16 PM
perl object Oriented Programming Question eastsuse Programming 1 08-20-2004 12:29 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration