Thứ Ba, 23 tháng 9, 2014

Perl Cookies, Java NetBeans, Ruby Graphics

 
 Programming
 
From Scott Orgera, your About Programming Editor
 
 
This week's newsletter runs the gamut from Delphi to Ruby, highlighting a number of interesting tutorials such as how to generate readable passwords in Perl and breaking text into chunks using JavaScript...
 
Follow us on:
 
 
Sign up for more free newsletters:
 
Java: Verifying a File or Directory
Before trying perform any actions on a file or directory it is prudent to make sure that the file or directory exists. If it doesn't and an application attempts to do something with a non-existent file or directory, then things are going to fall apart pretty quickly. The Path interface can be used as a representation of a path on the file system, but even if a Path interface variable holds a path it does not mean that the path actually exists. Don't confuse the representation of a path with an actual one. To verify the existence of a file or directory use the Files class, detailed in this tutorial. READ NOW

Perl: Setting a Cookie in a Browser
Since HTTP is by definition a stateless protocol, we need a method to retain sessions across transactions. This can be done in several ways, but the most clean and common is by setting a cookie in the client's browser. A cookie is basically a key / value pair that is stored in a tiny text file on the client's machine. Cookies are sent in the HTTP headers, and can thus be used to track a user across transactions.  READ NOW

Getting Started With NetBeans
Using an IDE for the first time can be a bit daunting for someone new to programming. They are heavyweight applications designed to help programmers through all the development stages of an application. In the beginning it's not necessary to worry about most of the tasks an IDE can perform -- just focus on writing, debugging and running the programs you write. The rest can be left alone until it's needed. This article shows the steps needed to write and run a very simple program to say "Hello World" in NetBeans. READ NOW

Dock and Float Forms in Delphi
The TPageControl is a really handy pick when you need to create tabbed interfaces where only one tab sheet is presented (visible) to the user at one time. Each tab of a page control can host different controls and thus allows you to create a complex user interface experience. READ NOW

 
ADVERTISEMENT
Featured Articles
More from About.com
Sign up for Shareables!
An every-morning rundown of the day in history, with headlines and trends produced by your pals at About.com. Click here to sign up! It's free (of course) and we think you'll like it!
Want More From About.com?
Check out our social channels tailored to every interest!
Sign up for more free newsletters on your favorite topics

You are receiving this newsletter because you subscribed to the About.com 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.

Contact Information:
1500 Broadway, 6th Floor
New York, NY, 10036

Privacy Policy © 2014 About.com

Không có nhận xét nào:

Đăng nhận xét