What's New - July 2015

cht_july.gif

July 24, 2015

CHT Build 19C.01.00 For C10 Posted Early

The latest CHT Build, 19C.01.00 is now available a week earlier than planned. This build is, in fact, officially dated July 31, 2015, but the C10 version is available to you today.

We expect to be in a position to post the C9.1 version of this 19C.01.00 build by the target deadline date of July 31, 2015, or perhaps even earlier.

Why Did We Post This Build Early?

We posted earlier than planned because we finished the SMS classes, templates, examples and jumpstarts earlier than expected. You can read about CHT SMS in our July 17th posting below.

We also had to make some minor corrections in several demo and utility apps utilizing the new compression implementation released with Build 19C.00.00. These corrections adjust for minor behavioural differences in the native Clarion DECOMPRESS function regarding the required decompression space passed to the function. That design difference seems to account for the discrepency between the present implementation and the prior one.

In HNDSCRPT.APP, CHT Web Scripter, for instance, the compressed HTML/Javascript code failed to generate here and there, because the CSTRING buffer provided for expanded code was a byte or two too small. Our original compress/decompress code based in HNDZLBEX.DLL used strictly CSTRING parameters, whereas the Clarion native, COMPRESS and DECOMPRESS functions use Clarion STRINGS.

Not to worry, nothing stored by the earlier compression implementation is negatively affected. The compression algorithm is identical in both implementations. And the decompress function now adequately traps and warns when the output buffer of a decompression call is inadequately sized to take the decompressed output.

Present And Future CHT Intallation Apps More Portable

The upshot of this move to Clarion-native compression and decompression is increased portability of our across-the-web installation tools. With Clarion-native COMPRESS and DECOMPRESS we no longer have to include HNDZLBEX.DLL with every installation program (for example, CHT Webupdater) or with any server that incorporates compression.

When a server app or installation client is compiled in .LIB mode as they always are, the COMPRESS and DECOMPRESS functions are now internal to the executable rather than externally located in HNDZLBEX.DLL. That's one less piece to drag around. So most across-the web installation clients can be built entirely DLL-free, using only native Clarion-code functions implemented in CHT classes or generated by CHT templates.

Check Out Demo Installer HNDSETUPMKR.APP

One of our must do priorities for 2015 is to build a suite of easy-as-pie, across-the-web installers which CHT Developers can then to adapt to their own needs. If you haven't had a chance to compile and run HNDSETUPMKR.APP, and you're interested in across-the-web installation, give this demo/model app a try. And by all means, let us know what you think.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 24, 2015


July 17, 2015

CHT SMS Implementations

We've built an SMS example application called HNDSMSMESSAGE.APP that will be inlcuded in our next CHT update.

This allows us to send SMS messages to anyone who has a cell-provider that provides as part of their cell services, an "SMS Gateway". From what we've been able to discover in researching this further, most cell providers in North America and Europe provide an SMS gateway service, part and parcel with their cell service, even though the cell-owner may not have been told about it.

We've implemented in this app, two ways to send SMS.

SMS Via Email

Assuming you know the recipient's cell number and you have the name of their SMS Gateway then you can create an SMS Address and send them an SMS message via any of our email methodologies: SMTP, MAPI, CDO, or NET. Using this method, depending on the user's SMS gateway server, you can sometimes even add attachments to these SMS messages.

CHT SMS Api

We've also implemented a special CHT class API (HNDSMS.INC/.CLW) with CHT templates, that uses the SMS connectivity sourced in Clarion's CLARUNEXT.DLL. This works pretty much the same way as the SMTP implementation above. It requires access to either your own SMTP server or your own SMS server with user name, and login parameters. After that's configured, you're able to send SMS messages as above using the ##########@sms.recipientgateway.com format.

Here's what wikipedia has to say about using email Clients to send SMS from a computer or an CHT + Clarion App with SMTP/MAPI/CDO email capability.


emaiclienttosms.png

Read the whole SMS article here:
About SMS Gateway

