Quantcast
Channel: ColdFusion
Viewing all 1091 articles
Browse latest View live

Taffy for REST – Part 4: More VERBS

$
0
0

Repository

https://github.com/jmohler1970/Taffy_Verbs

Introduction

Video starts on how Github fits into the Software Development Life Cycle (SDLC). Then it covers even more verbs. Ends with a demo of the REST services in action.

Resources

The post Taffy for REST – Part 4: More VERBS appeared first on ColdFusion.


Spreadsheet Data Formatting Not Working

$
0
0

I have a function to generate a single worksheet in an excel xlsx workbook. I am passing in a sheet name, a comma separated list of column names and a query of data.  No matter what I do, I can’t seem to get a data format to be applied to a cell. I have seen a few examples and it’s using similar methodology, which leaves me scratching my head.

Is there a sequence that must be followed for the formatting to be applied?

Do I need to write the file and then update it with the formatting?

// Create a spreadsheet object with the sheetname passed into the function.
variables.spreadsheetObj = spreadsheetNew(“#ARGUMENTS.sheetName#”,true);

//Add the header row column labels
spreadSheetAddRow(variables.spreadsheetObj, “#ARGUMENTS.columnNames#”);

//Format the header row
SpreadsheetFormatCellRange(variables.spreadsheetObj, variables.headerFormat, 1, 1, 1, #variables.numberOfColumns#);

//Add the data from the query
spreadsheetAddRows(variables.spreadsheetObj,variables.dataQueryResults,2,1,false,[“”],false);

//Format the data rows with the formatting from above, and apply to the rest of the rows.
spreadsheetFormatRows(variables.spreadsheetObj,variables.rowFormat,”2-#variables.lastExcelRow#”);

//Set the values of a format struct
variables.cellFormat = StructNew();
variables.cellFormat.dataformat = “($#,##0_($#,##0)”;

//I Loop through a comma separated list of the columns that need formatting and run this function
spreadsheetFormatCellRange(variables.spreadsheetObj, variables.cellFormat, 2, #columnNumber#, 21, #columnNumber#);

//Write the excel file.

The post Spreadsheet Data Formatting Not Working appeared first on ColdFusion.

CF Camp 2018: Madness in Munich Part Five- AngularJS + ColdFusion

$
0
0

Welcome to our final installment of CF Camp 2018: Madness in Munich! This is our series pertaining to all things CF Camp 2018, the only CF conference in Europe. In our fifth and final part, we look upon Nolan Erck’s upcoming session, AngularJS + ColdFusion. Here he will discuss getting started with AngularJS and building a simple JSON API in ColdFusion. He will then show you how to interconnect the two in order to create a fully functional application.

In our article, we will discuss the importance of JS (Javascript) for client-side web apps and how it can benefit your company. I will also go on about exactly what AngularJS is and how you can get started. (Although, I will leave all the heavy lifting to Nolan during his presentation…) And now without further ado, let’s get started.

“What in particular I enjoy about coding in CFML, is the power and flexibility of the metaprogramming which we use day to day. You’re not stuck with what the language gives you. You can really nice, and easily, use metaprogramming to extend it to create your own frameworks, and I know other languages do that, but it’s always much more direct to do things in CFML without … Compare it to Ruby that does some nice syntactic sugar around that. It’s more straight forward. It’s not quite so obscure as a language. It reads much better.”  – Dominic Watson, Technical Director at Pixl8 Interactive

From CF Alive episode, “007 Marketing Automation using the Preside Platform with Dominic Watson

What You Need to Know as CIO

The Difference between Server Side and Client Side

Does understanding the difference between server-side and client side really matter for my business?

Absolutely.

The server-side environment (backend) is comprised of everything that is needed to generate dynamic HTML. This HTML is then sent to the client side (frontend) for use.

On the server-side of things your preferred scripting language is used whether it be Ruby, Python, or PHP.

Now of course, we all know that CFML with ColdFusion or Lucee is our language of choice. But is it your client’s?

In all likelihood, probably not.

You see, front-end applications are written almost exclusively in JavaScript (JS) alongside basic HTML and CSS. These are the scripts that are normally used to run a browser. JS is known as a client-side language because it is ideal for user interaction.

So… why would you try to communicate with your clients using CFML knowing full well that your clients only support JS?

IT JUST DON’T MAKE NO SENSE!

But… Why JavaScript?

Believe it or not, JavaScript hasn’t always been the cool kid in class. Once dismissed as buffoonish and amateurish by developers, JS has risen to the rank of most popular computing language. According to an lform.com survey, 65% of all programmers polled use JavaScript.

Heck, in our very own 2018 State of the CF Union, a whopping near 90% of CF developers asked used JS.

So what happened? How did JavaScript get to be such a dominant force in computer language programming?

Back in 1993, Marc Andreessen–founder of Netscape Communications– knew that a small scripting language would be needed to be the language glue with the DOM (Document Object model or the interface for HTML and XML docs). Through the creation of this language, web content could become more interactive, user-friendly, and dynamic.

Marc understood that this particular language needn’t be overly complex either. Instead he designed this language with graphic designers and part-time programmers in mind. His language shouldn’t be limited to those tech savvy and professional developers. Remember… this was the early nineties. Not everyone was running around with smartphones then.

And thus the idea of JavaScript was formed.

However, this idea wasn’t put into play immediately. But in 1995, Netscape commissioned Brendan Eich to create the JavaScript language. He was able to accomplish this in only 10 days. Just like that JavaScript was born.

After its release, it was later brought to ECMA International. EMCA International is an organization established in 1961 to set a worldwide standard for communication and information systems. JavaScript was adopted and turned into EMCA Script.

Throughout the following years, EMCA Script evolved and progressed. Doing so gave it more ground amongst the development community. As of today, 95% of all websites on the Internet use JavaScript according to W3Techs.

If these numbers don’t tell you that JS is important… honestly, I don’t know if you can be helped.

Here are just some of the advantages in terms of dynamic enhancements when using JavaScript:

  • Autocomplete
  • Loading New Content onto the Page without Reloading the Page
  • Dropdown Menus and Rollover Effects
  • Animated Page Elements such as Resizing, Relocating, or Fading
  • Audio and Video Capabilities
  • Input Validation for Web Forms
  • Repairing Browser Compatibility Issues

On top of all this, the role of JavaScript can never be denied. This is because JS acts both as an Object Oriented Language and as a Procedural Language.

The Abuse of JavaScript

Remember, as CIO you ultimately make the calls when it comes down to your information technologies. Understanding that JavaScript is the catch-all of client-side operations can make your life easier. But what if it’s not? What should I not use JavaScript for?

In a perfect world, we would have one uniform language we could use seamlessly between both and front and back-end operations. Unfortunately for us, we don’t live in this perfect world. And no one language can provide this. So in order to determine what is best… You need to focus on the purpose of your actual application. There will be instances where JavaScript just won’t work. I mean you wouldn’t code the entirety of Star Wars: Rogue Squadron in JS. (Am I correct in this assumption Nolan?)

Just keep in mind the scope of your work when using any programming language. JS can be abused and pushed past its limitations easier than you would think just due to its adaptability and availability. With that being said, let’s take a brief look at what AngularJS is.

AngularJS

AngularJS (or Angular.js) is a JS-based third-party front-end framework created and maintained by Google. One of its key focuses is to simplify the testing and development of single page apps. This is accomplished by providing a steady framework for MVC (Model View Controller) and MVVM (Model-View-ViewModel) architectures.

HTML is great for declaring static documents. This goes without saying. However, HTML does have its faults when dealing with dynamic applications. In true JavaScript fashion, AngularJS increases the reach and capabilities of your standard HTML vocabulary allowing for more powerful and flexible programming.

One of the neat things about AngularJS is its ability to be fully customizable. You can alter every single feature in order to fit your own unique workload and situation. It is fully extensible as well and plays nice with other libraries.

*AngularJS refers to is the name for all v1.x versions of Angular. The name has been changed to simply Angular for the latest versions. I will be referring to AngularJS as Angular from here on out.

CF Tech Talk

“I just always had a passion for ColdFusion and I just you know it was described to me one time as kind of the Swiss Army knife of application tools and it always seems like there’s a way to do anything with ColdFusion. No matter what the problem is there’s always a way to solve it. You integrate whether even if you have to do some Java package or something, there’s always a way to integrate it into ColdFusion. And lots of great resources out there that are from all the experts on the Internet.”- Mike Collins, Senior ColdFusion consultant at SupportObjective

From CF Alive episode, “062 Scaling Your ColdFusion Applications (Clusters, Containers and Load Tips) with Mike Collins

ColdFusion has that wonderful ability to integrate. Especially with Java-based apps and languages. For those who tend to forget, Java is the actual heart of CF. So naturally, it will work exceptionally well with JS and Angular for that matter. So, the real question is…

How do I get started using AngularJS?

When getting started with Angular, I would personally recommend heading straight over to their website, https://angular.io. Angular doesn’t just give you an installation button though. They give you an introductory course which helps you to construct your very first Angular app!

This is an incredible process. They take you step by step from prerequisites all the way down to final code testing. This method is an exceptional way to do things. What’s even nicer is what happens after. After you complete the intro to Angular course and download the final application code, there is still a well-structured tutorial that will assist you every step of your way to becoming an Angular master. It even comes complete with a handy architecture style guide to make sure you understand all architectural components.

Whether or not these conveniences were a nuanced approach to the original purpose of Javascript, the folks at Angular sure make the language rather user-friendly.

Benefits and Features of Angular

According to Angular, the benefits of the language are broken down into 4 major categories:

  1. Cross Platform
  2. Speed and Performance
  3. Productivity
  4. Full Development Story
  • Cross Platform Features
    • Progressive Web Apps
      • With Angular, you can use modern platform capabilities. This allows your user to have an app-like experience through great performance, offline capacities, and zero step installation.
    • Building Natively
      • You can now natively build mobile apps with Cordova, Ionic, and NativeScript.
    • Creating Desktop Apps
      • With Angular, you can also create desktop apps. This is done using the exact same methods you would use for developing your web page. Mac, Windows, and Linux apps are all able to be created, and you are allowed access to Native OS APIs.
  • Speed and Performance Features
    • Code Generation
      • Angular automatically translates your templates into highly optimized for modern JavaScript VMs. This gives you the best of both worlds. The ease of a framework with the precision of handwritten code.
    • Universally Recognized
      • Output the first view of your app on Node.js, PHP, .NET, CF, and other servers for immediate rendering in HTML and CSS. This allows for great potential of search engine optimization for those that rely heavily upon it.
    • Code Splitting
      • Using Angular’s new component router, your code is now privy to automatic code splitting. This allows users to only load code that is required to render the code requested.
  • Productivity Features
    • Angular CLI
      • We all know just how easy Ortus Solutions’ CommandBox CLI is. The same can be said about Angular’s CLI. With its command line, you can quickly and easily start building apps, perform tests, and deploy.
    • Templates
      • Now, you can quickly develop UI views with Angular’s cutting-edge template syntax technologies.
    • IDEs
      • Use the power of intelligent code completion, instant error recognition, and other check tools with Angular’s editors and IDEs.
  • Full Development Story Features
    • Animation
      • Through Angular’s API, you can now create stunning high-performance choreographies and animation timelines with minimal code.
    • Accessibility
      • Accessibility has never been easier. Construct accessible applications with ARIA-enabled components, dev guides, and built-in a11y test infrastructure.
    • Testing
      • When it comes to testing, Angular has you more than covered. Use their Karma applications for unit testing and Protractor for all your scenario testing needs.

These are just some of the many benefits of choosing Angular as your front-end platform for all of you CF back end needs. Angular is constantly improving and updating how JavaScript in general performs. Choosing a simple to use, universal front end for your CFML should be a no-brainer. Using Angular with our ColdFusion really helps to keep CF relevant and vibrant. ColdFusion has time and time again shown its ability to adapt to the waves of future tech. With its integration with JS (Angular in particular), ColdFusion has once again proved that it isn’t going anywhere anytime soon.

Because in the last 22 years I haven’t found anything better. Bearing in mind, at any point in time, I usually have five or six clients, most of them are still ColdFusion, some of them are Java, but like I said, I worked on PHP and I worked on .Net. Those things don’t have anything better than ColdFusion as for what it’s doing, which is providing, the best of what it does is to provide a server mechanism to power front ends, whether your browsers or phones or devices or whatever. None of those other tools are any better. The reality is, there’s a lot of fashion in development, and things go out of fashion. 
What we must never forget, in my opinion, is without ColdFusion, the web as we’ve come to know it, the dynamic web would have been a long time coming. We have to remember, ColdFusion was around before Bill Gates thought the internet was anything worth thinking about, or at least the web.”-Mike Brunt, Senior Server Engineer at Go2RIA


From CF Alive episode, “009 Tuning & Troubleshooting ColdFusion Using Native Tools with Mike Brunt

This concludes our series, CF Camp 2018: Madness in Munich. But just because our series ends doesn’t mean the show can’t go on. Be sure to catch us on the CF Alive podcast and stay up-to-date with all things CF on my blog only here at TeraTech!

About the Speaker: Nolan Erck has been developing software for 21 years. Starting in the video game industry working on titles for Maxis and LucasArts, then advancing to web development in 1999, his list of credits includes Grim Fandango, StarWars Rogue Squadron, SimPark, SimSafari as well as high-traffic websites for a variety of clients.

Nolan manages the SacInteractive User Group, teaches classes on aspects of software development, and regularly gives presentations at conferences and user groups across the country.

When he’s not consulting or talking about himself in the third person, Nolan can usually be found working on one of several music projects.

Join the CF Alive revolution

Discover how we can all make CF more alive, modern and secure this year. Join other ColdFusion developers and managers in the CF Alive Inner Circle today. 

  • Get early access to the CF Alive book and videos
  • Be part of a new movement for improving CF’s perception in the world.
  • Contribute to the CF Alive revolution
  • Connect with other CF developers and managers
  • There is no cost to membership.

The post CF Camp 2018: Madness in Munich Part Five- AngularJS + ColdFusion appeared first on ColdFusion.

CFFiddle for Spreadsheet, List, Struct, and Date/Time functions

$
0
0

In a previous blog, we’d mentioned that we have started linking code samples in docs to CFFiddle links.

Building upon our previous efforts, we’ve now extended CFFiddle to the following function categories:

The next task is to link CFFiddle with Query and Decision functions, and also a few File functions.

As always, please use CFFiddle to test the samples. If there are sample(s) that you want to be modified/corrected, share the link in this thread or send me a mail, saghosh@adobe.com.

Please send us your feedback and suggest ways for a more fruitful collaboration.

The post CFFiddle for Spreadsheet, List, Struct, and Date/Time functions appeared first on ColdFusion.

Oracle JDK and ColdFusion 11

$
0
0

Currently we are utilizing ColdFusion 11 with the latest patch installed.  We also using Oracle’s JDK 8 Update 192 JRE to keep ColdFusion JVM current with the latest java release.

Due to Oracle posting the following information on their website (see below), we would like to know what is Adobe going to do in reference to the licensing issue.  I need to know this information ASAP just in case my company has to go out and purchase a license agreement from Oracle.

Per Oracle’s website, they posted the following:

End of Public Updates for Oracle JDK 8

Oracle will not post further updates of Java SE 8 to its public download sites for commercial use after January 2019. Customers who need continued access to critical bug fixes and security fixes as well as general maintenance for Java SE 8 or previous versions can get long term support through Oracle Java SE Subscription or Oracle Java SE Desktop Subscription. For more information, and details on how to receive longer term support for Oracle JDK 8, please see the Oracle Java SE Support Roadmap.

The post Oracle JDK and ColdFusion 11 appeared first on ColdFusion.

Cannot get Coldfusion 11 started

$
0
0

I can now run coldfusion from the console and edited the adminconfig.xml to skip the wizard but I still can’t start the Coldfusion Service from the windows SERVICES panel – only from CMD.exe prompt…

 

 

 

Have attempted to install and reinstall sever times and once installed the ColdFusion Application server will not start in windows panel but I can start coldfusion via

coldfusion.exe -start console

But once I go to http://127.0.0.1:8500/CFIDE/administrator/enter.cfm I am stuck on the Coldfusion Server Finish page…

Microsoft Windows [Version 10.0.17134.345]
(c) 2018 Microsoft Corporation. All rights reserved.

C:WINDOWSsystem32>C:ColdFusion11cfusionbincoldfusion.exe -start console
Listening for transport dt_socket at address: 5005
Nov 10, 2018 10:17:37 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:ColdFusion11cfusionlib;C:ColdFusion11cfusionjintegrabin;C:ColdFusion11cfusionjintegrabininternational;C:ColdFusion11cfusionliboosdkclasseswin
Nov 10, 2018 10:17:38 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“ajp-bio-8014”]
Nov 10, 2018 10:17:38 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 10, 2018 10:17:38 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.68
Nov 10, 2018 10:17:40 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 10, 2018 10:17:40 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [131] milliseconds.
11/10 10:17:41 INFO License Service: Flex 1.5 CF Edition enabled
11/10 10:17:41 INFO Starting Flex 1.5 CF Edition
Nov 10, 2018 10:17:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
Nov 10, 2018 10:17:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.25-b02
Nov 10, 2018 10:17:42 AM Information [localhost-startStop-1] – Starting logging…
Nov 10, 2018 10:17:42 AM Information [localhost-startStop-1] – Starting license…
Nov 10, 2018 10:17:42 AM Information [localhost-startStop-1] – Developer Edition enabled
Nov 10, 2018 10:17:42 AM Information [localhost-startStop-1] – Starting crypto…
Nov 10, 2018 10:17:43 AM Information [localhost-startStop-1] – Installed JSafe JCE provider: Version 6.0 Crypto-J 6.0, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, FIPS186PRNG, ECDRBG, HMACDRBG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)
Nov 10, 2018 10:17:43 AM Information [localhost-startStop-1] – Starting security…
Nov 10, 2018 10:17:43 AM Information [localhost-startStop-1] – Starting scheduler…
Nov 10, 2018 10:17:43 AM Information [localhost-startStop-1] – Starting WatchService…
Nov 10, 2018 10:17:43 AM Information [localhost-startStop-1] – Starting debugging…
Nov 10, 2018 10:17:43 AM Information [localhost-startStop-1] – Starting sql…
Nov 10, 2018 10:17:44 AM Information [localhost-startStop-1] – Pool Manager Started
Nov 10, 2018 10:17:46 AM Information [localhost-startStop-1] – Starting mail…
Nov 10, 2018 10:17:46 AM Information [localhost-startStop-1] – Starting runtime…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – CORBA Configuration not enabled
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting cron…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting registry…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting client…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting xmlrpc…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting jaxrs…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting graphing…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting solr…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting archive…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting document…
Nov 10, 2018 10:17:48 AM Information [localhost-startStop-1] – Starting eventgateway…
Nov 10, 2018 10:17:49 AM Information [localhost-startStop-1] – Event Gateway Disabled.
Nov 10, 2018 10:17:49 AM Information [localhost-startStop-1] – Starting FlexAssembler…
Nov 10, 2018 10:17:49 AM Information [localhost-startStop-1] – Starting .NET…
Nov 10, 2018 10:17:49 AM Information [localhost-startStop-1] – Starting Monitoring…
Nov 10, 2018 10:17:49 AM Information [localhost-startStop-1] – Starting Monitoring Server on port 5500.
Nov 10, 2018 10:17:49 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.0.7.v20131107
Nov 10, 2018 10:17:49 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started o.e.j.s.ServletContextHandler@2035231c{/,null,AVAILABLE}
Nov 10, 2018 10:17:50 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@6248d457{HTTP/1.1}{0.0.0.0:5500}
Nov 10, 2018 10:17:50 AM Information [localhost-startStop-1] – Starting WebSocket…
Nov 10, 2018 10:17:50 AM Information [localhost-startStop-1] – WebSocket server listens on port: 8577
Nov 10, 2018 10:17:51 AM Information [localhost-startStop-1] – ColdFusion started
Nov 10, 2018 10:17:51 AM Information [localhost-startStop-1] – ColdFusion: application services are now available
Nov 10, 2018 10:17:51 AM org.apache.catalina.core.ApplicationContext log
INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
11/10 10:17:51 INFO Macromedia Flex Build: 87315.134646
Nov 10, 2018 10:17:56 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“ajp-bio-8014”]
Nov 10, 2018 10:17:56 AM com.adobe.coldfusion.launcher.Launcher run
INFO: Server startup in 19728 ms

The post Cannot get Coldfusion 11 started appeared first on ColdFusion.

Presentation Files of Adobe ColdFusion Summit 2018

$
0
0

Thank you to everyone that attended Adobe ColdFusion Summit 2018 and to the Presenters for the awesome sessions!

We hope you enjoyed the conference both for networking and the content. Though we have published many of the slide decks already, many of you have been asking for the actual PDF downloads to review on your own.

The download link for the sessions are below:

Making your applications fast and furious with the new Performance Monitoring Toolset in CF 2018! – https://drive.google.com/open?id=1ON3j1sjh2g-Mbis1uay_g6HUpBaYLhAe

Angular for ColdFusion developers – https://drive.google.com/open?id=1j_sUVdxK38oOUOTJ0J9zQz4SirYNvvJ6

Build modern scalable Microservices and APIs using ColdFusion. – https://drive.google.com/open?id=19Na6hcGpBTzNuYmnLrbP_Bo2fC20QDyC

Take your CF apps from local dev to production with CommandBox and CFConfig and Docker – https://drive.google.com/open?id=1GWyX_zPKW2TdFAH4eid6_utc_WttXhn1

Revamp your monolith with Hierarchical MVC – https://drive.google.com/open?id=1CuDus3nFbqtnyTHRzDfcPqhJDPjkIay6

CF + ReactJS – https://drive.google.com/open?id=1B716P73zUNRY-mywA1PkcJMs8T68Vcty

Let ColdFusion ORM do the work for you! – https://drive.google.com/open?id=1Z95GgbdxDzTgtFusiFT2iYQEJgZceSwN

Creating accessible PDFs with MS Office, Acrobat, and Adobe ColdFusion – https://drive.google.com/open?id=1seMM9uqmz3mSlEDpCCfXtvCYgbEmxzpG

Developer’s Las Vegas: Geek out with the smart language additions in ColdFusion 2018 – https://drive.google.com/open?id=1JJrWrYsgFXRnut0-ViIE9VXlU0c3A9dv

Developer insight into why applications run amazingly Fast in CF 2018 – https://drive.google.com/open?id=1fbxfKXMB2fpxur0VjSwXoaNlPlK67FSp

DEVOPS Cloud environment up in 7 minutes – https://drive.google.com/open?id=1y4QmOF5aPKpWOUmc19f9_Aj4HKlSA-bi

Document workflow and management made easy with ColdFusion – https://drive.google.com/open?id=1CbOIxtEbQT_zLBjQ0SSV7h6cKqHA4663

Easily build Amazon Alexa skills With Adobe ColdFusion – https://drive.google.com/open?id=14CyXFNNgz3Gq5JA2_74D29nSjb2mVMxp

Growing a product into a SaaS platform using ColdFusion technologies – https://drive.google.com/open?id=1F4LPN1A4aGs9sarM70ph2Di2lIfa1k8W

Adobe ColdFusion 2018 hidden gems – https://drive.google.com/open?id=1UvBPgv7PMM00H31p4uU3VlcYl1lcUsE7

Introduction to unit testing, BDD and mocking using TestBox & MockBox – https://drive.google.com/open?id=1wr71rZkQe2pyl2Ff6boz5iq_lkcTq_D5

Making your web applications accessible with HTML5, CSS, and WAI-ARIA – https://drive.google.com/open?id=1S_3NOWZbSZdDNNCHrSyxhprnryv_AkSd

Closures and queries and loops, OH MY! – https://drive.google.com/open?id=1iwTKt8j6hdKFb1UNYu5qTlxAZPES_wle

Securing Mature Databases – https://drive.google.com/open?id=1Up8TWQ2V85RJCjUDnMI5IfMkY8euuhCV

Security in ColdFusion: A 360° outlook – https://drive.google.com/open?id=1hPfbZN2FzPOyO4xVf0Qr2K5EAxGs5rgh

Solr charge your ColdFusion Apps with advanced search – https://drive.google.com/open?id=1PCHoGe6N0ZgokxrGE0X6Qm_iRzyrdSTk

Speed Up Your Programming With All New Adobe ColdFusion Builder 2018 – https://drive.google.com/open?id=1o0UgcsQ26pWUWIXgH7GJJKcSZhFgE-7m

Step into serverless with AWS and Adobe ColdFusion – https://drive.google.com/open?id=1B4Qa3d_LSL2c4UVzuoyO2_YYuOogoqPh

Stunt doubles for your code – https://drive.google.com/open?id=1ODBROxNNsMA_c4LKnG18J54xs57wkhWj

Sync or Async the aha moment – https://drive.google.com/open?id=1VMZBLI6-zDUOYz9yaw9KeO4PW7u88mxV

What does the API Manager do that I already don’t? – https://drive.google.com/open?id=17sMFdKNM2YZAAxkB–zxbmbTCuteC03J

Refreshing your UI: Modern uses for WebSockets – https://drive.google.com/open?id=14nNb-s4NQAqNc84a29yphXXBymyj2fjl

See why FusionReactor is the perfect monitoring solution for CF – https://drive.google.com/open?id=1mDTdNN6nlQ0XzPobg5gANKNHyPLAOyQX

Scaling coldfusion application with distributed caching using ehcache/terracota, redis and memcached – https://drive.google.com/open?id=1C1SODEjHiIaz7r53aU3Y2J_sYdF9S-PI

Adobe Keynote – https://drive.google.com/open?id=1RDdeY6g4r1hMOqwqIvYBVj-_QqnZZcI0

We hope to see you again next year!

The post Presentation Files of Adobe ColdFusion Summit 2018 appeared first on ColdFusion.

ColdFusion: My First Time. Share yours in the comments

$
0
0

I used to work for a rock radio station in Las Vegas as their Promotions Director.  It was an incredible time.  Let me tell you, I, of all people, should not be permitted to be in control of $1 Million worth of broadcasting equipment and the ability to reach thousands of listeners when I was in my early 20’s.  I was young, tech-savvy, and having way much more fun that I should have.  Each year, the station would broadcast the Super Bowl live on the air for people who weren’t able to watch, were stuck at work, or otherwise couldn’t see the game on TV.

In 1995, the world wide web was in its infancy, but things were really starting to take off.  During the 1995 Super Bowl, I was sitting in the studio, running the game, watching the Chargers and ‘Niners play in Miami.  This was also the Super Bowl where many of the biggest commercials started advertising their website addresses, so you saw “nike.com” and “pepsi.com” in small print at the end of the commercial.  I recognized something was happening and I felt the stations needed to be a part of it.

The next day, I met with the Vice President of 6 local stations and told him, “Tony… we need to build websites for the stations.”  His response is burned into my memory to this day.  His shoulders dropped, and he sighed heavily and asked, “Really?  Do you really think this Internet thing is going to take off?”  I smirked and told him, “yeah, I’ve got a hunch.”  He begrudgingly approved my request with a caveat; “you can build websites for the stations, but you get no extra budget, no extra help, and no additional resources.”

I was off.  And with the help of a local company (and my beloved Amiga 2000) I was writing text files that contained HTML 2 and graphics and all sorts of web goodies… it was very rewarding and exciting.  The sites were hand-coded and static.  (Read as, a giant time-sink and painful to manage.)

Somewhere along the line, someone at the station thought it would be a good idea to have the current date, and the “last updated” date appear at the top of the page.

Seriously.  On a static site, this was the priority for someone.  We must help our listeners by telling them that the site was last updated three days ago, and that today is Tuesday.  (Remember though that this was before the age of smart phones, or even WiFi, so getting a web page to do anything seemed like a feat of computer science.)

So for months, I updated the site every day.  I logged into the host, downloaded the index.html file, manually changed the date, and re-uploaded the file.  It was my nightly ritual, and it was awful.  Like, 10 hours of Nyan cat awful.

Then… enlightenment.  Someone turned me on to ColdFusion and this one simple line changed my life, and my career path forever.

<cfoutput>#dateFormat(now(),'dddd, mmmm d, yyyy')#</cfoutput>

That was it.  So simple… so elegant… so powerful.  I posted my file and saw the date change after midnight automatically and I. Was. A. GOD.  It wasn’t long before I asked, “that was great… I wonder what else I could do with ColdFusion?”  20 years later, I still have had the privilege of developing with ColdFusion every single day.

What was your turning point?  What made you embrace the language and start wanting to do more?

The post ColdFusion: My First Time. Share yours in the comments appeared first on ColdFusion.


arraynew[type](params) vs object[method](params)

$
0
0

Hi all,

Aether has 3 typed-array creation syntaxes:
1) ArrayNew(dataType=____)
2) [dataType][]
3) ArrayNew[dataType](params)

