Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 832
  • Last Modified:

Run Coldfusion Locally

Question...

We have a guy coming into the office claiming that he can take our coldfusion apps and put them on to flash drives to be run on our sales people's computers.

This defies common sense to me.  As a PHP guy - I'm accustomed to setting up WAMP environments - which of course always include MySQL, Apache as the server, etc.  You simply can't run the webapps without some degree of customization on the client computer - or some WAMP service like EasyPHP.  Same thing with .NET.

Is there something I'm missing about Coldfusion?  As a server side technology - I'd figure it's the same process.  How would you envision he's planning on getting Coldfusion apps (tied to MySQL databases) running on flash drives - portable to anyone's computer/laptop?
0
erzoolander
Asked:
erzoolander
  • 5
  • 3
  • 2
  • +2
3 Solutions
 
gdemariaCommented:

It sounds odd to me, files are stored in the O/S and you need a web server, even if just using the CF server.
Is there a database on the flash drive as well?

Perhaps he's suggesting to boot off the flash drive?    That could work..
0
 
sajaycCommented:
Hi,
This is possible if a linux OS is installed on the flash drive and the computer boots to the flash drive.
If this is the case, the users desktop and files may not necessarily be available while using the application.  However, they could have a desktop profile and other apps running off the OS on flash drive.

Ask the person about this and what impact it will have on other applications on the computer.

Hope this helps.

0
 
_agx_Commented:
I'd agree. You can run portable apps but it still includes the server stuff, db, etc...

http://groups.google.com/group/railo/browse_thread/thread/f1135bf839a186f0/3334c546328ea83c?#3334c546328ea83c
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
erzoolanderAuthor Commented:
Well, he's bidding for a job...and I think to a degree he's blowing smoke up the owners' (ya know).  

The impression the owner has (and in fairness it might just be miscommunication) is that once the site is developed - he can just copy it to a flash drive that our sales people can just take out with them and run on their various Windows based laptops.

Yeah, you could definitely boot off the flash drive to get the server going locally, but I don't think that's what the owner is envisioning.

...and I certainly don't want to start training sales people to do that...to be honest!
0
 
_agx_Commented:
If it's not a misunderstanding, I'm not sure what they have in mind.  Run it how? My experience is the same as yours. A server side language needs a server. Otherwise, you're just running it as a client through a browser.

But I'm curious - why run separate copies off a flash drive? That would be like running a disconnected desktop app. Is that the intent?
0
 
erzoolanderAuthor Commented:
The owner is interested in pursuing mobile apps - or having (at the least) some sort of portable version of the website to be taken along to client meetings.  However - he wants it able to run in the event that a network connection is not present.

That's what the guy is selling him on - although - the site is driven off of dynamic content drawn from a database.  So - unless he's:

Intending to generate a million static HTML pages to contend with every possible query combination
or
Intending to utilize some sort of local webserver

I just don't see how he's going to accomplish what he's selling...at least in the form that the owner *thinks* he's getting.
0
 
_agx_Commented:
Maybe he's thinking of integrating something like Adobe AIR.  I don't know much about it but from what I've read it does have that online/offline capability.  I didn't consider it because it's not just a simple packaging of CF code.  But maybe that's what he's talking about?

http://www.adobe.com/devnet/coldfusion/articles/offline_air_orm.html
0
 
gdemariaCommented:

For this to happen, you would need a database on your server and then REPLICATE that database down to each of the flash drives, later, you would have to merge the data back up to the server so it's all together again.

If the application has mostly read only data (such as products, options, etc) and just the ORDER is new, then it could work.  Synchronizing with the server delivers new orders up the master database and brings down and changes to the products.

However, you still have the issue of HOW.  I can't see coldfusion with a database on a flash drive doing this well.  Perhaps Flash or an iPod app could do it.

0
 
witsCOMPUTINGCommented:
CFML needs ColdFusion application Server to execute. It is simply not possible to make portable ColdFusion Application Server and run via USB. His claim is false. BUT their is a possibility that he use Flash as Client End and put ColdFusion processing stuff on ColdFusion Server. This will work but he will have to recode the whole website.
0
 
_agx_Commented:
It is simply not possible to make portable ColdFusion Application Server and run via USB.

Technically - you can run a "a server" off a flash drive.  But that's obviously not what they're asking.

Seems like everyone agrees the goal doesn't seem possible without significant recoding.
0
 
witsCOMPUTINGCommented:
Technically - you can run a "a server" off a flash drive.  But that's obviously not what they're asking.

I would love to see that technical possibility..  Running a webserver is different thing. CF Application server runs side by side with webserver. CF App Server alone can not handle CF templates.
0
 
_agx_Commented:
Of course.  As I understand it, it's possible to run portable versions of the necessary server components (see link above). But I think we're all in agreement,  that's not really the goal here.  
0
 
erzoolanderAuthor Commented:
That was my thought as well.  Thanks all!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 5
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now