199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
ilog.rules.teamserver.model.IlrConnectException Caused by: java.lang.NullPointerException
Sun, Jul 16th 2017 55
WebSphere Application Server - Transaction Logs - getting it wrong
Sun, Jul 16th 2017 54
XAException occurred. Error code is: XAER_RMERR (-3). Exception is:
Sun, Jul 16th 2017 84
TypeError: __add__ nor __radd__ defined for these operands
Fri, Jul 14th 2017 42
CWMCB0012W: An inconsistent configuration has been detected for data source jdbc/TeamWorksDB
Fri, Jul 14th 2017 35
IBM BPM - "CWSCA8095W: Unable to find class..." seen during serviceDeploy process
Fri, Jul 14th 2017 42
java.sql.SQLException: Could not commit with auto-commit set on
Fri, Jul 14th 2017 79
Top 10
XAException occurred. Error code is: XAER_RMERR (-3). Exception is:
Sun, Jul 16th 2017 84
java.sql.SQLException: Could not commit with auto-commit set on
Fri, Jul 14th 2017 79
ilog.rules.teamserver.model.IlrConnectException Caused by: java.lang.NullPointerException
Sun, Jul 16th 2017 55
WebSphere Application Server - Transaction Logs - getting it wrong
Sun, Jul 16th 2017 54
Transport Layer Security (TLS) 1.2 and SoapUI
Fri, Jun 12th 2015 44
IBM BPM - "CWSCA8095W: Unable to find class..." seen during serviceDeploy process
Fri, Jul 14th 2017 42
TypeError: __add__ nor __radd__ defined for these operands
Fri, Jul 14th 2017 42
CWMCB0012W: An inconsistent configuration has been detected for data source jdbc/TeamWorksDB
Fri, Jul 14th 2017 35
Executing external Python/Jython scripts from within WebSphere Application Server's wsadmin tool
Thu, Feb 27th 2014 34
Hmmm, macOS Sierra and XQuartz and X11
Thu, Oct 27th 2016 34


Book Review - Swift iOS 24-Hour Trainer, by Abishek Mishra
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

This is another in my infrequent series of book reviews for the British Computer Society.

Swift iOS 24-Hour Trainer, by Abishek Mishra

So let me start by declaring that I did not read this book in 24 hours; in fact, it's taken me far longer to read, for no other reason than that I've been reading it in chunks, one lesson per day, and there are over 30 lessons.

Therefore, I can't say, hand on heart, that the 24-hour programme actually works; however, for a committed reader, one who has made time to read, learn and practice, I suspect that a day, albeit a long day, would suffice.

By that, I mean that this book serves as an excellent introduction to the Swift language, providing context, timeline and system requirements, both developer and run-time.

To properly learn a language, one needs to practice said language, and this book provides plenty of material to support effective learning, including Try It tutorials at the end of each lesson, with worked examples.

In terms of prerequisites, the book assumes that one has access to Apple's Xcode integrated development environment, which is key for the effective development and testing of applications targeting the iOS platform.

Whilst one could follow most of the lessons, and tutorials, using an alternative IDE, such as IBM's Swift ( declaration, I work for IBM ) or even the Swift command-line, many of the lessons do really require one to use Xcode, which is available from Apple ( assuming that one has a Mac computer ).

That being said, it's typically safe to assume that, if one is developing for the Apple ecosystem, one would have access to a Mac, Xcode etc., especially if one was also familiar with iOS development using Objective C.

Anyway, back to the book; as the title suggests, this is aimed as a trainer and, as such, is intended to provide a taster to the language, with the lessons increasing in scope and relative complexity. By the end of the book, one should be familiar with the full gamut of iOS app development, including interactive with on-device features such as mapping, camera, multi-touch and gestures.

The Try It tutorials are relatively simple, being worked examples, and are often self-contained, rather than assuming that one has completed the previous lessons. Therefore, one could jump straight into specific areas of interest, rather than absolutely needing to read the book from start to finish.

That being said, I would suggest that, if one is unfamiliar with Swift or the basics of iOS app development, that a cover-to-cover read is the way to go.

To summarise, this is an excellent introduction to the Swift programming language, in the specific context of iOS app development, and would serve as an effective on-ramp to anyone wishing to start their journey in app development, within the Apple ecosystem.

Apart from hands-on coding, the book also provides a good insight into the prerequisites of successful app development, including design, user-interface modelling ( e.g. wireframes ) and, most importantly, testing.

At 500 pages, it's long enough to provide detail when required, but concise enough to get one started.

In terms of a ranking, I'd give this book 10 out of 10, simply because it met my expectations, and provided both context and a deep-dive into Swift and iOS app development.

PS For the record, I previously delivered a 
review of another book on Swift, Swift Essentials Second Edition by Dr Alex Blewitt, in June 2016.



---------------------
http://portal2portal.blogspot.com/2017/02/book-review-swift-ios-24-hour-trainer.html
Feb 16, 2017
3 hits



