Visual BASIC runs only on the Microsoft Windows platform. The question for the majority of programmers in a world where open source plays a larger part is what language will play the role played by VB in Windows? There is no realistic chance of a cross-platform Visual BASIC. Other versions of BASIC exist, but are little used in comparison to Visual BASIC and are incompatible. The Mono project plans a port of VB.Net to Linux, but this is not yet available, applies only to VB.Net, and is unlikely to ever have much share on that platform. The Mono project’s primary goal is the porting of C#, and programmers who are interested should learn C#. There is plenty of time to become proficient in C# before Mono is production ready. How can a developer escape lock-in to the Windows platform while using a single language to develop applications that are graphical, batch, or Web based? The language should be relatively easy to learn and able to be extended to cover almost any type of development problem. VB programmers or their managers (whoever makes the language decision) have already had the opportunity on Windows to consider C++, Java, and C#, and they have, for whatever reasons, chosen VB instead. Of course, given a stronger need for cross-platform development, they could revisit that choice. If they did not choose to be Visual C++ programmers, they are not particularly likely to become GNU C++ programmers either (although the free-structured nature of the open source community will make this choice possible for a few). Java is a good choice—one that frees VB programmers from their single platform and limited engineering—but again it is not the only or even the most obvious choice, since they could have made it years ago (e.g., Visual J++.) If they are predominantly Web developers (ASP), they will probably be comfortable with JSP, and that is a possibility. VB programmers should consider the open source languages PHP, Perl, and Python. Web developers should look first to PHP, which is the most used Web development language, doubling in use every 18 months. Perl is an interesting choice for individuals with an administrative bent, who may have used VB to manage Exchange or BizTalk or to perform database imports or WSH scripting (of course, they might have already used Perl on Windows). The one language that is the most effective way to get an open source application shipped, whether it is Web, GUI, or script, is Python. I argue that for VB programmers the language of the next few years is Python. Python has the good features of Visual BASIC (and some of its own) with- out most of the drawbacks. Python is an easy language to learn. It can be used for GUI, script, or Web-based development. Everyone comments on its one idiosyncratic point of syntax: the significance of white space; after that, it is pretty much common sense. The Python language is similar to VB in the availability of components (class libraries) that can do just about anything. They are generally written in C for best performance, and, unlike VB, they are almost all free (no charge and source code available). Many of the most useful come with the standard distribution. So, as with VB, Python is a language where the general developer starts by finding and using classes rather than by defining and building them. Python runs on Windows, Linux, and the Mac; simple self-installing binary packages are available for these platforms. Most Linux distributions (e.g., Red Hat and SuSE) include Python installed, as does Mac OS X 10.3. It also runs on any UNIX system and some others; less common platforms may need a source code install. The Windows version of Python is very powerful and a good place for a Windows professional to start. It is easily downloaded (e.g., from www.python.org); that download is self-installing and ready to go for most purposes. There has been serious thought given to cross-platform compatibility, and it is a simple matter to develop code on, for example, Windows that will run on Linux and the Mac (this book contains an example).
11
วิ่ง Visual Basic เฉพาะบน Microsoft Windows แพลตฟอร์ม คำถามสำหรับส่วนใหญ่ของโปรแกรมเมอร์ในโลกที่เปิดแหล่งที่มาเล่นเป็นส่วนใหญ่ คือ ภาษาอะไรจะเล่น บทบาทของ VB ใน Windows ? ไม่มีโอกาสที่สมจริงของข้ามแพลตฟอร์ม Visual Basic รุ่นอื่น ๆของพื้นฐานอยู่ แต่เป็นเพียงเล็กน้อยที่ใช้ในการเปรียบเทียบกับ Visual Basic และเข้ากันไม่ได้แผนที่พอร์ตของ VB โครงการโมโน สุทธิลินุกซ์ แต่นี้ยังไม่สามารถใช้ได้ , ใช้ได้เฉพาะใน VB . สุทธิและไม่น่าจะเคยมีหุ้นมากบนแพลตฟอร์ม เป้าหมายหลักของโครงการคือ โมโน porting ของ C #และโปรแกรมเมอร์ที่สนใจควรเรียนรู้ C # . มีเวลามากมายที่จะเป็นโปรจึง cient ใน C #ก่อนที่ Mono พร้อมผลิตทำไมนักพัฒนาหนีกุญแจเพื่อแพลตฟอร์ม Windows ในขณะที่ใช้ภาษาเดียวที่จะพัฒนาโปรแกรมที่เป็นแบบกราฟิก , ชุด , หรือเว็บ ? ภาษาควรจะค่อนข้างง่ายที่จะเรียนรู้ และสามารถขยายให้ครอบคลุมเกือบทุกประเภทของปัญหาการพัฒนาใด ๆโปรแกรมเมอร์ VB หรือผู้จัดการของพวกเขา ( ใครก็ตามที่ทำให้ภาษาการตัดสินใจ ) ได้มีโอกาสใน Windows เพื่อพิจารณา C , Java , C #และพวกเขาจะมีเหตุผลอะไรก็ตาม เลือก VB แทน แน่นอน ให้ต้องการที่แข็งแกร่งสำหรับการพัฒนาข้ามแพลตฟอร์ม , พวกเขาอาจจะทบทวนทางเลือก ถ้าพวกเขาไม่ได้เลือกที่จะเป็น Visual C โปรแกรมเมอร์พวกเขาจะไม่โดยเฉพาะอย่างยิ่งมีแนวโน้มที่จะกลายเป็น GNU C โปรแกรมเมอร์เหมือนกัน ( แม้ว่าฟรีโครงสร้างธรรมชาติของชุมชนที่มาเปิดจะทำให้ตัวเลือกที่เป็นไปได้ไม่กี่ ) Java เป็นทางเลือกที่ดีที่ช่วยให้ VB โปรแกรมเมอร์จากแพลตฟอร์มเดียวของพวกเขาและจำกัดวิศวกรรมอีกครั้ง แต่มันไม่ได้เป็นเพียงทางเลือก หรือแม้แต่ที่ชัดเจนที่สุดตั้งแต่พวกเขาจะทำให้มันเมื่อปีที่แล้ว ( เช่นภาพ J . ) ถ้าพวกเขาส่วนใหญ่นักพัฒนาเว็บ ( ASP ) , พวกเขาจะสะดวกสบายด้วย JSP และที่เป็นไปได้ VB โปรแกรมเมอร์ควรพิจารณาเปิดแหล่งที่มาภาษา PHP , Perl , และงูหลาม นักพัฒนาเว็บควรดูจึงตัดสินใจเดินทางไปยัง PHP ซึ่งจะใช้มากที่สุดเว็บภาษาพัฒนาเป็นใช้ทุก 18 เดือนPerl เป็นทางเลือกที่น่าสนใจสำหรับบุคคลที่มีการงอ การบริหาร เขาอาจใช้ VB จัดการแลกเปลี่ยนหรือ BizTalk หรือทำการนำเข้าฐานข้อมูลหรือสคริปต์ ( แน่นอน หวังว่าจะได้ใช้ Perl บน Windows อยู่แล้ว ) หนึ่งภาษาเป็นวิธีที่มีประสิทธิภาพมากที่สุดที่จะได้รับเป็นแหล่งเปิดโปรแกรมที่ส่ง ไม่ว่าจะเป็น เว็บ GUI หรือสคริปต์เป็นงูเหลือมผมยืนยันว่า สำหรับโปรแกรมเมอร์ VB ภาษาของไม่กี่ปีถัดไปเป็นงูเหลือม งูหลามมีคุณลักษณะที่ดีของ Visual Basic ( และของตัวเอง ) กับ - ที่สุดของข้อเสีย Python เป็นภาษาง่ายต่อการเรียนรู้ มันสามารถใช้ GUI Script หรือการพัฒนาเว็บตาม ความคิดเห็นของทุกคนมีหนึ่งจุดไวยากรณ์ : signi ถ่ายทอดโรคมะเร็งของพื้นที่สีขาว หลังจากนั้นมันเป็นสามัญสำนึกที่สวยมาก . ภาษา Python จะคล้ายกับ VB ในความพร้อมขององค์ประกอบ ( ห้องสมุดชั้น ) ที่สามารถทำเพียงเกี่ยวกับอะไร พวกเขามักจะเขียนใน C เพื่อประสิทธิภาพที่ดีที่สุด และแตกต่างจาก VB , พวกเขาเกือบทั้งหมดฟรี ( ไม่มีค่าและรหัสที่มาใช้ได้ ) หลายประโยชน์มากที่สุดที่มาพร้อมกับการกระจายมาตรฐาน ดังนั้นด้วย VB ,ไพธอนเป็นภาษาที่นักพัฒนาทั่วไปเริ่มด้วยจึงหาและใช้บทเรียนมากกว่าโดย de จึงหนิงและสร้างมัน งูเหลือมทำงานบน Windows , Linux และ Mac ง่ายด้วยตนเองติดตั้งแพคเกจไบนารีที่ใช้ได้สำหรับแพลตฟอร์มเหล่านี้ การกระจาย Linux มากที่สุด ( เช่นสีแดง , หมวกและ SuSE ) รวมถึงติดตั้งไพธอน เหมือน Mac OS X 10.3 . มันยังทำงานบนระบบ UNIX ใด ๆและบางคนอื่น ๆ ;แพลตฟอร์มที่พบน้อย อาจต้องมีรหัสแหล่งที่มาติดตั้ง รุ่น Windows ของงูหลามที่มีประสิทธิภาพมากและสถานที่ที่ดีสำหรับ Windows มืออาชีพเพื่อเริ่มต้น มันสามารถดาวน์โหลดได้ ( เช่นจาก www.python . org ) ; นั่นคือการดาวน์โหลดด้วยตนเองและพร้อมที่จะไปเพื่อวัตถุประสงค์มากที่สุด มีร้ายแรงคิดให้เข้ากันได้ข้ามแพลตฟอร์ม และมันเป็นเรื่องง่ายที่จะพัฒนารหัสบนตัวอย่างเช่น Windows ที่จะรันบน Linux และ Mac ( หนังสือเล่มนี้มีตัวอย่าง )
11
การแปล กรุณารอสักครู่..