Long-time community ask is for method invocation syntax object[method](params). See its conflict w/ #3? Lucee isn’t implementing #3 b/c it conflicts w/ their object[method](params) support.

Proposal: A) Remove #3 or B ) replace it w/ ArrayNew(dimension[, dataType])

Possible conflicts:
1) ArrayNew(dimension[, dataType]) conflicts w/ ArrayNew(dimension[, isSynchronized]) if dataType is a CFC named true.cfc or no.cfc, for example
2) object[method](params) conflicts w/ ArrayNew[dataType](params) if object is a CFC named arraynew.cfc

Both conflicts should be considered equally.

If ArrayNew[dataType](params) cannot be changed to ArrayNew(dimension[, dataType]) due to conflict #1, then ArrayNew[dataType](params) should not be introduced due to conflict #2.

Thus, preferred proposal is A. I filed this as https://tracker.adobe.com/#/view/CF-4202139 which Adobe closed without comment.

Thoughts? Explanation, Adobe?

Thanks!,
-Aaron

The post arraynew[type](params) vs object[method](params) appeared first on ColdFusion.

Cannot get Coldfusion 11 started

$
0
0

I can now run coldfusion from the console and edited the adminconfig.xml to skip the wizard but I still can’t start the Coldfusion Service from the windows SERVICES panel – only from CMD.exe prompt…