Recent Blog Posts
55
ilog.rules.teamserver.model.IlrConnectException Caused by: java.lang.NullPointerException
Sun, Jul 16th 2017 4:04p   Dave Hay
As one of my many spinning threads, I've been tinkering with the migration of an IBM Operational Decision Manager (ODM) environment from version 8.0 ( circa 2012 ) to version 8.9 ( circa 2017 ).In part, this involves running some SQL scripts to migrate the old data to the new environment.This is especially relevant for the Decision Center, which is the Rules authoring environment, aka the Source Code Management (SCM) system-of-record.The Decision Center, also known as the Team Server ( reflecti
54
WebSphere Application Server - Transaction Logs - getting it wrong
Sun, Jul 16th 2017 1:02p   Dave Hay
I do need to write a long-form article about this, but I've been on a voyage of discovery configuring AND testing WAS transaction recovery, by placing the transaction/compensation/partner logs in an Oracle 12c database.This is in the context of an IBM Business Process Manager Advanced environment.During the process, I saw this in the SupCluster logs ( specifically the second cluster member ) : -SupClusterMember2/SystemOut.log:[16/07/17 11:53:47:332 BST] 00000001 WASSessionCor I SessionPropertie
84
XAException occurred. Error code is: XAER_RMERR (-3). Exception is:
Sun, Jul 16th 2017 12:43p   Dave Hay
I'm tinkering with WebSphere Application Server, underlying IBM BPM Advanced, in the context of transaction/compensation/partner log recovery.In this scenario, I'm placing these logs into a database, Oracle 12c.It's been a useful - and interesting - learning curve, and I've pretty much proved/tested the concept.I did, however, see one issue today; specifically, these messages: -[16/07/17 13:34:06:748 BST] 00000074 XARecoveryDat A WTRN0151I: Preparing to call xa recover on XAResource: dave[
42
TypeError: __add__ nor __radd__ defined for these operands
Fri, Jul 14th 2017 8:02p   Dave Hay
Whilst scripting the configuration of the WebSphere Application Server transaction/compensation/partner logs into an Oracle database: -/opt/ibm/WebSphereProfiles/Dmgr01/bin/wsadmin.sh -lang jython -user wasadmin -password passw0rd -f tranlogs.jy I saw this: -WASX7209I: Connected to process "dmgr" on node Dmgr using SOAP connector; The type of process is: DeploymentManagerWASX7017E: Exception received while running file "tranlogs.jy"; exception information: com.ibm.bsf.BSFException: exceptio
35
CWMCB0012W: An inconsistent configuration has been detected for data source jdbc/TeamWorksDB
Fri, Jul 14th 2017 7:42p   Dave Hay
This follows on from an earlier post: -ORA-12514, TNS:listener does not currently know of service requested in connect descriptorHaving updated my JDBC data sources to reflect the correct Oracle service name: -jdbc:oracle:thin:@//bpm857.uk.ibm.com:1521/orcl.uk.ibm.comI'm now seeing the following warning: -[14/07/17 20:07:17:855 BST] 000000f5 ConfigReader W com.ibm.bpm.config.util.ws.ConfigReader getDatabaseInfo CWMCB0012W: An inconsistent configuration has been detected for data source jdbc/Te
42
IBM BPM - "CWSCA8095W: Unable to find class..." seen during serviceDeploy process
Fri, Jul 14th 2017 7:32p   Dave Hay
I'm tinkering with IBM BPM Advanced again, specifically taking an export of an SCA module, built using IBM Integration Designer and exported as a Project Interchange (PI) file, and attempting to "compile" it ready for deploying to an external IBM BPM 8.57 environment.Having exported the PI file, and made it available to the BPM box, I then ran serviceDeploy.sh against it: -/opt/ibm/WebSphere/AppServer/bin/serviceDeploy.sh OracleTest.zip which returned: -The workbench is starting in /home/wasa
79
java.sql.SQLException: Could not commit with auto-commit set on
Fri, Jul 14th 2017 7:16p   Dave Hay
I saw this earlier: -[14/07/17 20:00:02:593 BST] FFDC Exception:java.sql.SQLException SourceId:com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.commit ProbeId:587 Reporter:com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@964a1c09java.sql.SQLException: Could not commit with auto-commit set onin the FFDC logs for an IBM BPM 8.57 JVM: -view /opt/ibm/WebSphereProfiles/AppSrv01/logs/ffdc/AppClusterMember1_72d880eb_17.07.14_20.00.02.5935101433318572951378.txt I am using Oracle 12c ( specifically 12.2.0.1.0 )
29
Bootstrap cannot be run against WebSphere:cell=PSCell1,node=Node2,server=dmgr because it is not a BPM deployment target.
Tue, Jul 11th 2017 6:19a   Dave Hay
Another thing that makes me go "Hmmmm" …I'm running the process to bootstrap an IBM BPM 8.5.7 Process Server: -/opt/ibm/WebSphereProfiles/Dmgr01/bin/bootstrapProcessServerData.sh - clusterName AppClusterand I see this: -Bootstraping data for server at /opt/ibm/WebSphereProfiles/Dmgr01 and logging into /opt/ibm/WebSphereProfiles/Dmgr01/logs/bootstrapProcesServerData.logWASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application o
24
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Tue, Jul 11th 2017 6:11a   Dave Hay
I'm tinkering with a new Oracle 12C build, using it as a database for an IBM BPM Advanced 8.5.7 environment.However, something seems to have gone awry with my WAS -> Oracle configuration, as I see this: -[11/07/17 06:58:16:482 BST] 000000f1 DataSourceCon E DSRA8040I: Failed to connect to the DataSource "". Encountered java.sql.SQLException: Listener refused the connection with the following error:ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
18
Tinkering with Oracle 12c on Linux - will the fun ever stop ?
Sat, Jul 8th 2017 8:53a   Dave Hay
I'm going back through the process of learning how to install Oracle 12c on Red Hat Enterprise Linux 7.3.One niggle that I saw post-install was this: -sqlplus / as sysdba;SQL*Plus: Release 12.1.0.2.0 Production on Sat Jul 8 05:23:05 2017Copyright (c) 1982, 2014, Oracle. All rights reserved.ERROR:ORA-12547: TNS:lost contactDuring the installation, I'd seen reference to a missing dependency: -/usr/bin/ld: cannot find -ljavavm12collect2: error: ld returned 1 exit statusmake: *** [/home/oracle/ap




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition