Notes on the Curl web programming language and Curl markup using the Curl Surge Runtime Engine (RTE), the expression-based Curl language and Curl's macro facilities and class libraries
Pages
on the Curl Web Content Markup Language
on the Curl Web Content Markup and Programming Language from www.curl.com and www.curlap.com
Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts
Thursday, July 19, 2012
alpha testers
I am looking for alpha testers for a Curl app (www.curl.com) - just a utility.
Would you consider ? It is intended to help recall secure multi-word passphrases used as alternatives to passwords. It is web browser based in this alpha (no JavaScript but does use Curl )
There is a snapshot view at passphrases.aule-browser.com
I have committed to moving this to Pharo Smalltalk 2.0 for Android. Curl also has an Android app generator called CAEDE at curlap.com
And then there is Mobl ...
( I sometimes generate Curl markup with Seaside in Pharo or VW Smalltalk but Seaside remains very tied to SGML in some base classes.)
Tuesday, July 17, 2012
Minimalist Web Notes
Here is my minimalist web notes app without tables, SQL, JavaScript or HTML5:
This runs against local binary files using Curl 7.0 or Curl 8.0 from curlap.com
I am running the current Curl beta for the Caede Android app builder.
This runs against local binary files using Curl 7.0 or Curl 8.0 from curlap.com
I am running the current Curl beta for the Caede Android app builder.
Labels:
Android,
app,
CAEDE,
Curl,
local notes,
minimalist,
notepad,
notes,
scratchpad
Thursday, July 5, 2012
SCSK Curl and Beta Etiquette
SCSK's Curl team disabled my local PC applets.
How? By expiring the runtime engine for their Andoid development CAEDE beta IDE.
So I reinstall the old 8.0 runtime Surge® engine.
Nope. No applet will run under that 8.0.0 browser plugin until the NON-browser 8.0.1 IDE is uninstalled ( a separate selectable/optional step in the uninstaller itself !! )
My Smalltalk vendor did something like this back in the big merger that killed Smalltalk (it was years before I was willing to buy another professional Smalltalk IDE license.)
Now Instantiations owns the VA code and Pharo may get onto Android devices. And there is the Mobl language - and Red may replace Rebol.
In its day, Borland could be outrageous as could IBM and Microsoft and Oracle. But we are now in the post-Java manager-gotta-buzzword era - are we not? Don't managers now talk about "open-source methodology" as if that meant something? JavaScript is no longer a bad ECMA joke?
But here I am - hung out to dry again by a language vendor.
Challenge: name one web app framework that generates non-HTML markup such as Curl without significant revisions which break updates. No, it is not yet Seaside 3.0.x - that future must wait a little longer.
Remember when XHTML was declared by committee to be the future of web markup? Ahem. How long can it take me to start calling HTML5 simply 'HTML' ? By 2014?
At least I never fell for Google Gears ... just DBX, Nuon, OS/2 SOM/DSOM, Rebol 3 ...
How? By expiring the runtime engine for their Andoid development CAEDE beta IDE.
So I reinstall the old 8.0 runtime Surge® engine.
Nope. No applet will run under that 8.0.0 browser plugin until the NON-browser 8.0.1 IDE is uninstalled ( a separate selectable/optional step in the uninstaller itself !! )
My Smalltalk vendor did something like this back in the big merger that killed Smalltalk (it was years before I was willing to buy another professional Smalltalk IDE license.)
Now Instantiations owns the VA code and Pharo may get onto Android devices. And there is the Mobl language - and Red may replace Rebol.
In its day, Borland could be outrageous as could IBM and Microsoft and Oracle. But we are now in the post-Java manager-gotta-buzzword era - are we not? Don't managers now talk about "open-source methodology" as if that meant something? JavaScript is no longer a bad ECMA joke?
But here I am - hung out to dry again by a language vendor.
Challenge: name one web app framework that generates non-HTML markup such as Curl without significant revisions which break updates. No, it is not yet Seaside 3.0.x - that future must wait a little longer.
Remember when XHTML was declared by committee to be the future of web markup? Ahem. How long can it take me to start calling HTML5 simply 'HTML' ? By 2014?
At least I never fell for Google Gears ... just DBX, Nuon, OS/2 SOM/DSOM, Rebol 3 ...
Sunday, July 1, 2012
Android app for passphrase mnemonics
How quickly can CAEDE take the Curl desktop passphrases application to running as an Android app on 4.1 "Jelly Bean"?
Labels:
ADT,
Android,
app,
CAEDE,
Curl,
Dalvik,
eclipse,
Jelly Bean,
mnemonics,
passphrase,
VM,
webkit
Thursday, June 28, 2012
Android 4.1 Jelly Bean for Asus Nexus 7
I linked the version article to the See Also for Android OS on en wp this A.M. - there is the list at the moment:
( Of course, always painful to see another tool on eclipse - the IDE from the IBM Visual Age team - while that Smalltalk version, VA, remains unknown at instantiations.com after their great Java tools were sold to ... Google. )
Here's what the SDK lists: (click the PNG below to get a legible view)
Here's the listed ADT changes:
ADT 20.0.0 (June 2012)
- Vsync timing across all drawing and animation done by the Android framework
- Triple buffering in the graphics pipeline
- Enhanced accessibility
- Bi-directional text and other language Support
- User-installable keyboard maps
- Expandable notifications
- Automatically resizable app widgets
- Multichannel audio
- Bluetooth data transfer for Android Beam
- Offline Voice Dictation
( Of course, always painful to see another tool on eclipse - the IDE from the IBM Visual Age team - while that Smalltalk version, VA, remains unknown at instantiations.com after their great Java tools were sold to ... Google. )
Here's what the SDK lists: (click the PNG below to get a legible view)
Here's the listed ADT changes:
- Dependencies:
- Java 1.6 or higher is required for ADT 20.0.0.
- Eclipse Helios (Version 3.6.2) or higher is required for ADT 20.0.0.
- ADT 20.0.0 is designed for use with SDK Tools r20. If you haven't already installed SDK Tools r20 into your SDK, use the Android SDK Manager to do so.
- General improvements:
- Application Templates
- Added Android application templates to allow developers to create specific types of applications faster, using Android-recommended best practices.
- Performance
- Improved overall ADT performance and fixed memory issues. Loading SDK data should be up to 30% faster.
- Tracer for GLES
- Added new perspective view and tools for tracing OpenGL calls for an application and track the visual results of each call. (more info)
- Lint
- Added new Lint rules for manifest registrations, duplicate activity registrations, security checking, correct use of Toast, missing SharedPreferences commit() calls, Fragment class instantiation, and handler leaks.
- Created tighter integration of lint with the layout editor. (more info)
- Added execution of Lint tool on save option for Java files. (more info)
- Layout Editor (more
info)
- Added highlighting (in bold) for important attributes, inline preview of colors and images, including the corresponding resource name.
- Added display of default values, when available.
- Added completion of resource values and enum and flag constants.
- Added support for displaying advanced properties, and nested properties for better categorization, for example, layout params are listed first as a single nested property.
- Display Tooltips over the attribute names, not values, so they never obscure the value column.
- Provided checkbox support for boolean values.
- Added support for switching between alphabetical and natural sort orders.
- Improved layout editor tool's window management for more usable editing views.
- Improved the layout editor's configuration chooser header user interface.
- XML Editing
- Added go to declaration support for theme references (?android:attr, ?attr:).
- Improved code completion in style definitions.
- Improved code completion for the
minSdkVersion
andtargetSdkVersion
attributes in manifest files so that version descriptions are displayed for each of the API levels - Provided support for code completion of custom attributes for custom views, including current edits to the style files.
- Improved synchronization of text and graphic editors with the XML outline view, including outline changes and display of current selection.
- Build System
- Added automatic merging of library project manifest files into the including
project's manifest. Enable this feature with the
manifestmerger.enabled
property. - Added automatic ProGuard support for the
aapt -G
flag. This change causes the build system to generate a temporary ProGuard keep-rules file containing classes that are referenced from XML files (such as custom views) and pass this to ProGuard at shrink-time. This can make the resulting APK much smaller when using just a small portion of a large library project (such as the Android Support library), since the catch-all rules to keep all custom views from the default ProGuard configuration file have also been removed.
- Added automatic merging of library project manifest files into the including
project's manifest. Enable this feature with the
- Added support building and debugging NDK-based Android projects.
- Added support to the Asset Studio Wizard for padding and turning off background shapes.
- Improved LogCat to allow developers to set colors for different priorities.
- Improved app Run functionality to allow running on multiple devices with a single launch. The target tab in the launch configuration dialog includes an option to allow launching on all connected devices, with the option to further narrow the list to just physical devices or just emulators. (This feature is available only for Run configurations, and not for Debug or JUnit tests.)
- Application Templates
- Bug fixes:
- Fixed a number of issues where Lint incorrectly reported code errors or failed to flag code issues.
- Fixed several bugs in the layout editor.
- Fixed compatibility issues with Eclipse 4.x (Juno), including cut/copy/paste functions.
Labels:
4.1,
Android,
ARM,
CAEDE,
eclipse plugin,
Jelly Bean,
Nexus 7,
SDK
Wednesday, June 27, 2012
Curl versus prototype.js
Here is what the prototype.js site suggests:
Here is my Curl equivalent
Now here is my naive test code:
Long-John: ahoy matey, yarr!
Note the lack of sigil's, var's and strange parenthetical matings.
But Curl also has 3D graphics and 2D paths and db interfaces and an IDE ... and now generates Android app's. Oh ... and a debugging environment with graphical inspectors and color outline and fill debug inspection highlighters ... and is almost Smalltalk-ish LISP.
And from the same DARPA project as WWW. SCSK Curl (formerly MIT Curl).
Did I mention multiple inheritance? Mix-in's ? Anonymous proc's? Async workers?
|| public classes, library classes, packages, imports, includes, macros, enums, Array-2-of
|| abstract classes, final classes, sealed classes, shared, serializable,deprecated,open ...
var Person = Class.create({
initialize: function(name) {
this.name = name;
},
say: function(message) {
return this.name + ': ' + message;
}
});
var Pirate = Class.create(Person, {
say: function($super, message) {
return $super(message) + ', yarr!';
}
});
Here is my Curl equivalent
{define-class public Person
field public-get private-set name:String
{method public {say msg:String}:String
{return {String self.name, ": ", msg}}
}
{constructor {default name:String}
set self.name = name
}
}
{define-class public Pirate {inherits Person}
{constructor {default name:String}
{construct-super name}
}
{method public {say msg:String}:String
{return {String {super.say msg}, ", yarr!"} }
}
}
Now here is my naive test code:
{output {{Pirate "Long-John"}.say "ahoy matey"}}
and here is the output:Long-John: ahoy matey, yarr!
Note the lack of sigil's, var's and strange parenthetical matings.
But Curl also has 3D graphics and 2D paths and db interfaces and an IDE ... and now generates Android app's. Oh ... and a debugging environment with graphical inspectors and color outline and fill debug inspection highlighters ... and is almost Smalltalk-ish LISP.
And from the same DARPA project as WWW. SCSK Curl (formerly MIT Curl).
Did I mention multiple inheritance? Mix-in's ? Anonymous proc's? Async workers?
{after (10s * long-wait) do
{more-than-HTML-JS-lib for-the-web}
}|| public classes, library classes, packages, imports, includes, macros, enums, Array-2-of
|| abstract classes, final classes, sealed classes, shared, serializable,deprecated,open ...
Labels:
AJAX,
Android,
app,
async,
class,
Curl,
DARPA,
debugging,
IDE,
inheritance,
inspection,
JavaScript,
MIT,
prototype.js,
WWW
Friday, April 6, 2012
Android numbers
The numbers for newly activated Android devices look very good.
Compared to some of the JavaScript frameworks, Curl CAEDE should look very good - but the CAEDE option is getting no press whatever in USA, Brazil, Europe, China, Korea, India, Africa, Malaysia, Indonesia ...
Thursday, December 15, 2011
Curl CAEDA Mobile
A preview of the Curl Mobile framework is now available in English at http://caede.curl.com/en/.
CAEDA is an acronym for Curl Application Export Development Environment.
With a few restrictions on Curl features (e.g., no multiple class inheritance in user classes) a Curl application can be exported as HTML5 (+ JavaScript, CSS), thereby no requiring the Curl RTE (Runtime Engine or browser plugin) on mobile devices.
Of course, compared to installing Java for a browser, the Curl RTE is a snap to install on any MAc, Windows or Linux platform, but for Android and iOS systems the problem is more serious.
Curl as the development language offers a terrific environment for debugging and testing web applets. The developer works in one language, not three.
Over the next two weeks I will be working with the CAEDA preview and reporting back at communities.curl.com on my tech blog: Robert's Blog.
CAEDA is an acronym for Curl Application Export Development Environment.
With a few restrictions on Curl features (e.g., no multiple class inheritance in user classes) a Curl application can be exported as HTML5 (+ JavaScript, CSS), thereby no requiring the Curl RTE (Runtime Engine or browser plugin) on mobile devices.
Of course, compared to installing Java for a browser, the Curl RTE is a snap to install on any MAc, Windows or Linux platform, but for Android and iOS systems the problem is more serious.
Curl as the development language offers a terrific environment for debugging and testing web applets. The developer works in one language, not three.
Over the next two weeks I will be working with the CAEDA preview and reporting back at communities.curl.com on my tech blog: Robert's Blog.
Wednesday, December 7, 2011
Curl Mobile Preview
The Curl mobile preview is at http://caede.curl.com/ja/ as Caeda - The Curl Application Export Development Environment.
Caeda is intended to make Curl a one-web-language-fits-all for Android and iOS.
Caeda is intended to make Curl a one-web-language-fits-all for Android and iOS.
Subscribe to:
Posts (Atom)