Compare This

Reading my ClarionMag feed this morning, I noticed that Mike Hanson has knocked up a chart, "Clarion Sharp Comparison". Tis here.

clarioncomparison-001

Nice and meaty, but more than a comparison, it’ll no doubt be a good reference for just working in the Clarion# language.

clarioncomparison-002

I still haven’t got myself onto the .Net subscription. We have until mid December now to get in on the Discount act.

Not sure I can justify it at the moment, having a very small income from the business. When Jaymoe is done, and four hundred gazillion Sporting Clubs sign up, then I won’t have to worry about missing the discount.

Jaymoe, A Work Still In Progress

For the past couple of months, I’ve been working, a few hours a week, on Jaymoe. It’s a Sporting Club Web System, "basically". Ha ha.

jaymoeversion1-001Anyway, Version 1 took me about 7 days to slap together with Clarion, NetTalk and some use of Lightbox (javascript image effect library, built on Scriptaculous). Version 1 isn’t much to write home about. You can see the demo here.

 

At this point in the development, I discovered Ext. This changed what I thought I could achieve. If I could pull out the UI of NetTalk, Ext can give me awesomeness in a bottle. But the beauty of NetTalk is that it provides me with a bunch of template driven windows (like Forms, Browses, Dropdowns) and all I have to do is fill in some template fields.

Given the amazing demos of Ext, I decided that it was worth it.

And it was, to an extent. Jaymoe V2 is well on the way to becoming something special.

But it’s too much. Not only did the entire UI change, but the Database underwent a massive overhaul.

In Version 1, Jaymoe had a database who’s data entry was driven both by the end user, and by myself (or someone at the server end). In some situations, this is a strength. But for Jaymoe, it’s a weakness. I would have to upkeep all the backbone stats for the Clubs. From their Division information to each Round’s Games. Crazy. Absolutely crazy.

So what could I do?

Take a leaf out of the social networking sites. Move everything under the control of the User. Well, not everything .. just .. everything.

jaymoedb-001

So now, the DB is a different monster all together. Almost everything (for the purposes of this post anyway, heh heh) sits under two important files. One is the User file. This cannot be directly affected by the User themselves. The other is the Entity file. Underneath the Entity are all the User interactive files. Stats, News, Images, and so on. The User logs into their Entity, and controls what Sport they are playing, when the Games are, who scored how many tries.

Of course, there are problems with this approach. Designing a Lazy system is best. With the database strong, it falls on the implementation to make sure the User doesn’t have to do too much. Entering every single Game in a Season might be considered too much.

How do you solve this problem?

One way is to provide a template (say xml in this case) which is for whatever data they are populating. This would have to be maintained at the server end, and we return to the same problem as before. Why should I have to maintain this data?

Another method would be to "share" the data across Entities. So that certain data entered by one User (for an Entity), is shared across other Entities.

This idea works when you have a few teams in one division using the system at once. But if you’re the only team in your division, noone else is entering the relevant information for you. Which leads back to you entering all the info yourself.

I haven’t solved it yet. But will chew away for a while.

There is more I’d like to say about Ext and problems I’ve encountered along the way. Another post. Seeya then.

The Clarion Charter

Over the horizon gallops a lone gunman.

As he draws near, you can see the flanks of the horse foamed with sweat. A magnificent animal, silky black, corded muscles, lean hindquarters.

The rider slows as he approaches. A lone battleground, there are weapons jutting from all visible body angles, and probably a few unseen.

He hands you a piece of paper.

"This is the Charter."

Okay, that would be cool. But anyway …

Bob has posted (here) regarding the Clarion Charter for Clarion (Sharp or .Net?). It’s an early access facility. But it’s more. Training. Mentoring. Support.

The post explains what each of those three entails at this point in time. Sounds like it’ll be good if it goes ahead.

I thought Clarion# was the product, but from reading Bob’s post, Clarion .Net is the product, and Clarion# is the language. My awesome bad.

It’d be good to have a repository for showing off new apps people are going to create in Clarion .Net, helpful for newbies and oldbees alike.

Ahhh. Ha ha. I just had a stupid thought. A dev tool like WordPress has it’s "Theme Viewer", which allows the viewer to "View" or "Download" the thousands of themes stored there.