Have attempted to install and reinstall sever times and once installed the ColdFusion Application server will not start in windows panel but I can start coldfusion via

coldfusion.exe -start console

 

 

EDITED 11/14/2018

I can launch the ColdFusion Service from a CMD prompt, as Admiistrator but CANNOT lauch the Service from the SERVICE panel. I Deleted all CF Logs and I’m attaching the clean logs I got after attempting to start CF Server Service from the Windows 10 Services panel…CF11-Clean-logs after attempt to start SERVICE

 

The post Cannot get Coldfusion 11 started appeared first on ColdFusion.

State-of-the-Art Tools That Keep ColdFusion Alive

$
0
0

Am I the only one who gets excited when sitting down to hash out some new CFML code?

You know. one of the best parts about using ColdFusion (or Lucee for that matter) is the ease of use. CFML is a language that is capable of many things, but it’s simple to use. Ever stop and wonder why?

It’s because of a state-of-the-art tool and third-party support integration.

Whether it’s containerization, source control, IDEs, or monitoring solutions, there are many great tools that fill those positions. These are pivotal to making ColdFusion modern and alive. By further integration of third-party tools, we are witnessing ColdFusion develop into a rising star in the world of web development.

Let’s take a look at a handful of these awesome tools now.

Containerization is one of several key new state-of-the-art development techniques. Jumping on board now would help keep CF alive and become more modern. By opting for conterization, you will achieve maximum reliability, scalability and portability for your applications. This process also saves you a considerable amount of resources.

All of this is accomplished by allowing containerized apps to run on any machine without requiring their own VM.

Containerization Platforms

  • Docker
  • Docker is driving the modern container movement. It is the only program (as of now) to be able to manage every app across the hybrid cloud. The first step to using Docker is to modernize your legacy apps.
  • Portainer.io
  • Portainer is an open source Docker management UI. It is specifically designed for use with Docker.
  • CommandBox Images and Containers
  • CommandBox has developed Docker container images for Adobe ColdFusion or Lucee CFML from ACF 9 and up and Lucee 4 and up. According to Ortus CEO Luis Majano, there’s no excuse for people not to be leveraging containers with ColdFusion these days.

Related: 064 Using Portainer.io (Docker Container Management) with Neil Cresswell

A Source control tool lets you create and maintain an archive of what source code has been created, changed or edited and by who and when. In the event of your laptop or server crashing, it allows you to retrieve your original source code that existed before the crash. It also lets you get your code back if you edit it by mistake — or if a teammate does.

You can use source code control on any files in your CF project, such as:

  1. ColdFusion Source Code
  2. Docker Containers Config
  3. Images
  4. Plain Text Documentation

The best source control tool is the open source Git. Git is a distributed version control system that handles everything for all size projects with maximum speed and efficiency.

Benefits of Using Git

  • Allows branches to be created to test code with. Once the branch has been properly tested it may be moved into the main code.
  • Allows all changes to be saved. Reverting back to a previous version has never been easier.
  • Allows you to compare changed files among versions.

There are other Git tools that can be used with ColdFusion as well.

  • GitHub
  • GitHub offers all the source control and version control features of Git. It even has its own added features such as social networking functions.
  • Tower
  • A Git client designed to help you master the source control of Git. With Tower, you are able to access all of the functions of Git easily with its own array of performance boosting processes.
  • BitBucket
  • BitBucket offers support for distributed version control to allow easy collaboration of code for your team. It gives teams a one stop shop to plan projects, code, test and deploy. A key benefit to using BitBucket over Git is the privacy that you will receive.
  • TortoiseGit
  • It is a Windows shell interface to Git. It is fully open-sourced and can be rebuilt with free software if you want to customize it.
  • SourceTree
  • SourceTree is a free Git client for Windows and Mac that simplifies how you interact with your Git repositories. It’s very simple for beginners to use it.

Code Tools and IDEs

Using IDEs helps keep CF alive by maintaining a friendly work environment. This can encourage new developers to work with CF. They also save time when coding.

IDEs (Integrated Development Environments) are software applications that provide developers with the ability for comprehensive software development in one program. They normally have a source code editor, automation tools, and a debugger. Modern IDEs have intelligent code completion that save you many keystrokes when typing code. Some even have compilers, interpreters, or both. Version control systems are often integrated. Many ColdFusion developers take advantage of IDEs.

Here are some of the most popular IDEs used by CFers:

  • Sublime
  • It is a cross-platform source code editor and IDE with a Python API. It natively supports many programming and markup languages including CFML.
  • CF Builder
  • CF Builder is Adobe’s flagship IDE for ColdFusion. Released for CF 2016, it was designed to help you develop, debug, test, and deploy applications faster.

In the new CF 2018 version, many new features have been implemented such as:

Code Reuse

Some developers minimize their use of newly created code. Instead, they simply change parameters and call it from other parts of the app. This allows for tried and true code to be used to save time.

This is not a direct copy/paste method though. That would duplicate code and make for maintenance headaches.

Code is reused using CFC functions or even the old fashioned CFINCLUDE. Any of the MVC frameworks such as FW/1, ColdBox or FuseBox make code reuse and code organization easy. This increases your productivity and saves on maintenance time.

CF Server Monitoring tools can help maintain CF alive by giving you the best chance of early detection of performance issues, failures, and security issues. The number one monitoring tool to use for CF is FusionReactor.

FusionReactor is a Java based performance monitor which is used to monitor in particular ColdFusion, Lucee, and Railo.

CF 2018 comes with a built in server monitoring tool, but it doesn’t have all the features of FusionReactor.

Related: CF Camp 2018: Madness in Munich Part Three- The #1 Monitoring Solution for ColdFusion

Caching Solutions

A major measure of performance for the Web is how fast content is delivered to users. As web traffic increases, data delivery times usually increase too. Caching is a strategy used to minimize slow pages.

The number one solution for ColdFusion users is EHCache.

EHCache is actually built into ColdFusion. It is used primarily for

  1. CFCache Tags
  2. Cache Get
  3. Cache Put

It is notable to mention that Lucee has a bit more than that. They have a caching mechanism that creates multiple named caches that point to an internal or external data storage.

Build REST APIs and Microservices

Many developers are now building REST APIs. There should be no reason CF devs cannot do the same.

A REST (Representational State Transfer) API defines a set of functions where requests can be performed and responses received via HTTP protocol. They are compatible with CFML and very easy to test.

Previously, the main reason ColdFusion developers used to construct REST APIs was if they wanted to integrate with a third party code.

Now, CFers can make applications that any technological platform can touch via full-bodied traditional apps. However, most CFers who develop REST APIs do it from homegrown sources and only for their own websites.

ColdBox

New applications such as ColdBox allow for a great leap forward when it comes to REST APIs. Pretty much all CFers are using REST APIs now with some form of application. These are normally much better than anything you can write on your own.

Related Podcast: The Best REST You’ve ever Had: ColdBox REST with Nathaniel Francis

CommandBox

According to the State of the CF Union 2018, CommandBox is used by 80% of CFers polled.

With all this fuss, what is CommandBox?

CommandBox is a standalone tool for the three major OS’s– Windows, Mac, and Linux, designed by Ortus Solutions. It is doing its part in keeping CF alive by providing a base that many other Box tools can operate with. It utilizes a CLI (Command Line Interface) designed for many purposes including:

  1. Developer Productivity
  2. CommandBox has a Docker image for productivity and portability. This allows you to orchestrate live servers in multi-tier deployments.
  3. Tool Interaction
  4. CommandBox has a REPL (Read-Evaluate-Print-Loop) console for immediate CFML interaction.
  5. Package Management
  6. CommandBox also functions as a Package Management tool and integrates with ForgeBox, CommandBox’s community of CF projects.
  7. Embedded CFML Servers
  8. CommandBox has the ability to construct lightweight CFML servers (Adobe ColdFusion and Lucee) in any directory from the command line.
  9. Application Scaffolding
  10. CommandBox has a huge amount of commands for quickly constructing ColdBox/CommandBox/TestBox applications

It is integrated to work with any other Box product. CommandBox is great for CFML as well. In fact, it is extensible to any ColdFusion product. CommandBox is a true ColdFusion tool. CommandBox is ever-changing and evolving. It is continuously adding more developments to its platform.

“I’m proud to develop in ColdFusion, because it has the combination. Specifically, being a part of the ColdBox and a lot of the open source community as part of ColdFusion, because we have three things.

One, we have a great tradition. We have been a part of some of the greatest highs and a few of the lows of the web development history.

Second, we’ve got some tenacity in there. A lot of the people who are very strong in the CFML community are people who have been doing this for a while and they’ve been doing it well. That’s tenacity to not go from one thing, to the next thing, to the next thing, but really craft something solidly and well.

Third, we’ve got some of the most forward-thinking, and highly developed, and amazing tools that we could imagine. We’re going to be hanging out and Into The Box with the guy that invented CommandBox, as well as the guy that invented ColdBox itself. These are some just amazing tools that the CFML community has been blessed with.

I think we have the key parts that I would want in any community, tradition. We’ve got time-honored tenacity and we’ve got some innovation, and forward thinking. That’s exactly what I want to be a part of.”- Nathaniel Francis, Computer Know How

From CF Alive episode, “008 The Best REST You’ve ever Had: ColdBox REST with Nathaniel Francis

What modern CF tools are you using in your projects? How are you keeping your ColdFusion skills modern and vibrant?

Join the discussion in the comments section below.

Join the CF Alive revolution

Discover how we can all make CF more alive, modern and secure this year. Join other ColdFusion developers and managers in the CF Alive Inner Circle today.

  • Get early access to the CF Alive book and videos
  • Be part of a new movement for improving CF’s perception in the world.
  • Contribute to the CF Alive revolution
  • Connect with other CF developers and managers
  • There is no cost to membership.

Originally published at teratech.com on November 14, 2018.

The post State-of-the-Art Tools That Keep ColdFusion Alive appeared first on ColdFusion.

CFCamp 2018: Madness in Munich – Recap Day 1

$
0
0

Hi there! This is Michaela Light. Unfortunately, I couldn’t make it personally to the CFCamp in Munich. However, my associate Paul has gone in my stead. And boy, from the pics and videos he’s been sending me. It looks like a great time and an informative one too. Let’s take a look at some of the sessions from Day 1 and the speakers thereof.

Looks like a decent spread…

Michi (Michael Hnatt) started the welcome note by a very interesting question:

Do cybercriminals and hackers really wear masks when committing a crime?

The day opened with a session from Adobe! They were there to present their latest version of ColdFusion. ColdFusion 2018. They touched on all the sweet features that it could bring to the table including:

  • The New REST Playground
  • Asynchronous Programming
  • The New Server Monitor
  • The Code Profiler
  • And More!

After this intro session, it was time for the individual sessions.

