Archive for the ‘accounting’ Category

#iCloud support for Core Data, ie #SQL, is very exiting

I’m busy studying iOS and iCloud, and the implications for @iFacturas and other apps. iCloud are supporting Core Data, and the way they support me is surprising for me. Surprising and exiting.

Instead of moving the database to the cloud, they just move the change-log, and use that to synchronize othere Apple devices. In that way, they can have local speed and synchronization and backup.

I’ve actually never seen just that architecture before. Somehow it’s like coming back to Paradox for Windows. You have whatever cool feature you like, but you have internet in addition.

Apple obtains this functionality with wrapping the database in a ManagedDocument object. This gives save-less and undo functionality also.

So I just have to dive deeper and learn how to wrap my CoreData for the iCloud. Exiting times ahead!

2 golden #ERP programming eggs in #iOS5: Storyboard and ManagedDocument for CoreData

Oh my! I started exploring and programming XCode 4.2 yesterday, and boy I was delighted!

It has two tremendous new features available for us: wrapping of screens&etc (Storyboard) and wrapping of databases (ManagedDocument) for iCloud.

Doing Enterprise Resource Planning (ERP) programming means a lot of organizing a complex business world into managable structures. So two new wrappers are really good news.  And they’re not simple wrappers either. They are quite intelligent, and provide a lot of help doing animation between screens and giving the database iCloud functionality.

Storyboard and ManagedDocuments will really be programming boosters in my field. We will see tons of nice stuff coming out using these features. And – a lot of great ERP apps.

Crucial Phone/iPad/OSX enterprise programming functionality are coming Wednesday #iOS

Icloud

The Apple platform is poorly represented in business. Since 1982, doing ERP (Enterprise Resource Planning), meant working on DOS/Windows. Two years jowever, it became suitable for me to do something serious. But we had to let the iFacturas app ve stored on Microsoft Azure servers. Icloud wasn’t an option two years ago, not even last year!

With iOS 5 and iCloud everything change. I would characterize Apple Platform to be very interesting as an ERP development platform.

This is what I need on iOS 4 and OS X Lion:

  1. SQL database 
  2. PDF reporting
  3. In App Purchasing
  4. Camera
  5. API for third party Apple apps
  6. Notification to the users
  7. Localization
  8. Time-taking from the clock

In my last seven posts, I’ve covered just the first two points. Next week I will provide links to external tutorials, services, apps or provide my own explanation

In four days we will get iOS 5, iCloud and Lion X 7.2. Ther we hopefully will get usable:

  1. Synchronisation of database
  2. Cloud storage of database
  3. Backup of database
  4. Imessage as delivery mechnaism
  5. Photostream interface to database
  6. Twitter integration
  7. Notification center

I will need weeks to digest all this new stuff, and integrate it into my earlier projects. What we still will miss in the Apple ERP platform are:

  1. Payments to end-users
  2. Facebook integration
  3. API for web-access

Why do I do this? Well, I need it to clear my thoughts. Besides I need to set some standars for my next ERP app development. People working with me also must have a way to start learning.

Please note me if there are more! I’m happily to upgrade the list if you can prove the need!

Update: #iPhone and #iPad #ERP programming: Combining #CoreData and #PDF in creating reports.

Coredata_and_pdf_tutorial

I just had to combine the PDF and Core Data tutorials from the last weeks. In order to not have you to obtain the “Sensible Tableview” framework from @SensibleCocoa, I’ve based the tutorial on the standard Navigation Template in XCode 4.1, and checking for Core Data. 

I then added the necessary PDF files from the PDF part of the tutorials, and struggled some days to connect the FetchedResultsController with the creation of the PDF.
I ended up on a quite simple solution; creating a long string from each time the cell is configured, and use that string in the savePDFfile method.
Update: I’ve posted the sourcefiles to github and you can get it here.

Voila! iOS ERP programming isn’t that difficult! In iOS 5 Apple will even let us easyli create iCloud version of Core Datal application. Expect me to take that up when it has been released next week and I’ve digested it!

6 posts on #iPhone & #iPad Enterprise Resource Programming: Database and PDF-reporting are covered

Erp
Creating enterprise apps for iPhone and iPad isn’t trivial. In @iFacturas we used 21 months to get out the current version. Now I’m diving into enterprise programming myself, in order to find a better way to do it. 
If you know me, you also know I’m loving accounting, specially accounting program design. In many years, there has been two important parts of accounting programs, entering data and reports.
Entering data has to do with database and database view programming. Reports with the same database and presenting reports, normally on PDF.
I’ve just finished a roundtrip on database and PDF programming, and have documented the process and the source here in 6 blogposts:
I may have found the golden egg in #iOS database programming! It’s @sensiblecocoa
I’ve earlier told you about that programming iPhone isn’t that hard. That was only partly true however. For database programming in iPhon…
Update: Hands-on with @sensibleCocoa #iOS tableView framework – I see light in the tunnel!
I’ve got the “Sensible Tableview” installed. I’ve passed the videos one more time, and now I’m hands-on. Yesterday I tried a small project …
#iOS PDF programming isn’t that difficult either. The hard part is to know where to start ;)
I like to create a PDF file in my iPhone app. I then did spent to much time looking at various PDF framework. I didn’t want to reinvent a…
…  Apple’s print tutorial for iOS does a good job explaining it. But sadly, the tutorial has a bug in this call. 
When preparing for the following, and hopefully last, post, I decided to try to store the project in github.com to let you easily share it. That drove my tutorial to an halt. Without really knowing anything, I did a git init and git commit command, and suddenly all my source-files disappeared!
I’ve combined the iPhone 4 Development Essesials for XCode  Chapters 32 and 33, with  Apple’s print tutorial for iOS. Most of it is wrapped into the following savePdfFile method:
Good luck with the posts! If you like I may record videos on the post. It depends on the comments…