Imagine something like that with Clarion. A Clarion App viewer.

Nonsense of course. Too many crazy things to cater for. Amongst other problems.

Still, would be nice.

Clarion Sharp, Cutting Edge?

Bob’s posted a couple of times recently (here and here).

The first post deals with the name Clarion # (read Sharp). So no more "Clarion dot Net". It’s "Clarion Sharp" for the win!

I like this. It sits better with me than "Clarion dot Net".

But you know, if they had given me the naming rights, here’s some of my better ideas ..

  • Clarionated
  • The New Clarion
  • Snickt!
  • SeeSharp
  • 2BobsCode
  • ORLY #
  • Sharper Clarion
  • Clarion The Sharp
  • SliceDiceClarion
  • Clarion Not Dot

And so on.

Yes. "Better".

Crackle Will Snap You Pop

Oh the tears. This video from the Grouper site is just that funny. I’m not sure what Crackle is .. but a simple google search would probably fix that.

But it makes me wonder. What if some of these big web and desktop entities were objects? Better yet, what if they were Transformers?

Smells like someone with good comic skills should draw something up. I would, but the prerequisite was _good_. Might still give it a shot.

Last night I got some very nice work done on the current Clarion after hours project. Finally got somewhere with Insight Graphing and the NetTalk WebServer engine. I’m still struggling to understand some things .. but managed to get further than before.

One of the coolest things about this project, I’ve mentioned it before, it’s a personal banking helper system (online) .. is that the data is very meaningful.

Last night I fed in 9 months of bank transactions. That’s quite a nice chunk of information. And to be able to range and filter it in a meaningful way. Awesome.

For example, I can now see the exact amount of "Cash Outs" within any date period, in graph form. And there’s a good choice of graph types to choose from. Line, Scatter, Time, Pareto, Pie, Column (?) .. and probably some more.

Of course, graphing is so dependant on the context. A set of data will fit one type of graph really awesomely, but another it will suck.

So my job for the next while is to get a lot of different data sets happening.

The way I’m coming up with them (the data sets for reporting / graphing) is really simple. What do I want to know about my finances? Of course there will be a lot more than I know about .. but it’s a good start.

Smite, A New Order of Application Security

 

SMITE .. A New Order Of Application Security

windowslivewriterpreviouslyonclarion.13thmay2007-113b5appsecurity-00126

 

windowslivewriterpreviouslyonclarion.13thmay2007-113b5appsecurity-0026

windowslivewriterpreviouslyonclarion.13thmay2007-113b5appsecurity-0034

 

The comic isn’t that good. Kind of phoned in the hard work, which comes after the sketching. Coloring, filling out the characters, etc etc. Urg. Takes a long time.

Anyway, Dan Scott had a couple of threads going on the newsgroups recently, talking about security. Specifically, how to stop the Users validation one copy, and then copying those files across into the other workstation/locations.

There were some good responses. Jim Hrubes in particular both piqued my interest and made me laugh.

Dan,

You can serialize the software and they won’t be able to run it on a different machine, look at the crazy discussions about SHA and HDD (they usually deteriorate with discussions about food) in the newsgroups and that will get you started. There are a bunch of crypto geeks in the clarion newsgroups that love to show you how to protect your stuff so search around and you will find it.

HTH

JEH

Multi-Classing to Thief/Fighter/Mage DropCombo

Dave Beggs asked about subclassing a drop combo. It seems using the "setprop" api didn’t work with drop combos.

The answer (apparently, no further threads) was a simple line, given by John Christ:

PROP:ListFEQ

Nice!

Sorry there’s no comic Dave! Actually, this one probably would have been awesome fun. Having bits of a Thief, Fighter and Mage all trying to get into a Drop Combo stain-glass window .. ha ha. Maybe I should do it tomorrow.


With Aussie DevCon arriving, people are starting to gear up .. on the Third-Party newsgroup, Alan Telford has been busy, getting out some really cool questions in regards to NetTalk (WebServer) mostly. Which reminded me I’d better start collating any questions etc, so I get the most out of the Capesoft Awesomeness Expedition in the three days before DevCon.

My talk is coming along. I’ve hit upon a better title, which goes with how the content has evolved.