So, there were two simultaneous tracks going on. This was to ensure every speaker had an opportunity to showcase their presentations.

Track 1

I do CFML, Java, PHP and… human rights!

  • Session Briefing: This session is based on the principle that IT professionals are human rights specialists. Claude went over how the IT community should protect their clients’ privacy. He also put out how the GDPR has policies in place to help you protect individuals’ personal data.
  • About the Speaker: (Claude Englebert) Before joining the Brussels bar as a lawyer, Claude Englebert has built a strong 15 years experience in the software and IT industry, both in the startup environment and in the corporate world, including 5 years as ColdFusion Product Specialist at Adobe. He practices now law mainly in fields where his knowledge of the business world is an added value: intellectual property, IT, privacy and commercial law.

GDPR: Concerns of a WebDev

  • Session Briefing: Our two speakers presented what technical and legal problems were created since the start of the GDPR back in May. They also presented current solutions to those problems.
  • About the Speaker: (Markus Laymann) As Geschäftsführer from Bokowsky + Laymann Markus Laymann is responsible for the administration, the development of business strategies, HR, content administration and Data protection within the company. Due to his juridical background, one of his focus topics is the development of legal parameters for online media.

  • (Tom Ladek) Tom Ladek graduated from the Technical University in Munich with a Masters degree in Computer Science. He’s now working for Bokowsky + Laymann as a Software Developer specializing on application development for the ColdFusion-powered Contens CMS, as well as Android apps. He has a decade-long programming experience with Java, C#, python and the web technologies. He is quite obsessed with clean code style and code quality in general. When not tinkering with his own private coding projects or hardcore gaming, he likes to play the piano (which he taught himself) or go on long cycling tours.

 

Cybercrime

  • Session Briefing: This was an exciting preso for those able to attend. It was conducted in German, however still very informative. They discussed current threats and phenomena. They also discussed possible motive and action by perpetrators of cybercrime and what safeguards are in place to stop them. We weren’t allowed to take any pictures, but everyone (that speaks German was so excited to hear what was discussed- next year Paul said he will learn a new language).
  • About the Speaker: Zentrale Ansprechstelle Cybercrime – LKA Bayern

Create a 2-factor Authentication for your own Website

  • Session Briefing: At this session, we saw the second of our freebies that were given away. All attendees received a YubiKey 4 (worth $40) to use for their own purpose. This is a great device you can use to authenticate yourself throughout your web accounts–including your own website. And that is exactly what this session was about. Authentication and security.
  • About the Speaker:(Rob Dudley) Rob is a software developer, CTO, company co-founder and has spent his professional life growing applications beyond their initial designs often with limited resources and budget. Based in Jersey in the Channel Islands he is a keen tinkerer, a bad DJ and a self-confessed coffee snob who loves nothing more than sharing knowledge with others across a range of topics.

CFML is Java

  • Session Briefing: This was an in-depth session into the JVM–the heart of ColdFusion. Igal spoke on what it really means for us CF’ers and what we can do with that knowledge.
  • About the Speaker: (Igal Sapir) Over 20 years of experience in designing and implementing scalable, data-driven, web applications. I have a deep and extensive knowledge in the field of software development, with emphasis on the technologies that make the Internet work, from the high level of design and development, all the way down to the low level of protocols that define how systems communicate with one another.

ORM Love and Hate

  • Session Briefing: Wil spoke on the love-hate relationship that most of us CF’ers have with ORM. He also went on about the handy ColdBox ORM Module to make our lives easier.
  • About the Speaker: (Wil de Bruin) Wil graduated in Environmental Sciences and started off his career as a research microbiologist. It took him almost 10 years before he continued fulltime as an IT specialist. In 1994 he founded Site4U BV, at that time a company specializing in software development and web design. One of his first application was to find Dutch ISPs at local area rates written in PHP/Mini SQL, but soon he discovered this kind of interactive websites could easier be built with DBML using Cold Fusion by Allaire.

High-Performance CFML

  • Session Briefing: Gert focused this session primarily on high-speed performance and issues concerning the latest versions of Adobe ColdFusion and Lucee. He also brought up the latest version of the Rasia Tool ArgusCache.
  • About the Speaker: (Gert Franz) Gert was born in 1967 and lives in Switzerland since 1997. Back in the late eighties he studied astrophysics in Munich but switched to later IT as a profession and programmed for several companies in the past as a database administrator and system analyst.

Track 2

Going live with CommandBox and Docker!

  • Session Briefing: Mark broke down how they containerize their applications at CMD and how that has helped their customers.
  • About the Speaker: (Mark Drew) Mark has been programming CFML since 1996, and even though he has had forays into Perl, ASP and PHP he is still loving every line of code he has crafted with CFML. His career has concentrated on eCommerce, Content Management and Application Scalability for various well-known brands in the UK market such as Jaeger, Hackett, Hobbs, Dyson, B&W, Diesel amongst others.

Why FusionReactor is the #1 Monitoring Solution for CF

  • Session Briefing: In this session, we saw the first of our freebies… and boy is it a doozy. Each attendee received a free license for FusionReactor Developer Edition. That’s a €179 value for free! The session covered just exactly what FusionReactor is and how it can value ALL CF’ers.
  • About the Speaker: (David Tattersall) David Tattersall has been in working in IT for over 30 years. Since co-founding Intergral in 1998, he focused on company management, business development and sales & marketing. Intergral has become a leader in server monitoring and application performance monitoring (APM) solutions in the ColdFusion / Java segment. His flagship product – FusionReactor – www.fusion-reactor.com is used on over 25,000 production servers and has been purchased by over 5,000 customers.

Related: What is new in Fusion Reactor 7 (20 new features), with David Tattersall

WebSockets from Scratch

  • Session Briefing: This session covered everything you ever wanted to know about WebSockets and much more!
  • About the Speaker: (Saravanamuthu Aka CF Mitrah) Saravanamuthu is a Full Stack (MERN & CFML) Web Developer at MitrahSoft, a 30 members Web Development company from India for your CFML & MERN applications. Mitrahsoft is Oper source Enthusiastic company contributed & worked with famous CFML OSS like PresideCMS, MuraCMS, Razuna, CFDocs ..etc. Muthu is an expert in CFML, NodeJSReactJS and MuraCMS.

Amazon Elastic Container Service (ECS)

  • Session Briefing: This session was not an intro session. Some knowledge of AWS and Docker was required for full understanding. That being said it was not too tough to follow. Andrew went over what Amazon’s ECS is and its associated services.  
  • About the Speaker: (Andrew Dixon) I started off my tech career working as an intern at Hewlett Packard in the R&D department for a year during my university course. Obtained a Bachelor of Engineering degree in Electronic Engineering and during the final semester found work with an up and coming web development agency as a part-time developer. I’m still working for the same company, 20 years later, as their Technical Director giving technical input on all new projects.

Building an API with cffractal and ColdBox

  • Session Briefing: This session was all about building APIs with ColdBox with the added benefit ofcffractal. During this session, there was a live build of an API from the ground up. Really fun experience!
  • About the Speaker: (Matt Gifford) Matt Gifford is owner and primary primate at his own development consultancy company, monkehWorks Ltd. His work primarily focuses on building mobile apps and ColdFusion development, although he’s such a geek he enjoys writing in a variety of languages. He’s a published author and presents at conferences and user groups on a variety of topics.

Dependency Injection, Why is it Awesome and Why should I Care?

  • Session Briefing: Nolan went over the “whats, whys, and hows” of dependency injection. He also gave a crash course intro into AOP(Aspect-Oriented Programming) and IOC(Inversion of Control).
  • About the Speaker: (Nolan Erck) Nolan Erck has been developing software for 21 years. Starting in the video game industry working on titles for Maxis and LucasArts, then advancing to web development in 1999, his list of credits includes Grim Fandango, StarWars Rogue Squadron, SimPark, SimSafari as well as high-traffic websites for a variety of clients.

cbStreams : Come Accelerate your Functional Programming with Java Streams in CFML

  • Session Briefing: This session was all about Java streams and CFML.
  • About the Speaker: (Luis Majano) Luis Majano is a computer engineer residing in Southern California. He was born in San Salvador, El Salvador and he is the president of Ortus Solutions, a consulting firm specializing in CFML web development, architecture, and professional open source support and services.

Well, the conference is in full swing and sounds exciting! Word on the street is that Day 2 is going to be chock full of surprises. Can’t wait to hear more updates! Once again, thanks to Paul for representing TeraTech at this year’s 2018 CF Camp in Munich!

And to continue learning how to make your ColdFusion apps more modern and alive, I encourage you to download our free ColdFusion Alive Best Practices Checklist.

Because… perhaps you are responsible for a mission-critical or revenue-generating CF application that you don’t trust 100%, where implementing new features is a painful ad-hoc process with slow turnaround even for simple requests.

What if you have no contingency plan for a sudden developer departure or a server outage? Perhaps every time a new freelancer works on your site, something breaks. Or your application availability, security, and reliability are poor.

And if you are depending on ColdFusion for your job, then you can’t afford to let your CF development methods die on the vine.

You’re making a high-stakes bet that everything is going to be OK using the same old app creation ways in that one language — forever.

All it would take is for your fellow CF developer to quit or for your CIO to decide to leave the (falsely) perceived sinking ship of CFML and you could lose everything—your project, your hard-won CF skills, and possibly even your job.

Luckily, there are a number of simple, logical steps you can take now to protect yourself from these obvious risks.

No Brainer ColdFusion Best Practices to Ensure You Thrive No Matter What Happens Next

ColdFusion Alive Best Practices Checklist

ColdFusion Alive Best Practices Checklist

Modern ColdFusion development best practices that reduce stress, inefficiency, project lifecycle costs while simultaneously increasing project velocity and innovation.

 Easily create a consistent server architecture across development, testing, and production

 A modern test environment to prevent bugs from spreading

√ Automated continuous integration tools that work well with CF

 A portable development environment baked into your codebase… for free!

 

Learn about these and many more strategies in our free ColdFusion Alive Best Practices Checklist.

 

Originally published at teratech.com on November 9, 2018.

The post CFCamp 2018: Madness in Munich – Recap Day 1 appeared first on ColdFusion.

Running ColdFusion on Corretto

$
0
0

1. Go get Corretto