The upshot of this information is that you do not necessarily need any new SMS-Specific features to send SMS messages from your apps. You can send SMS messages to your customers and friends from your computer or from a CHT+Clarion app today, if you want to.

The secret (like sending an email) is to determine your customer's/friend's phone number and SMS Gateway Domain. You can send an email to someone when you get their email address, the same applies to SMS messages. You can send an SMS when you have someone's SMS Address

Typically (as in the wikipedia article) an SMS Address looks as follows:
##########@sms.gatewaydomain.com, where ########## is the person's phone number with area code.

Watch For HNDSMSMESSAGE.APP

Keep an eye out next update (19C.01.00 approx July 30th, 2015) for this new demo application HNDSMSMESSAGE.APP. With it you can test sending SMS via SMTP or SMS via the new CHT SMS Class and template.


testsmsmessage.png

We've built the test app for you and have used it to spawn a couple of CHT Jumpstart procedures that auto-create an EMAIL-TO-SMS procedure or a SMS-Native procedure for you and add it into your app.


chtsmsjumpstarts.png

That's all on the topic of SMS for today.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 17th, 2015


July 14, 2015

CHT Build 19C.00.00 For C91

The C91 version of Build 19C.00.00 is now available for download.

Use your existing HND_WBUPDATERC91.EXE.

It will update itself to the latest version and then install the C91 version of CHT Build 19C.00.00.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 14th, 2015


July 11, 2015

CHT Build 19C.00.00 For C10, Reposted

CHT for C10 was reposted around 1:00 PM EDT Saturday July 11th. While this update was promised a few days earlier, it took a while to double check all apps that use the newer compression technology.

For the same reason, C9.1 will have to be pushed back a week. We're looking at having C9.1 and C10 share the same apps. That'll be quicker but haven't had a chance to test that to our satisfaction. While they can't share dictionaries, and .SLN files, they can share apps.

The app Paul E found missing is available now along with 3-4 other new apps for Build 19C.00.00 that we'd overlooked. They're all here now.

Your last version of this build had the SMTP changes but not the compression changes so this small, not-renumbered update was a lot of work (at least the testing was a lot of work).

Also contains some slight code improvements for the new SMTP stuff suggested on our forum.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 11th, 2015


July 7, 2015

CHT Progress Report

CHT SMTP Mail

In the Build 19C.00.00, C10 and C91 releases, (C91 version coming July 10) we've replaced the SMTP email functionality that was in CHT prior to this and was based in CHT DLL HNDSM.DLL with an alternate SMTP email functionality that is Clarion-native and is based in CLARUNEXT.DLL.

The replaced, CHT DLL, HNDSM.DLL will not be needed with CHT apps as of this 19C.00.00 (or later) build.

A lot Clarion PROFESSIONAL Version users were concerned that if we were to do something like this, that is, include Clarion-native functionality that exists in Clarion ENTERPRISE, and not in Clarion PROFESSIONAL they would lose out. So were we, quite frankly, until we looked more closely into it as promised. We obviously want all CHT users to be able to access all CHT functionality regardless of Clarion version.

We're happy to report that CLARUNEXT.DLL is a clarion add/on dll component that ships with both PROFESSIONAL and ENTERPRISE editions.

Clarion-native templates that use this DLL are not necessarily shipped with both Clarion versions, so that's fundamentally, where the differences between PROFESSIONAL and ENTERPRISE lie.

Now that we've successfully folded our SMTP clasess and templates into CLARUNEXT.DLL, we'll begin folding in some other functionality, such as SMS and Amazon S3. This is functionality also located in CLARUNEXT.EXE that is not available normally to Clarion PROFESSIONAL users.

We're busy building a CHT set of templates and classes to access this functionality for you. The upshot of this is that, first, Clarion PROFESSIONAL people get some Clarion features available only to Clarion ENTERPRISE people and second, all CHT users get CHT-quality templates and classes instead of the limited set of ABC-quality templates included only with ENTERPRISE for these specific features.

CHT Data and Memory Compression

