David Golding



Easy File Transfers Between Remote Hosts

By David Golding

I’ve just moved from one web hosting provider to another one. But getting large web sites from Host A to Host B can be challenging and time-consuming, especially if you have less than a T1 connection. Let me share with you how I was able to move a 1.3 GB backup file from one host to another using ssh.

First, I logged into the new hosting account via ssh:

ssh username@new-domain.com

Then, just a matter of using command-line FTP, I was able to move the file from the previous host:

ftp ftp.previous-domain.com
Name: [username]
Password: [password]
cd [to directory]
get [filename]

That’s it. What’s nice about this is that the file transfer occurs between the new hosting server and the old one, which undoubtedly have a better internet connection speed than my current one. Also, it removes the task of having to download the backup file to my local machine, and then upload it to the new host. As long as one of the hosts doesn’t impose a bandwidth cap, this should transfer the file much more quickly than if you were to add your local machine to the process.


Get Another 47-Page Chapter

By David Golding

The chapter “Cake 1.2 Functions and Properties” is now available for readers of Beginning CakePHP: From Novice to Professional. It contains 47 pages of reference material about the CakePHP framework which is useful for looking up functions and properties of the various classes. A preview is also available [PDF], if you’re interested in checking it out.

I’m thrilled about this chapter for a couple of reasons. First of all, I like cheatsheets, and this is like a cheatsheet for the whole CakePHP framework. Sure, for some things, the API is the only way to go for looking up specifics about functions and properties. But often, I just need to flip through a chart or a couple of pages to look up something, and having it right there in front of me is sometimes more accessible than bouncing back-and-forth between one tab on the API and another on my project or text editor.

Second, I’m thrilled about this chapter because it was not only fun to compile, but also has been useful for me as I’ve developed my own Cake apps. I’m excited to pass it along to you and make your life easier. There’s nothing worse than building something and then finding out that you could have accomplished the same method by calling out a one-line command from a Cake helper or component. This chapter will provide you with a concise view of what’s available in Cake and save you from this kind of disappointment.

So, dear reader, enjoy Appendix C: Cake 1.2 Functions and Properties and be sure to let me know if it has been beneficial for you. As always, I love hearing your feedback.


Reader Feedback

By David Golding

I’m interested in your feedback about my new book “Beginning CakePHP: From Novice to Professional.” Please visit the Forum to discuss the book, ask questions, or otherwise let me know what you think of the book. You can also reach me by commenting on blog posts or writing reviews on Amazon.com.

This book represents the first major effort to publish a CakePHP manual in English, and has gone through rigorous testing and technical reviews to get it to this point. Many of you got started with my first drafts of “The Newbie’s Guide to CakePHP” and made suggestions as far back as 14 months ago. That feedback has certainly culminated in what is now “Beginning CakePHP,” and was so valuable back then. I hope to get similar feedback from what is sure to be a wider audience with the release of a much larger and in-depth book. I can promise that I’ll consider your suggestions and who knows — maybe another edition will be ready as Cake matures into 1.2 and 2.0 releases.

As always, thanks for the support, and I hope you enjoy the read!


« Older Entries | Newer Entries »

Beginning CakePHP: From Novice to Professional by David Golding

David Golding

A blog about CakePHP, web design, and grad studies in religion. © 2008, D. Golding