| If you're having trouble viewing this email, click here | | | | | This Week in Programming | It's been a great year for the About Programming Newsletter and we thank you for your loyal readership. 2014's final edition features some excellent content including a guide to PHP sessions, primers on Bundler for Ruby developers as well as methods and side effects for JavaScript coders, a tutorial on proper CSS layout, and much more. 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. | | | PHP and Holidays | With PHP some holidays are built in and some are not. When a holiday isn't built in we can generally write a short script to figure it out really fast. This helps if you want to place holidays on a calendar you might be generating. Once you figure out how to calculate the date for your favorite holiday, a fun thing to do is to create a countdown. | | | Methods and Side Effects | While methods are just functions that are attached to objects, there is a difference in the way that you use them in respect to side effects. With a function, you do not want it to have side effects on anything unless the specific purpose of the function is the side effect itself. With methods it is acceptable to have side effects, provided that they are contained within the object to which the method belongs. | | | A Beginner's Guide to Basic PHP Sessions | A session is a way to store information, in the form of variables, to be used across multiple pages. Unlike a cookie, specific variable information is not stored on the user's computer. It is also unlike other variables in the sense that we are not passing them individually to each new page, but instead retrieving them from the session we open at beginning of each page. | | | Ruby: What is Bundler? | Bundler is a program for managing gem dependencies in your Ruby projects. With Bundler you can specify which gems your program needs, what versions they should be and more. Basically, it takes all of the guesswork out of installing the gems needed to run your Ruby projects. | | | | | | 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