| This Week in Programming | In this week's newsletter we run the gamut from drawing simple images in Perl to dealing with special relativity in PHP and everything in between, including well-formed XML conversion and using pointers in C++. Is there a particular topic that you'd like to see covered in a future version of the Programming Newsletter? If so, please let me know at browsers@aboutguide.com or on Twitter @browserexpert. | | | How to Draw Simple Graphics and Images in Perl | The Perl GD Module is a comprehensive interface to the GD graphics and image library, and the Simple class makes drawing with it almost trivially easy. It even includes a throwback to LOGO, a programming language that was all about drawing. Basically, the Simple class gives you control of a virtual pen and you issue it commands that change the foreground and background colors, moving it across your images 'page'. | | | Ruby: AJAX with Sinatra | AJAX is a method to make requests to a Web application without reloading the entire page that made the request. For example, if you were to click on an email message in a webmail application the entire page doesn't reload. The email message is loaded and displayed in a div, but the rest of the page stays as it was. Using AJAX and a little bit of jQuery you can make requests to your Sinatra Web application very easily. | | | A Look at the JavaFX ListView Class | The ListView class creates a control that presents a list of items to the user. These items can be displayed as a horizontal or vertical list. The items in the list can then be selected by the user. The items in a ListView object are contained within an ObservableList object. The ObservableList object allows the storage of a list of objects and can track changes to these objects. | | | Time Dilation Calculation with PHP | If you are at all interested in special relativity, then you will probably end up calculating gamma (time dilation) at some point. The Greek letter gamma is used to represent the value for the time dilation experienced when you move relative to another object. The time dilation that you experience increases dramatically as you approach the speed of light. | | | | | | You are receiving this newsletter because you subscribed to the About Programming newsletter. If you wish to unsubscribe, please click here. If you would like to unsubscribe from all newsletters sent from About.com, please send an email to optout@about.com with "Unsubscribe" as the subject line. | | 1500 Broadway, 6th Floor, New York, NY, 10036 | © 2014 About.com - All rights reserved - Privacy Policy | | | | |
Không có nhận xét nào:
Đăng nhận xét