Hi, have you applied OOP features like inheritance and polymorphism etc. while using CakePHP other than inherting the base AppController class, Model class etc. ? How about design patterns?
Hi Friends,
I want to design a screen like settings screen. Like in grouped uitableview I want to place the controls.
Can any one please provide me any application sample or code ?
Thanks in advance.
Regards,
Malleswar
I want to use a picture as my website design. It's a plain one, like google's.
<img src... done... >
now, I want to place an input box at the text area of the picture, how to I do that?
I have a chart similar to the one below using the Google Visualization API. My problem is that on the right side of where the key is for this chart(where it says low, medium, high) there is too much white space. How can I get rid of this white space?
I'm writing a Python application, that I want to later migrate to GAE.
The new "Task Queues" API fulfills a requirement of my app, and I want to simulate it locally until I have the time to migrate the whole thing to GAE.
Does anyone know of a compatible module I can run locally?
I have an android app that periodically, say once a week downloads content from a server in XML. The content is used by the app, different Acitivities use different parts of the content.
My question is a design one, should I save the data in SQlite or just keep it as an XML file, which one would be faster to read?
The app can only use one content piece at a time, which means subsequent XML content downloads replace the old one.
Is there in the world analogues of JavaBeans or JAXB for PHP?
Is it possible to generate PHP classes from XML schema?
It's common practice to publish API's as XSD schemas. Java and C# guys can get advantage of this by generating classes right from XSD. Is there same tool for PHP?
Hi there,
I just signed up for a Google Maps API key and was hoping for a wizard style application for setting up the map (not a static one), unfortunately I was immediately blinded by science!
Can anyone point me to a tutorial where I can find out how to create a simple google map and place a callout bubble including am image of the office and address details.
Thanks in advance
Decbrad
I need to allow users to upload files onto a server that has an antivirus program running with real-time scanning switched on.
What would be a good design to ensure that infected files are not uploaded to the server.
Questions -
would large files be copied onto disk and then immediately scanned, or would they be scanned as they are copied and not allowed to appear on disk if infected
Should i build a seperate infrastructure around this to specifically ionvoke a scan on the copied file ? this might be an issue if the file is deleted through the real-time scan
I keep getting an error:
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code The thread '' (0x27ee4) has exited with code 0 (0x0).
I was told it was related to this:
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("Results.aspx?Keywords=" + searchString.Text);
}
I figured it may help to include my complete code. The code above is the only C# code on my first asp page.
That code relates to this code on this page. It is also the only C# code I have on my second page. I am simply just trying to pass a keyword from a search form to this block of code:
if (Request.QueryString["Keywords"] != null){
string keywords = Request.QueryString["Keywords"];
string myAppID = "HIDDEN";
var xml = XDocument.Load("http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=" + myAppID + "&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&keywords=" + keywords + "&paginationInput.entriesPerPage=5");
XNamespace ns = "http://www.ebay.com/marketplace/search/v1/services";
var titles = from item in xml.Root.Descendants(ns + "title")
select new{
title = xml.Descendants(ns + "title").Select (x => x.Value),
};
foreach (var item in titles){
Label1.Text += item;
}
}
This block of code calls the keyword value and uses it in an api to perform a search. The code of the xml(api) formats like this:
<findItemsByKeywordsResponse xmlns="http://www.ebay.com/marketplace/search/v1/services">
<searchReslut count="5">
<item>
<title></title>
</item>
<item>
<title></title>
</item>
<item>
<title></title>
</item>
Why am I getting this error how do you fix it?
I am developing a SaaS application and I am looking for the best way to design lookup tables, taking in consideration:
The look-up tables will have
predefined data shared among all the
tenants
Each tenant must have the
ability to extend the look-up table
with his own data e.g adding a car
class not defined
I am thinking about adding TenantID column to each lookup and add the predefined data with setting that column to some value which represents the "Super Tenant" that belongs to the system itself
From http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html:
\Z The end of the input but for the final terminator, if any
\z The end of the input
But what does it mean in practice? Can you give me an example when I use either the \Z or \z.
In my test I thought that "StackOverflow\n".matches("StackOverflow\\z") will return true and "StackOverflow\n".matches("StackOverflow\\Z") returns false. But actually both return false. Where is the mistake?
Hi,
I am creating a sites by java programming using google sites API developer guide. I had easily created different type of pages as parent page and sub pages also. my problem is,I am not able to create a web page as parent page and file cabinet, announcement, list page as sub page. That's parent page and sub page is created as same not as different page. please tell me a solution.
I was wondering if it's possible to make a user attend an event through the sdk (probably fql).
I've been looking at the wiki for FQL info as well as the graph api. But both look like they only support fetching info and not changing...
Any suggestions? I would like to build this feature into an application....
I have a HTML table which I want to make fluid so that when it resizes, the table collapses/shrinks, just like the table on http://sis.bristol.ac.uk/~cckhrb/webdev/code/site/fluid.htm.
How can I design such a table?
Thanks
Hi, I'd like to get the name of the song that iTunes is currently playing.
What API should I refer to?
I'd like to use that both for a dashboard widget or a Java/python application depending on what it is easier to use.
Do you have some references for me?
Thanks in advance,
Mario
This is related to question: How to store unlimited characters in Oracle 11g?
If maximum I need is 8000 characters, can I just add 3 more varchar2 columns so that I will have 4 columns with 2000 char each to get 8000 chars. So when the first column is full, values would be spilled over to the next column and so on. Will this design have any bad side effects? Please suggest.
Is there a way to reuse SSL socket connections on the iPhone. I'm seeing an extra 3-4 second overhead in doing SSL handshaking. I'm using NSURLconnection currently to do the API calls and each one of them is taking 4-5 seconds on Wifi. Any suggestions would be greatly appreciated.
Hello,
I already have log file. Now what i need is to make the graph of that log file.
Is there any command line tool or google API to make graph which will show every transaction time.
Thank You
i need to design a web site in which data is passed to and from the server using xml.i got it how to transform data from database to xml and then to html.but i am not able to find how to pass data from client to server using xml.webpages are designed using asp.is it possible to do pass data from client to server using xml.what are the things that are to be studied.help needed immediately.
I want to design following scenario
Base class (Id, Name, order, Value)
3 Derived classes derive1, derive2, derive3 inheriting properties from base
There is no table for base class. And 1 table for each derived class. 3 tables have same columns.
How can I create mapping file ignoring base class?
Do I need to create 1 mapping file for each derived class? can I achieve this using only 1 mapping file?
I'm using yahoo local search in an iPhone app and trying to query everything in a certain location. According to the api docs you can pass "*" to query and it will return everything. I've tried passing it several different ways, including the way below but it does not work unless I actually pass it a real query. Does anyone know how or what I need to pass to make it query everything?
[self setQuery:[@"*" stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]];
Thanks
Hi,
I am migrating some mails to 'TRASH' in Google Apps.
Using Google API Ver 2:
Code Sample :
MailItemEntry[] entries = new MailItemEntry[1];
entries[0] = new MailItemEntry();
entries[0].Rfc822Msg = new Rfc822MsgElement(msg);
entries[0].MailItemProperties.Add(MailItemPropertyElement.TRASH);
I tried with :
entries[0].Labels.Add(new LabelElement("Trash"));
How can i migrate mails to "TRASH" in Google Apps ?
Thanx
I installed a local version of Laconica microblogging in my env. Then I downlowaded SPAZ (an AIR client) to try and talk to the Laconica app. I get an authenitcation error. I have put in the appropriate credentials - I think :)
But I think that I have to alter the API and base URL for connecting.
Ayone have any thoughts on how to make these two apps talk ?
Thanks in advance,
Linley