Domanda

Sono un programmatore mio hobby abbastanza avanzata. Mi considero in grado in Objective-C, Java, qualche dritta C, Python, e disegno generale MVC.

Ho scritto un bel paio di programmi, ma tutti sono stati relativamente autonomo, utilizzando librerie esterne di tanto in tanto.

Quando si legge sui progetti più grandi, e / o programmi più complicati, ho sentito un sacco di lingua gettati in giro su "Scrivere una parte in X, e scrivere questa parte in Y."

Dal momento che ho una mancanza di esperienza con questo, mi chiedevo se qualcuno mi potrebbe punto nella giusta direzione. Che disegni generali / meccanismi vengono impiegati per applicazioni o progetti scritti in più di una lingua? Ciò che è coinvolto in un design "script"?

Grazie per qualsiasi consiglio sul tema! -Chase

È stato utile?

Soluzione

There is no single "right way". A multitude of approaches exist, including the .NET-way, where all the languages are hosted inside a common runtime environment with well-specified interoperability constraints, and a good old Unix-way, where all the components are supposed to communicate via pipes or sockets, using simple text-based protocols.

For the latter you can read a classic book: http://en.wikipedia.org/wiki/The_Unix_Programming_Environment

Altri suggerimenti

Depends on what you need to do. For example if you want to build a poker game online then, most probably you would use java for the application and flash/flex for the interface. Java has the power of the libraries and the flash/flex are quite generally available and offer a rich interface. If you have a software that receives input from an online application and offers output on a specific output (label printer for example) then your online-ready software (Java/PHP/Python) would best communicate with a specially designed program on the target computer. A program for which I'd use C++ for it's technical power, rigurosity and speed compared to java. The idea is to identify the languages that suit your purpose best. In my opinion it is ideal that you use one language to do all the stuff, that is why I like java as it seems to fit everything although it has a more or less bad renown for slowness.

I see things in a kind of this way: 1. Engineered, machine oriented stuff then it is C++ (and languages of it's kind) 2. Mobile multifunctional stuff (middle-ware mainly) Java 3. Online , browser based stuff PHP especially for B2C(people oriented) applications 4. Python,Ruby etc are from my point of view somewhere between java and PHP but I never really worked with them so I can not give an exact opinion

You can link them together depending on your needs.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top