eclipse - ColdFusion Builder 3 vs. Dreamweaver & local and remote paths -
i can't wrap head around how i'm supposed use coldfusion builder 3 (akin eclipse).
up until point, i've been using dreamweaver 5, getting 'long-in-the-tooth', , wanted give cf builder try.
so, in dreamweaver, it's pretty simple: setup connections servers using credentials... there's local path, local copy of code, , webroot of server 'live' copy of code. basically, make change local copy, , put change server. easy peasy lemon squeezy, right?
but, how translate coldfusion builder 3?
just give idea of our infrastructure.... have development , production. each of these boxes has multiple web instances, example: accounting, human resources, it. each of web instances have multiple applications.... i'm considered instance, it, on both production , development servers.
- is workspace supposed represent instance on web server?
- in cfbuilder, should configure 1 server per web app?
- is project supposed represent web app?
- am supposed use drive mappings inetpub wwwroot access web applications? considered kosher have drive mapping web root? \server\c$\inetpub\wwwroot
- where keep local copy of code?
- how move items development production?
my main confusion workspaces, projects, , servers... intent debug , 'view page in browser' cfbuilder.... however, when setup server, under server mapping , url prefix, you're supposed indicate local , remote paths, plus not directly related physical location of project.... , i've mentioned, there's multiple instances, multiple applications, , development box not local machine, it's remote server...
i know how others have made work them.
i don't mind question though it's not directly code related because i've been using coldfusion builder (cfb) years , there isn't enough documentation out there. enjoy great experience cfb blog posts , sharing experiences other devs :)
my setup: cfb3 running on windows 8.1, dev server running on virtual machine treated "remote server" yours. update remote staging , production servers (although not directly cfb).
first, let's set reasonable expectations: dreamweaver , cfb different in cfb focuses on programming , dreamweaver on design. cfb built on eclipse , therefore has advantage of benefiting eclipse plugins.
your question how set projects in cfb using 2 remote servers (dev , prod). it's different i'll share setup you. (sidenote: projects stored in git repositories - 1 repo every app)
starting top: workspace in cfb deals whole eclipse application, not projects. important things kept in directory snippets , plugins. not need keep project files in here. merely main directory of settings kept. not required have more 1 workspace (i have one). why need more one? may multifaceted programmer needs keep separate workspaces using separate tools (like different plugins, snippets, window layouts...)
to answer next question (1 server per web app), need to configure dev servers in "cf servers" tab. need add 1 server per web instance every instance you'd test on. hopefully, dev server has rds enabled (very helpful remote database , file viewing, in dreamweaver). during configuration, don't worry mappings or virtual host settings (i have recommendation later). once configured, you'll able assign server project.
drive mappings: never recommend mapping webroot of shared dev server. if use drive map local directory, changes made directly development server. want create new project right clicking in navigator area , select import > other > ftp. follow steps, choose anywhere on local drive store files, choose "new project" @ end (this add .project file necessary cfb control project).
once project created, right click on it, select coldfusion project , choose cfml dictionary version you'll using (cf11, 10, 9...). then, select coldfusion server settings , choose dev server. necessary testing.
what have local directory app , eclipse knows remote server. in order synchronize, right click on project, go team , synchronize there. detailed information synchronization on ftp, see section "guide webdav , ftp".
moving production not simple in dreamweaver. ftp configuration information allows 1 connection (thus giving list of files synchronized between project , dev server). therefore, you'll need third party ftp client synchronize between local project , prod server.
as promised, last entry able "debugging" why said skip mappings , virtual host settings in cf server config. really, recommend using third party paid plugin called fusiondebug (http://www.fusion-debug.com/). plugin facilitates setup , allows step-into of code (which doesn't work in native cfb). there's 30 day trial , recommend try before buy (or license year in case!)
Comments
Post a Comment