Numbers: Why the use of Packages instead of Files?
I was just wondering why Apple chose to use packages and not regular files with Numbers and Pages? It doesn't really matter I guess I am just curious why Apple when in this direction and what are the benefits vs detriments of this. It just seems that a conventional file would have been better.
Thanks,
The package formula give the ability to store every kind of object in a document in it's original format.
For instance, if you paste a jpeg picture in a document, it is stored as is in the Contents folder.
It no longer requires the use of resourceFork which is not recognized by other operating systems.
What is a conventional file?
An XL file is a conventional file for XL, not for another spreadsheet application.
So, even with a monolithic file a translator would be required to exchange between applications.
In fact, Package is a structure used quite everywhere in MacOS X.
The applications are packages, every system extension is a package…
This structure gives to Apple an simple scheme to offer "self_localisable" products.
Yvan KOENIG (from FRANCE mercredi 4 juin 2008 19:23:36)
Similar Messages
-
Possible to access classes in other folders without the use of packages?
Hi,
I'm trying to write a kind of connector application, and I have come across this stumbling block.
I have a folder for my main program classes, which will not change. External to that folder( either in a subdirectory or another directory on the same level) I want to have my classes to "connect". The connected classes will be compiled dynamically, as they depend on something in the main classes folder for complilation... I trust I can satisfy that using javac -classpath...
The problem is that I would like one of the main classes to be able to access the connected classes at runtime, from the other folder. The collection of connected classes will be changing, so that, coupled with the fact that one of the main classes will be required to compile each connected class seems to rule out the use of packages for the connected classes.
Is there a way to get around this?
Thank you,
JesseAre you trying to dynamically compile Java classes (in external folders
without packages) via Java? Yes, I will be (hopefully) using com.sun.tools.javac. I haven't done that part yet, as I don't want to waste my time on a design that is fundamentally flawed :)
Does each new 'application' get placed into its ownfolder? No. I will be building a collection of new apps that will all be contained in one folder.
Once an application is compiled, must it beimmediately available to the process that compiled
it? Yes. Once an application is compiled I need it to be accessable from that point on.
Thanks,
Jesse -
How to use utl_ftp package to transfer files from one system to another
Hi all,
How to use utl_ftp package to transfer files from one system to another using plsql procedure .
I failed to find the appropriate document ,kindly help me .
Thanks,
P Prakashprakash wrote:
I am sorry tell you, this blog is not enough to for me.It's not a blog, it's Chris' website where you download the package from. Once you download the package and unrar it, then the package spec gives instructions (and I think there's instructions on how to install it too).
Kindly let me know if there is any oracle documentation for this .It's not an Oracle created package, it was created by Chris. It's based around the UTL_TCP package if you really want to get into the nitty gritty of how it works, but I don't think you do. -
I want to eliminate the use and creation of big files in the profile - places.sqlite (10MB), urlclassifier3.sqlite (5MB), places.sqlite-wal (1MB)?
Ffor urlclassifier, I tried disabling safebrowsing options (in security menu or in about:config), but file remains. Also if deleted it is still re-created with 5 MB.Start at http://www.mozilla.com and download the latest
version. '''At the completion of the download don't let the setup start Firefox for you, when the setup ends, start Firefox in your normal manner this way you will be less likely to create a new profile.'''
The extra startup pages are temporary -- read them. The next time
Firefox comes up you should be back to starting with your normal home page.
'''Note: Firefox must be down once the install starts. '''
Close Firefox with File>Exit. Then make sure Firefox is not running --
On Windows: check the "Processes" tab in the Windows Task Manager.
'''On Mac: Firefox > Quit then Command+option+Esc, if Firefox running use Force quit'''
Permission errors on Mac:
'''If you were getting permission errors on a Mac, download the latest
Firefox version, then uninstall and reinstall Firefox. Do not remove
your profile directories and files as they contain your settings,
bookmarks, history, extensions, passwords, and cookies.'''
in any case once you are on 4.0 you might want to take a look at "(fx4)"
* Fx4: Firefox 4.0 Problems and Orientation (#fx4) <br>http://dmcritchie.mvps.org/firefox/firefox-problems#fx4 -
Whats the use of 'Maximum Councurrency' in File Receiver adapter?
Hi All,
Whats the use of 'Maximum Councurrency' in File Receiver adapter?
XierHello,
Refer the below thread and check it out my reply . I gave for JDBC adapter, but the concept is same for File/JDBC.
Re: JDBC Adapter - One Connection prior to SP20
Best regards,
raj. -
Why the use side switch to mute but my rotation still in lock.
Why the iPad use side switch to mute but my rotation still in lock mode?
You are most welcome
-
How to use Stylesheets packaged in JAR file
Hi,
I would like to package XSL files in a JAR. The stylesheet may import other XSL files. For example:
<xsl:import href="demos.xsl">
<xsl:import href="table.xsl">
where the original stylesheet and the imported stylesheets (demos.xsl and table.xsl) are all located in this package: com.company.xsl
Is there a way for the transformers to retrieve the files from the JAR?
Possibly another complication is that this JAR file is loaded at runtime.
Any suggestions would be of great help. Thanks!Thanks that worked.
However, is it possible to use a relative path? Right now it only works if the absolute path is used:
<xsl:import href="jar:file:///c:/applications/bin/myjar.jar!/com/company/xsl/table.xsl" />
It would be nice if this worked instead:
<xsl:import href="jar:file:///./bin/myjar.jar!/com/company/xsl/table.xsl" /> -
Problem with JSP using bean packaged in jar file
Hi,
I am trying to use a java bean in a jsp file. The java bean is packaged
into a jar file. I am getting class not found compilation error. If the
bean remains to be a seperated class file, everything work well.
Does anyone know how I can use bean in a jar file within jsp , i.e. to
allow the bean to be found during compilation ?
Thanks,
Terence.
[email protected]
Jacek,
Thanks for replying.
My JSP's are just files in my document root . However, I found a solution to
my
problem. That is to have the jar file defined in my weblogic.class.path. I may
have missed some files in my original jar file which causes my problem.
Mayby I should package everything into a web application for deployment. That
will be my next step.
Thanks anyway.
Terence.
Jacek Laskowski wrote:
> Terence Lai wrote:
> >
> > Hi,
> >
> > I am trying to use a java bean in a jsp file. The java bean is packaged
> > into a jar file. I am getting class not found compilation error. If the
> > bean remains to be a seperated class file, everything work well.
>
> How do you use the JSP file ? Is it a part of web application ? If so,
> the bean jar package should be located in WEB-INF/lib directory. It's
> also recommended to put the bean class into a package, so it's not in
> 'unnamed' package, and <jsp:useBean> can find it.
>
> >
> > Does anyone know how I can use bean in a jar file within jsp , i.e. to
> > allow the bean to be found during compilation ?
>
> see above.
>
> > Terence.
>
> Jacek Laskowski
> HP Consulting
-
Why the registered event cannot be heard (files content included)
Hi,
I posted a question earlier today about a problem using external customer event along with a chart created with actionscript. I think the files are better than words. If an expert can take a look at this and let me know how the event cannot be heard and how it can be heard, I will really appreciate it.
3 files:
===============================================================
1. ChartIt.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="init()" xmlns:local="*">
<mx:Script>
<![CDATA[
import mx.charts.PieChart;
import org.allus.examples.UpdateChartEvent;
import org.allus.examples.GenCharts;
import mx.collections.ArrayCollection;
private var pieChart:PieChart = new PieChart();
private var genCharts:GenCharts = new GenCharts();
[Bindable]
private var chartData:ArrayCollection = new ArrayCollection( [
{ Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
{ Country: "China", Gold: 32, Silver:17, Bronze: 14 },
{ Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
private function init():void {
pieChart = genCharts.createPieChart(chartData, "Gold");
box.addChild(pieChart);
pieChart.addEventListener(UpdateChartEvent.UpdateChart, pieDoubleClicked);
private function pieDoubleClicked(e:UpdateChartEvent):void {
trace("the pie chart was double clicked");
]]>
</mx:Script>
<mx:VBox width="50%" height="50%" id="box" borderStyle="solid"/>
</mx:Application>
===============================================================
2. GenChart.as:
package org.allus.examples
import mx.charts.PieChart;
import mx.charts.series.PieSeries;
import mx.charts.events.ChartItemEvent;
import mx.collections.ArrayCollection;
import flash.events.EventDispatcher;
import flash.events.Event;
import org.allus.examples.UpdateChartEvent;
public class GenCharts extends EventDispatcher
private var apieChart:PieChart;
private var pieSeries:PieSeries;
public function GenCharts() {
super();
public function createPieChart(chartData:ArrayCollection, by:String):PieChart {
apieChart = new PieChart();
apieChart.percentWidth = 100;
apieChart.percentHeight = 100;
apieChart.showDataTips = true;
apieChart.dataProvider = chartData;
apieChart.addEventListener(ChartItemEvent.ITEM_DOUBLE_CLICK, pieChartItemDoubleClickedHandler);
apieChart.doubleClickEnabled = true;
var mySeries:Array = new Array();
pieSeries = new PieSeries();
pieSeries.field = by;
mySeries.push(pieSeries);
apieChart.series = mySeries;
return apieChart;
private function pieChartItemDoubleClickedHandler(evt:ChartItemEvent):void {
dispatchEvent(new UpdateChartEvent(UpdateChartEvent.UpdateChart));
==============================================
3. UpdateChartEvent.as
package org.allus.examples
import flash.events.Event;
public class UpdateChartEvent extends Event
public static const UpdateChart:String = "updateChart";
public function UpdateChartEvent(eventName:String) {
trace("the event was triggered.");
super(eventName);Have your apieChart dispatch the event
private function pieChartItemDoubleClickedHandler(evt:ChartItemEvent):void { apieChart.dispatchEvent(new UpdateChartEvent(UpdateChartEvent.UpdateChart)); -
looks like i can never trust this stupid cloud.
why does this happen?Hi,
We are aware of this issue already, I am sorry for any issues caused, you can go to the Creative Cloud website and restore all of your files back from archive.
Thanks
Warner -
Why the size of EHP1's kernel file is only 20kb ?
in the download area of swdc,
Installations and Upgrades
Installations and Upgrades" SAP Technology Components" SAP SOLUTION MANAGER" SAP SOLUTION MANAGER 7.0 EHP 1
All kernel file's size are only 20kb? Why? How i can install ehp1?Now i will install solman 7.0 ehp1,not upgrade kernel file.
As the medialist guide of solman ehp1 ,
"DVD SAP EHP1 for SAP NETWEAVER 7.0 SR1 Kernel 7.01
Windows (IA32 32bit,IA64 64bit,x64 64bit)
AIX 64bit, z/OS 64bit
HP-UX (IA64 64bit, PA-RISC 64bit)
Solaris (SPARC 64bit, x64 64bit)
(Mat. no. 51036767)"
Then i download " 51036767_5 BS 7 SR1 UC-Kernel 7.01 Windows Server on x64 64bit " from
"Installations and Upgrades
Installations and Upgrades" SAP Technology Components" SAP SOLUTION MANAGER" SAP SOLUTION MANAGER 7.0 EHP 1 "
The 51036767_5.zip file's size is only 20KB,After i extracted the file,there are a few files and dirs. -
What is the use of embedding Xcelsius Swf file in to Crysatl report?
Hi all,
I read some documents related to this integration, but still am in a confusion about the final purpose.
Can any of you answer my question patiently?
1.Is the embedded SWF acts just like a static object (just like a SWF)?
2.If, I embed a swf file in CR 2008, Will both have any interactivity between those two?
I mean, if I change the source data for CR , will the data SWF be changed? (If I have same columns like Country, Sales)
3.How the interactivity will work..? From SWF to Crystal data OR Crystal data to SWF (as I asked above).
4.I read BO doc with an example, but its not clear up to my doubts.
It would be thank full if any of you spend your time for a clear description.
Thank you,
Krishna Pingali
Dell India.Hi Mathew,
The Convert to Formula in Excel Allows you to Convert you Embedded Bex Query into API Calls. This enables you to Better Format the Excel Output by allowing you to move your Cells Around.
This helps because when you refresh you Query all the Changes you make will be maintained.
[More Info on Working with Formula|http://help.sap.com/saphelp_nw70/helpdata/EN/d3/015369f54f4a0ca19b28c1b45acf00/content.htm]
Hope this Helps
Datta. -
Hi there,
I'm finding that Numbers is really (really!) bogging down because I have a large number of smaller tables (approx. 20) that I'm trying to link to a main spreadsheet. I've read online that Numbers will slow down because it recalculates all of the data every time you change a cell value. I really need to be able to use the system I've spent tons of time setting up, and the last step is to extract info from the individual data tables and have it display in the main spreadsheet. Can anybody help me figure out how to make this work?! Right now, there's no way I can complete the linking, as there's at least a 3-5 second lag/pause every time I try to enter a new cell value (and often, it's much longer!).
Thanks so much!Barry wrote:
One very efficient brake of numbers is the use of multiple footer rows. You may be able to obtain a noticeable speed-up with a redesign of your document to eliminate as many footer rows as possible.
Given my experience, the most efficient brakes are column headers, the infamous columns A, B, C, D and E when they are defined as headers.
An efficient way to fasten a document is to move tables doing only calculations in a sheet different than the one in which we insert datas.
Using this tip with scripts, when it may apply, often divide the task duration by ten (yes, by ten).
Yvan KOENIG (VALLAURIS, France) lundi 4 juillet 2011 22:36:56 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Mail adapter fails when using Mail Package Format
Hi.
Using XI 3.0 stack level 9.
When i set up the mail adapeter to Use mail package format (by ticking the "Use Mail Package") checkbox I get the following error :
"error occured: [2005-09-14T09:42:46Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: expecting end tag: Mail, but found Subject at state 1".
The scenario is basic : file in mail out.
File coming in has the structure :
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<ns:Subject>Sap test</ns:Subject>
<ns:From>SAP</ns:From>
<ns:To>[email protected]</ns:To>
<ns:X_Mailer>Outlook</ns:X_Mailer>
<ns:Content>Contect</ns:Content>
</ns:Mail>
Any help would be appreciated.Hi Rodney,
try to use the following structure...
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Sap test</Subject>
<From>SAP</From>
<To>[email protected]</To>
<X_Mailer>Outlook</X_Mailer>
<Content>Contect</Content>
</ns:Mail>
The namespace should only be included in the Mail tag. On our side it works fine with the mentioned structure.
Hope it helps...
Regards,
Lars -
Using mail package in file to mail scenario
For sending the mail in proper email format ,
we have to check the USE MAIL PACKAGE option.
the corresponding TO, FROM ,SUBJECT and CONTENT
need to be handled in mapping..
Can anyone tell me which field in the mapping will match the req fields ????<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Hello</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content>row1
row2
row3
row4</Content>
</ns:Mail>
You can use UDF example to do this. Assume your original message payload is:
<root>
<text>row1</text>
<text>row2</text>
<text>row3</text>
<text>row4</text>
</root>
Create a advanced user defined function like this:
public void AddText(String[] a, ResultList result, Container container){
codeString b = "";
for (int j=0;j<a.length;j++)
b = b + a[j] + "\n";
result.addValue(b);[/code]
Now you connect
text -> addText -> Content
Maybe you are looking for
-
Hi, I am having a problem with the Locations feature of Leopard (10.5.2). I use my Mac to connect to the internet in two primary places: at home, and at school. I use AirPort for both of them. At home, I have a pretty basic password protected Wireles
-
System statuses in the Status Tab
Hello everyone, I have problem with status tab in the Student File. When I create Admission application (also execute/reject application) there are no system statuses like as Applicant, Admitted/Rejected Appl. But after creation of registration there
-
Web gallery name created on export too .mac is too long - how do I shorten?
I cannot work out what the steps would be to reduce the eventual web address that I am given when I publish a web gallery from Apertue.. I want to put the address into a domain web forwarding so that I can give a short neat address for people to see
-
I'm not able to download free apps from App Store. Every time I try a message encounters me showing some billing information. That doesn't make any sense as I just need to download free app. What should I do? Please guide me someone.
-
Just downloaded 10.4.11 and did some preliminary RAW tests with my 40D. Aperture seems to working brilliantly with them. Just thought there would be a few people here interested in knowing. John