https://aws.amazon.com/corretto/
2. Install it
It will be installed into:
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/lib/jvm/openjdk8-preview
3. Change `server.box`
As shown.
Type box
Type start
And for me nothing happened
4. Install XQuartz
https://www.xquartz.org/
Install
Restart Computer
5. Try it again
Type box
Type start

 Good news it works

 Note: I way in the video the port does not work. The port is just find. I just had a typo in the file name

Resources

The post Running ColdFusion on Corretto appeared first on ColdFusion.

ColdFusion for VueJS developers: the first 10 minutes

$
0
0

Getting started with ColdFusion

There are two good ways to get Adobe ColdFusion

– Go to https://www.adobe.com/coldfusion . You will be a redirected to ColdFusion. After you fill out their survey form, you can download the free trial. For the first 30 days, it will become the Developer Edition automatically. Unless you are doing some highly advanced developement, the Developer Edition will work fine. And its free

– Another way to get ColdFusion, Ortus Solutions, and download and install CommandBox. https://www.ortussolutions.com/products/commandbox . As a VueJS developer, you may find CommandBox to be more similar npm development. It is also free for developement work.

The rest of this document assumes that CommandBox will be used.

Get the code from Github

If you haven’t done so already, download this Github repository’s release. I do all of my work in `~/Sites/ColdFusion/[repository]`. However you can download it anywhere (if you are using CommandBox).

Resources

  • https://www.bennadel.com/
  • https://www.bennadel.com/blog/1933-mastering-the-coldfusion-application-framework.htm
  • https://www.adobe.com/coldfusion
  • https://www.ortussolutions.com/products/commandbox
  • https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tag-summary.html
  • https://github.com/jmohler1970/CFforVueJS_1st10min

 

 

The post ColdFusion for VueJS developers: the first 10 minutes appeared first on ColdFusion.

VueJS for ColdFusion programmers: First 10 minutes

$
0
0

VueJS for ColdFusion Developers: First 10 minutes

What is it?

It is a Javascript technology that does all kinds of front-end DOM manipulation. It takes dull HTML and turns it into an application. If you are familiar with jQuery or AngularJS or Angular you are kind of in the right neighborhood. It is perhaps a prefect complement to ColdFusion development

VueJS describes itself as

Vue is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is easy to pick up and integrate with other libraries or existing projects. On the other hand, Vue is also perfectly capable of powering sophisticated Single-Page Applications when used in combination with modern tooling and supporting libraries.

https://vuejs.org/v2/guide/index.html

 

 

Resources

  • https://vuejs.org/v2/guide/installation.html
  • https://github.com/vuejs/vuex/tree/dev/examples/counter
  • https://angularjs.org/
  • https://angular.io/
  • https://github.com/jmohler1970/VueJSforCF_1st10min

The post VueJS for ColdFusion programmers: First 10 minutes appeared first on ColdFusion.


CF India Summit: Part One – Workflow and Document Management Made Easy w/ ColdFusion

$
0
0

With the 2018 ColdFusion and CFML conference season heading to a close, we now travel to India! Bengaluru, India to be precise. India is home to some of the world’s foremost experts in Adobe ColdFusion and the ACF engineering team. This would be an absolutely phenomenal opportunity for any of those available to go. Also… it’s free to register!

 

In this mini-series, we will bring to light some of the topics at CF Summit India 2018 . Our first article will focus on ColdFusion Workflow and Document Management. Kailash Bihani will present this topic. Although some may find it to be relatively basic or introductory, there should be no gravity lost in just how important this really is.

CIOs or those aspiring to be should pay careful attention to what can be gained through the study of workflow and document management. Thankfully, Adobe ColdFusion is a top-notch platform for this.

“On the business side, we are really comfortable, we are very happy where it is. And that gives us you know like added incentive and possibly a little bit of headroom for us to kind of sit back and say, ‘You know like can we do something really big? Can we do something adventurous?’”- Tridib Roy Chowdhury, General Manager and Senior Director of Products at Adobe Systems

 

From CF Alive episode, “065 The Future of ColdFusion (it is Bright) with Tridib Roy Chowdhury

What You Need to Know as CIO

Workflow management is nothing new. As a matter of fact, even automated workflow systems have been around for decades. Let’s examine in detail what it is and why it matters to successful organizations.

According to PNMSoft,

“Workflow is the definition, execution, and automation of business processes where tasks, information or documents are passed from one participant to another for action, according to a set of procedural rules.”

You can picture a proper workflow operating like a clock.

The Hour Hand (The Business End)

Workflow is designed to make sure that all systems, personnel, and components work together efficiently to produce viable and positive business results.

The Minute Hand (The Bottom Line)

It is designed to help you:

  • Save Money
  • Process Transparency
  • Improve Accountability
  • Raise Customer Satisfaction
  • Improve Productivity
  • Get Results Faster

The Second Hand (The Manager’s Perspective)

The second hand represents the manager’s perspective as this is the non-stop action of your company. It ticks through all of these variables portrayed through the hour and minute hands. Yet, the primary focus is those of the most immediate. Get the best results faster and cheaper.

Document Management

Document Management is an integral part of the workflow. Yet, it is its own beast and should be handled as such. So, what is document management then?

Document management as defined via AIIM is:

“How your Organization Stores, Manages and Tracks its Electronic Documents”

AIIM stands for the Association for Information and Image Management. They are a global community of information specialists. If anybody is going to know about workflow and document management… it’s these guys.

AIIM conducted a survey titled The Digital Office: Improving The Way We Work. This survey was focused on all the issues that embody document management including filing, sharing, and approving documents.

What did the findings reveal?

This survey was taken among 204 active members of AIIM.

  • 71% share via the network drive
  • 56% have an Enterprise Content Management (ECM) or SharePoint system, but staff primarily use file-share day-to-day.
  • 55% do make use of shared folders for support documents.
  • 48% feel their users aren’t given an easy choice of where to file things.
  • 40% percent want a simpler way to sign contracts, etc., with customers.
  • 35% use open documents to collect input during meetings.
  • 32% agree the need to extend approvals capability to mobile devices.
  • 31% feel that their ECM or SharePoint systems are too cumbersome.
  • 22% use automated circulation of meeting agendas and minutes.
  • 15% share via a cloud file share

Document and Digital Disruption

Technology is ever-changing. And by doing so, it is changing the modern working environment.

Successful organizations need to move more and more to full digitization.

This isn’t necessarily a bad thing. And nowadays it can be easy to accomplish. Why? One word.

Millennials.

According to many older generations (particularly the baby boomers), millennials are the most entitled generation. They are often portrayed as lazy and constantly complaining. Even if this were true, would these characteristics make for a poor worker in technological and IT fields?

Hell no. Here’s why.

They’re lazy and complain. That’s right. You heard correctly. What some see as negative may be construed entirely different. You see, a lot of Millennials put into practice the whole “work smarter, not harder” concept. This may seem like laziness, but in reality can be a much more efficient way of getting work done. And the complaining… well, they don’t like to just sit back and get steamrolled by anything.

This means that they are more susceptible to change that will empower vice being stuck in old, outdated ways. Heck, it’s difficult to get some boomers to change from a dot-AOL account–let alone a fully automated document and workflow management system. And yes, they will complain. Complain to make their lives easier… which includes introducing more efficient and effective office policies.

Now contrary to popular belief, the baby boomer (and other subsequent) generations are not going to be running the workforce forever. These millennials will soon be the new leaders of IT. And that means change.

In order for this to happen though, we need outreach. Instead of rejecting our new successors, perhaps we should encourage them more to get involved with our ColdFusion communities.

“To make ColdFusion more alive, I wish it gets included in the academic courses at schools and universities.”- Uma Ghotikar, Web application developer at ICF

 

From CF Alive episode, “077 Fundamentals of Unit Testing, BDD and Mocking (using TestBox and MockBox) with Uma Ghotikar

The Biggest Challenge for Workflow and Document Management

There are many numbers of small hiccups that could stand in the way of workflow and document change. These could include:

  • Office Policy
  • Allocated Funds for Change
  • Legacy Infrastructure
  • Stubbornness to Change

But the number one challenge for workflow and document management change is… the technology itself. Or the rate at which it changes. As I’ve stated earlier, technology is ever-changing. And it’s changing so much more rapidly than we could have ever imagined. So trying to keep pace with tech is proving to be exceedingly difficult. This is an issue that doesn’t seem fully solvable as of now. Yet, that does not mean we shouldn’t be vigilant in our pursuits though.

For Aspiring CIOs

In today’s world, a CIO is more than just a senior technologist. Today’s CIO is also a savvy strategic leader capable of running a proper and effective workplace.
 
 This is why it is so important for those looking to fill a role as CIO to understand workflow. There are two major areas that you can focus on to help your understanding of not only workflow and document management but leadership as well.

Vision and Innovation

This is a crucial lesson for prospective CIOs. Here you should take a step back and try to obtain a holistic view of the company. By doing this and thinking forward, you can stay a leg up on your competition. Embrace your new vision and support it with creativity and innovation. Let’s take an example from one of the greatest innovators of our time. Steve Jobs.

Do you know why Steve Jobs chose the name Apple? Sure, it’s a snappy and catchy name. It’s easy to recognize and hard to get out of your head. But he chose it also because it came before his major competitor in the phone book. Atari.

See, he had the vision to pull ahead of his competitor through his aggressive business move. And he had the innovation to achieve it.

Board Level Knowledge

If you want to be one the top dogs, you gotta think like one. Having guts and creativity can get you places. But having the right knowledge can keep you there. Part of that knowledge as a CIO is workflow and document management. No doubt about that. With proper workflow, you can not only relay your business efficiency to your employees and customers but to the rest of the C-suite as well.

How can I Improve my Workflow and Document Management?

There are three areas of focus for improving your workflow and document management.

  1. Learning
  2. By increasing your knowledge of workflow, you can start to utilize its intricacies. Workflow and document management can be a bit tricky at times. Through education, you can start cutting through the tricky parts and start building your system.
  3. Automation
  4. Maintaining every step of a manual workflow management system can be rather vexing and taxing at times. But with the use of automation tools including ColdFusion, you can more effectively make sure every aspect of your system is carried out correctly.
  5. Get the Right Tools for the Job
  6. Just as you wouldn’t use a fish to hammer in a nail, you wouldn’t want an old rank and file system for your complex work management needs. For your document management needs, you need to get yourself a great system that can support all your document needs. Luckily for us… We have ColdFusion.

