Das Blog

Debugging one line at a time
$1*/ mo WordPress hosting! Get going with GoDaddy!
Menu
  • Home
  • Coding
    • Entity Framework
    • MVC
    • NHibernate
  • JavaScript
    • TypeScript
  • Hosting
  • SEO
  • Social
  • Database
    • MySql
    • SSIS
  • WP
  • Other
    • CakePHP
    • Error Messages
    • Google Maps
Home
Other
CakePHP
Deploying CakePHP to Fatcow Hosting
CakePHP

Deploying CakePHP to Fatcow Hosting

Codex Discipulus May 2, 2010

I am currently working on a web application project running on Linux and PHP for a client. I decided to use a framework to make my development easier and quick. The web application is not complicated but very basic, so I decided to choose a basic framework, the winner was CakePHP.

I am very impress so far. I am a completely newbie still but learning quick. CakePHP is very easy to setup and uses the MVC model (which I loved). Connection to MySql was as fast as setting up the connection string. Once you create your Controller and Model, you can specify the controller to run the built-in (yes.. one line of code inside the controller PHP file) scaffolding and be CRUD with any table in MySql in just minutes. There is a lot of good information and tutorials for CakePHP just in case you are wondering about documentation and a strong community around CakePHP.

Deploying. Yes of course, not every framework works on every hosting environment. I been happy with Fatcow for many years, but this was the first time I was working with this CakePHP framework so I was not 100% sure it will run. It should (but you know what happen to assumptions in the development world).

Well, Fatcow is able to RUN CakePHP with no problems (yeah, I did assume and just uploaded the test app). No Problem.

Steps:

  1. Download CakePHP code. Extract.
  2. My extracted directory was: “cakephp-cakephp1x-1.3.0-0-g1c06478” (CakePHP version 1.3.0)
  3. Renamed that directory to the application name. Something like: “MyApp” will be fine.
  4. Deploy the directory to the root of the virtual folder set for the application: “/Domain Virtual Folder/MyApp”.
  5. Made changes to “/Domain Virtual Folder/MyApp/app/config/database.php” (renamed from default, MySql database was setup already).
  6. Made changes to the security “salt” (Don’t worry, you will see all this on the default page, but is not required anyways)
  7. Open your browser and point to: “http://YourDomain/MyApp” and TADA!!!
  8. If you create a MVC for table “Records” for example, and setup scaffolding, then you can point to: “http://YourDomain/MyApp/records”.

Of course I will have to improve on the scaffolding and learn how to use layout and CSS and all the design stuff in CakePHP, but for an hour or work, to be able to have a MVC application up and running with (admin) screens on some models is not too bad.

Share
Tweet
Google+
Linkedin
Stumble
Email
Next Article

Related Articles

CakePHP Error Database table *** for model *** was not found
Sometimes you don’t need to create a database table for …

CakePHP Error Database table *** for model *** was not found

CakePHP Error Message Cannot modify header information headers already sent
I got the following error message while testing my CakePHP …

CakePHP Error Message Cannot modify header information headers already sent

About The Author

Codex Discipulus

Hello, my name is David and I am a disciple of coding, always learning and always ready to help. Welcome to my blog, I hope you find it useful, please send your comments and share an article with your friends.

Leave a Reply

Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Hosting ASP.Net Core 3.x Worker Service as …
    Using the Worker template now is possible to host an …
  • Calling an HTTPS WCF Service from Net …
    We all know how to call a WCF service from …
  • How to Add a VS Code Project …
    Let’s try to add a Visual Studio Code project to …
  • Step by Step Token based Authentication in …
    Token Authentication is a very popular method to secure a …
  • How to Ignore NuGet Packages in TFS …
    This should be a short post. It is really just …

Categories

  • CakePHP
  • Coding
  • Database
  • Entity Framework
  • Error Messages
  • General
  • Google Maps
  • Hosting
  • JavaScript
  • MVC
  • MySql
  • Net Core
  • NHibernate
  • SEO
  • SSIS
  • TypeScript
  • Wordpress

Tags

ActiveDirectory analytics apps aspnet CakePHP coding database projects design patterns entity framework error messages fatcow first steps ftp github gitlab godaddy google maps api hangfire Hosting iis7 java javascript membership MVC MySql NHibernate nuget nuget packages oracle owin repository SEO sharp ssis t4 tfs thesis token authentication typescript vs2010 vs2015 vs2017 web api Wordpress wp-pagenavi

Das Blog

Debugging one line at a time
Copyright © 2020 Das Blog
ScottsdaleWebStudio.com © All Rights Reserved 2017