Solved

90% CF web application.  Need insights

Posted on 2004-08-05
6
236 Views
Last Modified: 2013-12-24
You know I have been developing this application.  Sometimes, I look at the other applications developed by our main IT department.  I noticed that they do not use as much CF code as i do.  It's mostly javascript like code

Well, I do not know if i am viewing their code it correctly.

What i do is, go to one of the .cfm pages they develop and save it in my local disk.  Then i open it using Dreamweaver.
I am just concern because they mostly use javascript and very little of CF.

I am concern because when i give this application to them, I just don't know how they are going to receive it.  I mean, should i not be using CF as MUCH?

Thanks for sharing your thoughts.

0
Comment
Question by:mdbbound
6 Comments
 
LVL 11

Expert Comment

by:hart
Comment Utility
ok tell me one thing how do u go and see their .cfm page...
if u r viewing it on a browser like IE...

then if u do a save as of that file then you will never get the cfcode....

Because CF is a server side language... SO cfserver after parsing through the code forms basic html that the end user sees....
you can never get the cfcode by doing a file save as on a browser...

you can see javascript code as its clientside...

hope u understand what i meant by serverside and clientside


Regards
Hart
0
 
LVL 11

Assisted Solution

by:hart
hart earned 125 total points
Comment Utility
ok and also even if they are using more of javascript in their pages...
Then it should be mostly for validations of form elements and so on...

but for the database related tasks they will have to use cf or any other server side code...
So i think it mainly depends on your application and what you are building...

give a brief detail of what you are developing...

Regards
Hart
0
 
LVL 6

Assisted Solution

by:PE_CF_DEV
PE_CF_DEV earned 125 total points
Comment Utility
If you are truely looking at the source of thier CFM pages are you seeing javascript <script> or Cold Fusion script <cfscript>
 A lot of programers like to use <cfscript> for various reasons check and see. As for what thier dong compared to what your doing...if you are doing it right then it doesn't matter. Be confident in your code so long as you know you put in 100% into your code.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 17

Accepted Solution

by:
anandkp earned 125 total points
Comment Utility
yeah ... a lot wld depend on what the application requires - if its a intranet & u know users arent gonna tamper much - u cld do away with basic checks in CF & have javascript handle them all.

also as correctly said by above - if ur looking via view source - u may just see the HTML/Javascript ... whereas the source file may have a lot of code in CF. its not necessary to have more CF and/OR Javascript OR vice versa.

It all depends what teh application demands from u & how u design it ... :)
0
 
LVL 35

Assisted Solution

by:mrichmon
mrichmon earned 125 total points
Comment Utility
It is also possible you are seeing cfscript code which looks more like javascript or other languages, but is still cf, just not really tag based.

It is also possible that you are doing things that are more dynamic or that interact more with a database

In general I would not worry about it. COde the way you see fit and just make sure you code well and try to account for all security measures and you should be fine.
0
 

Author Comment

by:mdbbound
Comment Utility
Hi everyone,

Thanks for comments.  Just to let you know, I am developing a tracking system that has a database.  I designed at least 5 pages to have combination of charts and tables to look like the statistical data/financial data.  Now, i'm wrapping up the database maintenance and will start on users and security maintenanceI have charts and percentage.  My boss is very pleased with what i came up, considering that all they have before was a single file in Excel

First I don't see any application designed this,  they have functionality but very little design and presentation.  Maybe because they are trying not to use so much of server resource.

Thank you all.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now