“I think the first time I used ColdFusion was in my college days, and this was way back long time back. So I started using ColdFusion there. At that time, I realized how easy it was.”- Kishore Balakrishnan, Senior Product Marketing Manager at Adobe

From CF Alive episode, “058 All about the Adobe CF Summit East 2018 ColdFusion with Kishore Balakrishnan

CF Tech Talk

ColdFusion supports a wide array of documents and has many functions you can use to manipulate them as see fit.

Documents Supported by Adobe ColdFusion

From PDF to XML to spreadsheets, ColdFusion can handle it all. But what’s probably more important are some of the document conversion and manipulations that can be handled by CF. Here are just some of the conversions ColdFusion can do straight out of the box:

  • PPT to PDF
  • PPT to HTML
  • HTML to PPT
  • Word to PDF
  • Excel to Query
  • Query to Excel
  • Excel to HTML
  • HTML to PDF

CF Tags

Let’s take a look at some of the CF Document Management Tags as defined by Adobe.

  • Manages Excel spreadsheet files:
  • Reads a sheet from a spreadsheet file and stores it in a ColdFusion spreadsheet object, query, CSV string, or HTML string.
  • Writes single sheet to a new XLS file from a query, ColdFusion spreadsheet object, or CSV string variable.
  • Add a sheet an existing XLS file.
  • <cfhtmltopdf> creates high quality PDF output from a text block containing CFML and HTML using the PDF Service Manager.The WebKit implementation for <cfhtmltopdf> is referred as PDFG (acronym of PDF Generator) which is shipped as part of the Jetty installer. The component running inside the Jetty server is referred as the service manager, which takes request for PDF conversion from one or many ColdFusion server/s.
  • Use the cfpdf tag to read an existing PDF, write metadata to it, merge PDFs together, delete pages, create thumbnails of the pages, extract text and images, add or remove watermarks, electronically sign or unsign documents, sanitize and redact PDF contents for better security, and safeguard the PDFs with a password.
  • Defines the look of a dynamic slide presentation and determines whether to write the presentation files to disk. The cfpresentation tag is the parent tag for one or more cfpresentationslide tags, where you define the content for the presentation, and the cfpresenter tags, which provide information about the people presenting the slides.
  • Manipulates existing forms created in Adobe Acrobat and Adobe LiveCycle Designer. The following list describes some of the tasks you can perform with the cfpdfform tag:
  • Embed an interactive form created in Acrobat LiveCycle in a PDF document. You use the cfpdfform tag to embed the PDF form in a cfdocument tag.
  • Render an existing form created in Acrobat or LiveCycle. This includes prefilling fields from a database or an XML data file and processing form data from an HTTP post or PDF submission.
  • Extract or prefill values in stored PDF forms and save the output to a file or use it to update a data source.
  • Creates PDF or FlashPaper output from a text block containing CFML and HTML.

CFpdf Deep Dive

In Kailash Bihani’s CF Summit India talk, he will perform a deep dive into one of ColdFusion’s most pivotal CF tag for document management –cfpdf. This is a powerful workflow and document management tag and some of its functions include:

  • Merge several PDF documents into one PDF document.
  • Delete pages from a PDF document.
  • Merge pages from one or more PDF documents and generate a new PDF document.
  • Linearize PDF documents for faster web display.
  • Remove interactivity from forms created in Acrobat to generate flat PDF documents.
  • Encrypt and add password protection to PDF documents.
  • Generate thumbnail images from PDF documents or pages.
  • Add or remove watermarks from PDF documents or pages.
  • Retrieve information associated with a PDF document, such as the software used to generate the file or the author, and set information for a PDF document, such as the title, author and keywords.
  • Create PDF portfolios
  • Add and remove header/footer from PDF documents
  • Optimize PDF documents

This deep dive will also include discussion on redaction, sanitation, and digital signatures and forms.

All in all, this session gives each and everyone of us what we need most. A review of fundamentals. Fundamentals which can help to create a better workflow and document management system for your company.

About the Speaker:

Kailash Bihani, a Software Engineer in the Adobe ColdFusion team. Kailash responsibilities for ColdFusion features include Security, HTMLtoPDF, Websockets, and Mobile. When he has free time, he is either working on AR technologies or taking a trek somewhere in India.

Join the CF Alive revolution

Discover how we can all make CF more alive, modern and secure this year. Join other ColdFusion developers and managers in the CF Alive Inner Circletoday.

  • Get early access to the CF Alive book and videos
  • Be part of a new movement for improving CF’s perception in the world.
  • Contribute to the CF Alive revolution
  • Connect with other CF developers and managers
  • There is no cost to membership.
 

Originally published at teratech.com on November 18, 2018.

CF India Summit: Part One

With the 2018 ColdFusion and CFML conference season heading to a close, we now travel to India! Bengaluru, India to be precise. India is home to some of the world’s foremost experts in Adobe ColdFusion and the ACF engineering team. This would be an absolutely phenomenal opportunity for any of those available to go. Also… it’s free to register!

 

In this mini-series, we will bring to light some of the topics at CF Summit India 2018 . Our first article will focus on ColdFusion Workflow and Document Management. Kailash Bihani will present this topic. Although some may find it to be relatively basic or introductory, there should be no gravity lost in just how important this really is.

CIOs or those aspiring to be should pay careful attention to what can be gained through the study of workflow and document management. Thankfully, Adobe ColdFusion is a top-notch platform for this.

“On the business side, we are really comfortable, we are very happy where it is. And that gives us you know like added incentive and possibly a little bit of headroom for us to kind of sit back and say, ‘You know like can we do something really big? Can we do something adventurous?’”- Tridib Roy Chowdhury, General Manager and Senior Director of Products at Adobe Systems

 

From CF Alive episode, “065 The Future of ColdFusion (it is Bright) with Tridib Roy Chowdhury

What You Need to Know as CIO

Workflow management is nothing new. As a matter of fact, even automated workflow systems have been around for decades. Let’s examine in detail what it is and why it matters to successful organizations.

According to PNMSoft,

“Workflow is the definition, execution, and automation of business processes where tasks, information or documents are passed from one participant to another for action, according to a set of procedural rules.”

You can picture a proper workflow operating like a clock.

The Hour Hand (The Business End)

Workflow is designed to make sure that all systems, personnel, and components work together efficiently to produce viable and positive business results.

The Minute Hand (The Bottom Line)

It is designed to help you:

  • Save Money
  • Process Transparency
  • Improve Accountability
  • Raise Customer Satisfaction
  • Improve Productivity
  • Get Results Faster

The Second Hand (The Manager’s Perspective)

The second hand represents the manager’s perspective as this is the non-stop action of your company. It ticks through all of these variables portrayed through the hour and minute hands. Yet, the primary focus is those of the most immediate. Get the best results faster and cheaper.

Document Management

Document Management is an integral part of the workflow. Yet, it is its own beast and should be handled as such. So, what is document management then?

Document management as defined via AIIM is:

“How your Organization Stores, Manages and Tracks its Electronic Documents”

AIIM stands for the Association for Information and Image Management. They are a global community of information specialists. If anybody is going to know about workflow and document management… it’s these guys.

AIIM conducted a survey titled The Digital Office: Improving The Way We Work. This survey was focused on all the issues that embody document management including filing, sharing, and approving documents.

What did the findings reveal?

This survey was taken among 204 active members of AIIM.

  • 71% share via the network drive
  • 56% have an Enterprise Content Management (ECM) or SharePoint system, but staff primarily use file-share day-to-day.
  • 55% do make use of shared folders for support documents.
  • 48% feel their users aren’t given an easy choice of where to file things.
  • 40% percent want a simpler way to sign contracts, etc., with customers.
  • 35% use open documents to collect input during meetings.
  • 32% agree the need to extend approvals capability to mobile devices.
  • 31% feel that their ECM or SharePoint systems are too cumbersome.
  • 22% use automated circulation of meeting agendas and minutes.
  • 15% share via a cloud file share

Document and Digital Disruption

Technology is ever-changing. And by doing so, it is changing the modern working environment.

Successful organizations need to move more and more to full digitization.

This isn’t necessarily a bad thing. And nowadays it can be easy to accomplish. Why? One word.

Millennials.

According to many older generations (particularly the baby boomers), millennials are the most entitled generation. They are often portrayed as lazy and constantly complaining. Even if this were true, would these characteristics make for a poor worker in technological and IT fields?

Hell no. Here’s why.

They’re lazy and complain. That’s right. You heard correctly. What some see as negative may be construed entirely different. You see, a lot of Millennials put into practice the whole “work smarter, not harder” concept. This may seem like laziness, but in reality can be a much more efficient way of getting work done. And the complaining… well, they don’t like to just sit back and get steamrolled by anything.

This means that they are more susceptible to change that will empower vice being stuck in old, outdated ways. Heck, it’s difficult to get some boomers to change from a dot-AOL account–let alone a fully automated document and workflow management system. And yes, they will complain. Complain to make their lives easier… which includes introducing more efficient and effective office policies.

Now contrary to popular belief, the baby boomer (and other subsequent) generations are not going to be running the workforce forever. These millennials will soon be the new leaders of IT. And that means change.

In order for this to happen though, we need outreach. Instead of rejecting our new successors, perhaps we should encourage them more to get involved with our ColdFusion communities.

“To make ColdFusion more alive, I wish it gets included in the academic courses at schools and universities.”- Uma Ghotikar, Web application developer at ICF

 

From CF Alive episode, “077 Fundamentals of Unit Testing, BDD and Mocking (using TestBox and MockBox) with Uma Ghotikar

The Biggest Challenge for Workflow and Document Management

There are many numbers of small hiccups that could stand in the way of workflow and document change. These could include:

  • Office Policy
  • Allocated Funds for Change
  • Legacy Infrastructure
  • Stubbornness to Change

But the number one challenge for workflow and document management change is… the technology itself. Or the rate at which it changes. As I’ve stated earlier, technology is ever-changing. And it’s changing so much more rapidly than we could have ever imagined. So trying to keep pace with tech is proving to be exceedingly difficult. This is an issue that doesn’t seem fully solvable as of now. Yet, that does not mean we shouldn’t be vigilant in our pursuits though.

For Aspiring CIOs

In today’s world, a CIO is more than just a senior technologist. Today’s CIO is also a savvy strategic leader capable of running a proper and effective workplace.
 
 This is why it is so important for those looking to fill a role as CIO to understand workflow. There are two major areas that you can focus on to help your understanding of not only workflow and document management but leadership as well.

