How to setup fusebox 5 framework with Coldfusion? - coldfusion

I've got the fusebox framework files from https://github.com/fusebox-framework/Fusebox-ColdFusion. And I'm trying to make a fusebox framework setup with a simple coldfusion app in cf 2018. I followed the youtube video (https://www.youtube.com/watch?v=jnBpKegsO3Q) to learn.
But Now I'm getting error like Could not find the ColdFusion component or interface fusebox5.Application.
In the downloaded folder I'm not having the fusebox5 folder. I'm not sure how to do this. If you have any documentation link please provide to me. I'm a new guy to the coldfusion technology. So, Please guide me to the right way to make the fusebox & CF setup.
Thanks friends!

Finally, I've got the solution for the fusebox5 setup with cf 2018. Should change the function name from getCanonicalPath to getFBCanonicalPathin the fusebox core files.
Following core files are need to be changed:
corefiles/PathUtil.cfc
corefiles/fuseboxPlugin.cfc
corefiles/fuseboxCircuit.cfc
corefiles/fuseboxApplication.cfc
After modified these files I can successfully run the code with fusebox5 framework.
I've got this idea from https://www.sidwing.com/2019/01/22/working-with-old-frameworks-fusebox-4-5/
This post is very helpful to me. It will help someone to make a setup.
Thank you so much, friends!

Related

A fix using `browsersList` is not working in Expo

I could really use some help getting this to run on web...
I'm building a web app that uses leaflet. (MapView is non-web in Expo right now).
And using the react-leaflet library is giving an error with React 18.
The provided solution everyone mentions has to do with changing the browsersList in package.json. However this isn't working.
I'm wondering if it might be because of Expo somehow?
Please help 🙏 🙂
Here's a couple links to the issues:
https://github.com/facebook/create-react-app/issues/9468
https://github.com/PaulLeCam/react-leaflet/pull/885

ImportError in Django Rest Framework with Google App Engine

I have develop a simple app to learn Django rest framework and then uploaded it into Google app engine. But each time I try to access my data it shows me "no module name rest_framework". it works ok if I dont use Google App engine and stop working if I use (both local install or deploy the codes). I am using django 1.4 and using Cloud SQL. Can anyone please tell me what might be the problem?
regards
Samin
screenshot:
A bit late but might help someone else, I was also trying to get a solution for this error then I came across this link which has all the thirdparty apps, google app engine support. It doesn't have rest_framework.
So a as a solution you will have to copy the third-party library's pure-Python source code into your application's source code.
here is a solution in detail.
Hope that helps!

Setting up RoadKill

I am trying to setup a internal wiki site for project documentation project. I am using roadkill because I have a IIS server and a .net environment.
So the installation instructions aren't much. Unzip the files onto a site directory. Navigate to http://arwiki
Should be that simple, however, I get an error about directory browsing and it looks like there is no MVC mapping in Global.asax. It points to a internal dll so it is hard to determine what I did wrong?
Has anyone setup Roadkill and know what I did incorrectly?
Also there is no tag for roadkill
You can ask for help on the issues board -
https://bitbucket.org/yetanotherchris/roadkill/issues?status=new&status=open
However I can tell you that the problem is most likely that you don't have MVC installed on IIS (if it's Windows Server 2008). You might also need to enable ISAPI filters, they can be turned off.
The ASP.NET web installer contains the MVC bits you need, although Roadkill does come bundled with these.

Define handlebars scripts in a separate directory

I would like to avoid to manage a big index.html file containing all my handlebars template.
I read multiple blogs with different solutions but I'm not sure of the best one.
Is there someone from the official ember.js team able to provide the best practice for this ?
Is grunt the best solution ?
Currently I do not use any special backend like node.js. Only a basic http apache server. The REST API is provided by a Tomcat server
IMO if you are not a rails developer then one of the best option would be indeed grunt or much better yeoman (http://yeoman.io/). Using the generator-ember (https://github.com/yeoman/generator-ember) and yeoman togheter will get you up and running in no time. For example after installing yeoman and the generator-ember you can create a full project structure with a simple yo ember, this will create all the necessary folder for views/controller/routes/templates where you can start coding right away. You should give it a try.
Edit
As stated in the comment of #Toran Billups, the ember core team is working on this project (https://github.com/stefanpenner/ember-app-kit) which will be grunt based and it will work using modules and much more awesome stuff.
Hope it helps.

Coldfusion 9 issue

Just downloaded Coldfusion 9 developer for review purposes. I am at the administrator page 127.0.0.1:8300 and I think everything has worked fine. I want to do a simple "Hello World" example. One tutorial gave me a simple 6 line script to do this and it looks pretty simple and understandable. I went to notepad and created the following:
<html>
<head><title>Hello World</title></head>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
It told me to save it as helloworld.cfm in inetpub/wwwroot directory. I could not find such a directory on my system. So I saved it to C:\helloworld.cfm. Then it told me to go to my browser and type http://localhost/helloworld.cfm. I got something to the effect of a page not found error. Any help you can spare here.
Secondly, and more importantly, exactly where do I really need to be to be to create and run the above helloworld.cfm script above? Is there another tool I must have to create the above script to do this? I also understand that there is very little tutorial documentation on Coldfusion 9, why is that the case. Can you offer me any suggestions. I would really like to use this development tool. Adobe says it is the easiest development tool out there. You will have a tough time convincing me of that at this stage, however, I just might be missing a procedural/processing step thats real simple. I hope this is the case. Thanks for you valuable time.
When you installed ColdFusion did you hook it up to a webserver or did you install it in standalone mode?
Did you install it as standard ColdFusion or Multiserver?
The reason I ask is that depending on how you installed it will determine where you will find the web root.
For example, ColdFusion standard in stand alone mode will have the web root under something like C:\ColdFusion9\wwwroot
Multiserver standalone will be something like C:\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
Installation with a connection to a web server will have asked you where you server's web root is and so on
To create scripts; notepad, but there are two eclipse based IDEs you might like to try. CFEclipse is free and ColdFusion Builder is adode's commercial product.
First of all, Welcome to the ColdFusion community!
I believe Jerry has done a default ColdFusion install. The CFAdmin URL as mentioned is 8300, so i guess it is a multi server installation.
As pointed out by stephen, your web root would be something like \Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
You need to place your helloworld.cfm in the above path.
I recommend ColdFusion builder/ CFEclipse to start with.
CF is a easy language, you will realize that soon :)
http://localhost/ will point to where your web server is configured. So obvious question is did you configure a web server such as IIS or Apache? Which OS are you using and which install of ColdFusion did you pick (standard, multiserver, other...)?
If you don't want to use an external web server you can use the built-in one, I have never really used it much but here is a link that should get you going: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html
To create CFM files you can use pretty much any editor, the most popular one is Eclipse (http://www.eclipse.org/) coupled with the CFEclipse plugin (http://www.cfeclipse.org/). Adobe now has a IDE based on Eclipse called CFBuilder (http://www.adobe.com/products/coldfusion/cfbuilder/features/) which is gaining speed quickly, but it is not free.