I’m planning to be blogging what’s going on, especially any Clarion 7 / SV news .. I might even put up a special Live Chatbox. That might work. Or not. Ha ha.

Bling Bling, Essential Mods for Clarion

There are a number of essential Tools (I know, I called them Mods, but the gamer in me is strong) for Clarion.

Must Haves.

The Keys to the wonderful Kingdom of Kla .. I’ll stop that now.

As with other "Must Read" posts, this will grow and mould as time goes on. So if you believe there is a tool not here, please don’t hesitate to contact me and we’ll go through a series of barbaric rituals and competitions to see if your suggestion cuts the mustard.

Or, I guess you could start a blog yourself, and put your own list up :).

Initially, these are strictly tools that you should not go without. The Bear Essentials.

 

1. The Newgroups (news.softvelocity.com)

windowslivewriterblingblingessentialmodsforclarion-136f4newsgroups-00195

I’ve spoken (previously) about my respect for those that give of them time in the Newsgroups.

The Newsgroups are possibly the greatest tool there is at this time. They provide the largest compository (that I know) of information relating to Clarion.

You get answers to questions. The Third-Party newsgroup is a most excellent source of specific template questions.

You get information regarding the Clarion Community across the world. What is happening in various countries. The meetings, gatherings, beer swilling.

You get people at their best, and at their worst. Probably one of the most frustrating things about the newsgroups is inherent in their nature. They are one-way. Imagine if you had to talk through a generic robot for conversation. You couldn’t control the tone, the color, the face, the waving of the arms. You must deliver your messages slowly, and while this would give time to frame and think about your replies, in reality, more often it seems to make people more aggressive.

Of course, I’m more inclined to saying stupid stuff while in front of people. So take that last paragraph with a flavoured grain of salt.

The one true blight I see with the newsgroups is their inability to provide me with accurate results to my searching. Perhaps someone can knock up a webapp that sucks down the newsgroups and spits them out Tag-Cloud style. Something like that anyway would greatly enhance the ability to search.

The Google Groups version of comp.lang.clarion would have been that answer .. but alas, for some strange reason I know nothing about, it’s not a true mirror of the SV newsgroups.

Blurg. Enough. Newsgroups are number one on the list because of what they provide. They are the centre of the community. Knowledge, relationships, support and marketing. It all happens there, and there it happens the most.

 

2. File Manager (http://www.capesoft.com/accessories/fm3sp.htm)

windowslivewriterblingblingessentialmodsforclarion-136f4fm3175

This is, without a doubt, the greatest third-party template in existance for Clarion. And I’d suit it up against most anything else out there.

File Manager 3 (FM3), and the previous (2) version, although I’ve never used it, is a Template from Capesoft. You buy it (from the next "Tool"), and you install it.

What it does is give you the freedom to change your File Structures with wild abandon, and not have to worry about writing your own conversion functionality.

Plug it in. Set a few vars if you’re like me. And leave it. Nothing simpler.

I tried to think of an example involving Cars sold without Steering Wheels, but then realised, we release new versions of our software at a far reduced cost to already existing customers. I wonder if Ford would go for that business model? You own a Territory, no probs, get the Territory 2 at a discount of 60%. Ha ha. Nice.

 

3. ClarionShop (http://www.clarionshop.com)

windowslivewriterblingblingessentialmodsforclarion-136f4clarionshop55

This was a harder decision to make. Can you really count ClarionShop as a tool?

I (obviously) went with Yes, but not without hesitation.

While putting this list together, I had to think about truly, what is essential to a Developer getting better and what they do.

While it’s not exactly clearcut, ClarionShop fits the bill better than most of the other _things_ I could think of. Even if you’re just going to subsist on File Manager 3, you have to buy the template. And Clarionshop is the largest and best shopping centre for Clarion Templates.

The folks at ClarionShop are professional and helpful. Support is most always speedy, and more than willing to help with problems that crop up due to digital distribution (say the loss of passwords, etc).

 

.. The Promise Of More

Technically there’s only one "Mod" in the list. The post definately has future development/enhancement written all over it :).

This is really bare-bones. There are many more tools (templates and otherwise), that take Clarion from this earth, and park it squarely in place of the sun. And you didn’t even have to build the spaceship, or the air-ventilation.