Vision and Innovation

This is a crucial lesson for prospective CIOs. Here you should take a step back and try to obtain a holistic view of the company. By doing this and thinking forward, you can stay a leg up on your competition. Embrace your new vision and support it with creativity and innovation. Let’s take an example from one of the greatest innovators of our time. Steve Jobs.

Do you know why Steve Jobs chose the name Apple? Sure, it’s a snappy and catchy name. It’s easy to recognize and hard to get out of your head. But he chose it also because it came before his major competitor in the phone book. Atari.

See, he had the vision to pull ahead of his competitor through his aggressive business move. And he had the innovation to achieve it.

Board Level Knowledge

If you want to be one the top dogs, you gotta think like one. Having guts and creativity can get you places. But having the right knowledge can keep you there. Part of that knowledge as a CIO is workflow and document management. No doubt about that. With proper workflow, you can not only relay your business efficiency to your employees and customers but to the rest of the C-suite as well.

How can I Improve my Workflow and Document Management?

There are three areas of focus for improving your workflow and document management.

  1. Learning
  2. By increasing your knowledge of workflow, you can start to utilize its intricacies. Workflow and document management can be a bit tricky at times. Through education, you can start cutting through the tricky parts and start building your system.
  3. Automation
  4. Maintaining every step of a manual workflow management system can be rather vexing and taxing at times. But with the use of automation tools including ColdFusion, you can more effectively make sure every aspect of your system is carried out correctly.
  5. Get the Right Tools for the Job
  6. Just as you wouldn’t use a fish to hammer in a nail, you wouldn’t want an old rank and file system for your complex work management needs. For your document management needs, you need to get yourself a great system that can support all your document needs. Luckily for us… We have ColdFusion.

“I think the first time I used ColdFusion was in my college days, and this was way back long time back. So I started using ColdFusion there. At that time, I realized how easy it was.”- Kishore Balakrishnan, Senior Product Marketing Manager at Adobe

From CF Alive episode, “058 All about the Adobe CF Summit East 2018 ColdFusion with Kishore Balakrishnan

CF Tech Talk

ColdFusion supports a wide array of documents and has many functions you can use to manipulate them as see fit.

Documents Supported by Adobe ColdFusion

From PDF to XML to spreadsheets, ColdFusion can handle it all. But what’s probably more important are some of the document conversion and manipulations that can be handled by CF. Here are just some of the conversions ColdFusion can do straight out of the box:

  • PPT to PDF
  • PPT to HTML
  • HTML to PPT
  • Word to PDF
  • Excel to Query
  • Query to Excel
  • Excel to HTML
  • HTML to PDF

CF Tags

Let’s take a look at some of the CF Document Management Tags as defined by Adobe.

  • Manages Excel spreadsheet files:
  • Reads a sheet from a spreadsheet file and stores it in a ColdFusion spreadsheet object, query, CSV string, or HTML string.
  • Writes single sheet to a new XLS file from a query, ColdFusion spreadsheet object, or CSV string variable.
  • Add a sheet an existing XLS file.
  • <cfhtmltopdf> creates high quality PDF output from a text block containing CFML and HTML using the PDF Service Manager.The WebKit implementation for <cfhtmltopdf> is referred as PDFG (acronym of PDF Generator) which is shipped as part of the Jetty installer. The component running inside the Jetty server is referred as the service manager, which takes request for PDF conversion from one or many ColdFusion server/s.
  • Use the cfpdf tag to read an existing PDF, write metadata to it, merge PDFs together, delete pages, create thumbnails of the pages, extract text and images, add or remove watermarks, electronically sign or unsign documents, sanitize and redact PDF contents for better security, and safeguard the PDFs with a password.
  • Defines the look of a dynamic slide presentation and determines whether to write the presentation files to disk. The cfpresentation tag is the parent tag for one or more cfpresentationslide tags, where you define the content for the presentation, and the cfpresenter tags, which provide information about the people presenting the slides.
  • Manipulates existing forms created in Adobe Acrobat and Adobe LiveCycle Designer. The following list describes some of the tasks you can perform with the cfpdfform tag:
  • Embed an interactive form created in Acrobat LiveCycle in a PDF document. You use the cfpdfform tag to embed the PDF form in a cfdocument tag.
  • Render an existing form created in Acrobat or LiveCycle. This includes prefilling fields from a database or an XML data file and processing form data from an HTTP post or PDF submission.
  • Extract or prefill values in stored PDF forms and save the output to a file or use it to update a data source.
  • Creates PDF or FlashPaper output from a text block containing CFML and HTML.

CFpdf Deep Dive

In Kailash Bihani’s CF Summit India talk, he will perform a deep dive into one of ColdFusion’s most pivotal CF tag for document management –cfpdf. This is a powerful workflow and document management tag and some of its functions include:

  • Merge several PDF documents into one PDF document.
  • Delete pages from a PDF document.
  • Merge pages from one or more PDF documents and generate a new PDF document.
  • Linearize PDF documents for faster web display.
  • Remove interactivity from forms created in Acrobat to generate flat PDF documents.
  • Encrypt and add password protection to PDF documents.
  • Generate thumbnail images from PDF documents or pages.
  • Add or remove watermarks from PDF documents or pages.
  • Retrieve information associated with a PDF document, such as the software used to generate the file or the author, and set information for a PDF document, such as the title, author and keywords.
  • Create PDF portfolios
  • Add and remove header/footer from PDF documents
  • Optimize PDF documents

This deep dive will also include discussion on redaction, sanitation, and digital signatures and forms.

All in all, this session gives each and everyone of us what we need most. A review of fundamentals. Fundamentals which can help to create a better workflow and document management system for your company.

About the Speaker:

Kailash Bihani, a Software Engineer in the Adobe ColdFusion team. Kailash responsibilities for ColdFusion features include Security, HTMLtoPDF, Websockets, and Mobile. When he has free time, he is either working on AR technologies or taking a trek somewhere in India.

Join the CF Alive revolution

Discover how we can all make CF more alive, modern and secure this year. Join other ColdFusion developers and managers in the CF Alive Inner Circletoday.

  • Get early access to the CF Alive book and videos
  • Be part of a new movement for improving CF’s perception in the world.
  • Contribute to the CF Alive revolution
  • Connect with other CF developers and managers
  • There is no cost to membership.
 

Originally published at teratech.com on November 18, 2018.

The post CF India Summit: Part One – Workflow and Document Management Made Easy w/ ColdFusion appeared first on ColdFusion.

ColdFusion 2018 / Web Services / Java 10 / JDK tools.jar

$
0
0

I am having a problem consuming web services on ColdFusion 2018 under JRE 10.

When using Web Services in ColdFusion 7/8/9/10/11/2016 we previously had to copy the tools.jar file from the JDK into the cfusion/lib directory to make it all work correctly.

As of Java 9, tools.jar has apparently been removed from the JDK and replaced with a more structured set of utilities.

ColdFusion 2018 uses Java 10 and JDK 10 also does not contain tools.jar.

Using JRE 10.0.2, when instantiating our CFC (on a remote server) as a web service with CreateObject("webservice", url, {wsversion="1"}) – I get the following error:

“Connection Failed: coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: An exception has occurred in the compiler (1.8.0_191). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.NullPointerException at com.sun.tools.javac.file.Locations.getPathEntries(Locations.java:149) at com.sun.tools.javac.file.Locations.getPathEntries(Locations.java:134) at com.sun.tools.javac.file.Locations.access$000(Locations.java:71) at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.computePath(Locations.java:617) at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.lazy(Locations.java:643) at com.sun.tools.javac.file.Locations$BootClassPathLocationHandler.getLocation(Locations.java:577) at com.sun.tools.javac.file.Locations.getLocation(Locations.java:678) at com.sun.tools.javac.file.JavacFileManager.getLocation(JavacFileManager.java:803) at com.su….”

Using JDK 10.0.2, when instantiating the same it all works with no errors.

So clearly the required files are present in the JDK, but not the JRE.

I am presuming that, as it was previously, it will be possible to copy the necessary files from the JDK into ColdFusion and everything will work.

What I need to know is which files specifically are required… i.e. which files specifically do I copy from the JDK 10 into cfusion/lib?

Also, will this be the same for Java 11 LTS?

My best guess so far is:  {jdk}/jmods/java.xml.jmod and {jdk}/jmods/java.xml.ws.jmod – but there could be more/other files required.

The post ColdFusion 2018 / Web Services / Java 10 / JDK tools.jar appeared first on ColdFusion.

Coldfusion 11 Appplication server stops automatically with IIS

$
0
0

Hi all,

I’m working on ColdFusion 11 project with IIS server. I’m facing a problem with the Coldfusion services. The ColdFusion 11 application server automatically stops suddenly, and after restarting the service it works for 2 minutes and again shuts down.

The status on the Services shows ‘Running’ but when I cross-check with the administrator its already stopped. While restarting the service it also throws an Error:1053. I have tried with the registry editing and adding the ‘ServicesPipeTimeout’ but it didn’t work. Please help to resolve the automatic shutting down of the service.

Thanks in advance.

The post Coldfusion 11 Appplication server stops automatically with IIS appeared first on ColdFusion.

Fancy Landing Page with VueJS

$
0
0

This is a fancy replacement Landing page. This is also an example of

  • VueJS
  • Bulma, a css responsive design library
  • Buefy, a VueJS plugin that expands on Bulma
  • Axois, an AJAX library that we will be pluggin into VueJS
  • and FontAwesome which provides lots icons
  • Ortus CommandBox
  • And, of course, Adobe ColdFusion

Resources

https://github.com/jmohler1970/Landing

The post Fancy Landing Page with VueJS appeared first on ColdFusion.

Taffy for REST – Part 5: Access Tokens with some real simple authorization

$
0
0

This is an introduction to APIkey based authorization with Taffy.

StackOverflow definition

 

An application programming interface key (API key) is a code passed in by computer programs calling an API (application programming interface) to identify the calling program, its developer, or its user to the Web site. API keys are used to track and control how the API is being used, for example to prevent malicious use or abuse of the API (as defined perhaps by terms of service).

Resources:

The post Taffy for REST – Part 5: Access Tokens with some real simple authorization appeared first on ColdFusion.

Viewing all 1091 articles
Browse latest View live