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.
OS X Lion's AFP
Category : Technology/OSXLionAFP.txt
OS X Lion doesn't support FTP, i.e., you can't share files from one machine to another using FTP. It's all AFP (Apple Filing Protocol) now.
I've been building my own Adobe GoLive/Dreamweaver replacement because I want to be Adobe-free on my Macs. (I'm now totally free of any Microsoft product). It's called Duomo. But when I try to connect to my server, so I can upload this blog entry (I built a blog editor into Duomo so I can see what the blog entry looks like, exactly, as I am typing it), I got an error with AFP. But I'm sure I tested this with the developers' GM version of Lion and it was OK. So this is a mystery and it makes me worry about what else might break.