Today, we also completed some work with data and memory compression that we'd set aside about a year ago due to time constraintes. Our compression system, which we've had almost from day one, 19 years ago, has undergone a similar to-Clarion-native-transition as described above.

Our compression DLL, called HNDZLBEX.DLL, is being retired along with the class that controls it (HNDSQUEEZE).

As of today, we've incorporated into all aspects of CHT (since compression is used a lot) the Clarion-native COMPRESS and DECOMPRESS language functions and have wired them into the very same classes that were using HNDSQUEEZE and HNDZLBEX.DLL, before this change.

This change takes place seamlessly, since there is no difference for you, in the code that you write or we generate, to make this happen. In the background we've simply swapped out the HNDSQUEEZE class and swapped in HNDCOMPRESS class.

This compression change is not yet in your version of Build 19C.00.00 but we should be able to get it into the C9.1 version of the build for this Friday, July 10th, and we will update the C10 install at the same time.

That's all for now. Any questions, feel free to ask.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 7th, 2015


July 1, 2015

CHT Build 19C.00.00 For C10 Now Available

We've posted the 3rd quarter build 19C.00.00 for C10 as of approx 1:00 PM EDT, June 30th, 2015.

All going as planned, the 19C.00.00 version of C9.1 will be ready by July 10, 2015.

Watch the CHT forum and also this July What's New Page for periodic postings explaining new and changed features in this build.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 1, 2015


CHT Email Templates

As of Build 19C.00.00 ,released for C10 on June 30, 2015 here is a list of email templates and jumpstarts available to developers.

We've modified the CHTTEMPLATES.HTML document file by narrowing down the template category for email (of any type) to simply the words: EMAIL TEMPLATE. This categorizes any and all email templates together into one group.

In this CHTTEMPLATES.HTML document, if you then click on the link created (on the left) by the template name you can read the full description of this template (and which type of email it provides) in the template descriptions section.

The following image shows a snapshot of the CHT EMAIL TEMPLATES section of the above linked document.


chtemailtemplates.png

You can find the above pictured section in this CHTTEMPLATES.HTML document by clicking the link, and when the document appears, use the hot key CTRLF to bring up a browser search dialog. Enter there the words EMAIL TEMPLATE, and you'll be taken directly to the correct location in the document index. From there, as indicated above, you can click on any template name to see its description.

Take note in particular of template "EmbedSMTPFunctions" because the HNDSMTP class underlying this template as been changed considerably as described in the documentation provided.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 1, 2015


CHT Email Examples

As of Build 19C.00.00, released for C10 on June 30, 2015 here is a list of email example applications, Batch Bots and Utilities available to CHT developers.

We've modified the CHTAPPLICATIONS.HTML document file by narrowing down the application category for email (of any type) to simply the words: EMAIL EXAMPLE.

This categorizes most email demo and utility apps together into a few groups.

In the CHTAPPLICATIONS.HTML document, you can then click on the link created (on the left) by the template name and read the full description of any application (and which type of email it provides an example for) in the application descriptions section.

The following image shows a snapshot of the CHT EMAIL EXAMPLES section of the above linked document:


emailapps.png

You can find the above pictured section in this CHTAPPLICATIONS.HTML document by clicking the above link, and when the document appears, use the hot key CTRLF to bring up a browser search dialog. Enter here the words EMAIL EXAMPLE, and you'll be taken directly to the correct location in the document index.

From there, as indicated above, you can click on any application name to see its description.

Take note in particular of the "HNDZIPNXXXX" group of applications because these individually provide a working, commercially viable, example of six different approaches to email and file sending using CHT templates and classes.

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 1, 2015


The Latest Docs

The latest template docs are here: CHT Template Docs

The latest demo application docs are here: CHT Application Docs

The latest utility application docs are here: CHT "Utility" App Docs

The latest "Batch Bot" application docs are here: CHT "Batch Bot" App Docs

The latest classes docs are here: CHT Classes Docs

 

Gus Creces
The Clarion Handy Tools Page
www.cwhandy.ca
gcreces@gmail.com
July 1, 2015

 


hnd_dozen.gif

chtcopyrightgray.gif