The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo








Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

The Ultimate Business Machine - Archives

List of Categories : Database * Technology * Commentary * Singapore * Travel *

Fri 22 Jul 2011

OS X Lion's 3000 new APIs

Category : Technology/Lion3000APIs.txt

If you get to see Apple's Developer pages, you will see this page about the 3000 new APIs in Lion :

But the other side of the story, about the APIs that are lost or being pruned away (being deprecated in developer-speak) - that is not so well known.

Among those being deprecated are two specific API calls that I've used to build all these server setup apps. They're the calls that allow my system configuration tools to acquire admin privileges from the user so that they can move files into protected directories like /Library and /System/Library and /etc. These calls are going away and they don't look like being replaced. So if I don't find a way to get around this, I won't be able to build any more server setup apps going forward.

I would leave the conspiracy theories to others, like Apple wants to own everything (well, I'm not even allowed into the App Store with these apps - Apple specifically forbids apps that require escalation to admin privileges).

But I think I can build pretty good server administration tools, if at least only for my own use. So I will need to find another way. And soon.

But before that, I need to get Luca, my accounting app, working in Lion. It's not just a simple re-compile for Lion because Luca needs to go through database frameworks (like my version of Microsoft's ODBC calls) to get to the database servers and these frameworks need to be built from source for Lion and often they can fail to build when the Mac OS changes or the MySQL or PostgreSQL versions change. "So you want to charge even though you have no new features?" It's work, man, and I'll probably build this version of Luca only for the people who really need it.

(And I've got nib user-interface files that I can't now open in Lion because the system for building Interface Builder plug-ins change in Lion. There isn't even an Interface Builder.app in Lion. It's all built into Xcode which has changed, drastically.)

Posted at 10:09AM UTC | permalink

Mac@Work
Put your Mac to Work

Sivasothi.com? Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.