I had a Java developer new to PHP ask me this question the other day, so I thought I'd document the answer here.
Question: are PHP variables passed by value or by reference?
I have an ASP.NET MVC site that uses both Microsoft Ajax [Ajax.BeginForm()] and jQuery to make asynchronous requests. I want to configure both frameworks such that a generic error handler is automatically attached if the developer does not explicitly specify a failure callback.
In jQuery I can accomplish this with either .ajaxSetup() or .ajaxError(). What is the equivalent in the Microsoft Ajax client library? I'm fairly sure it's something in the Sys object but I can't find it...
I like operating systems and would eventually like to become a OS developer mostly working on kernels. In the future will C still be the language of choice and what else should I be trying to learn.
I am a web developer and usually use php/JS/mysql.
I have heard lot about python.
I have no idea where is python used and why it is used.
Just like
php/asp/cold fusion/.net/
are used to build websites
C, C++ , Java
are used to build software or desktop apps
Where does python stands from those langages
WHich is the thing whic can be done by python but not with those common languages
Hi,
I've seen so much C# code in my time as a developer that attempt to help the GC along by setting variables to null or calling Dispose() on classes (DataSet for example) within thier own classes Dispose() method that
I've been wondering if there's any need to implement it in a managed environment.
Is this code a waste of time in its design pattern?
class MyClass : IDisposable {
#region IDisposable Members
public void Dispose() {
otherVariable = null;
if (dataSet != null)
dataSet.Dispose();
}
#endregion
}
I am writing a java servlet (struts/JSP etc). I am trying to style a progress bar using CSS in a JSP page but get this error when using chrome's developer tools:
Resource interpreted as image but transferred with MIME type text/plain.
<%@ include file="../include/css/default.css" %
And in the CSS file:
background:url(../images/bg_bar.gif) no-repeat 0 0;
Could anyone explain why this is and show how I can use this CSS in my page?
I am using a list to keep track of a number of custom Row objects as follows:
Public Rows As List(Of Row)()
Row has 2 properties, Key (a String) and Cells (an ArrayList).
I need to be able to sort each Row within Rows based on a developer defined index of the Cells ArrayList.
So for example based on the following Rows
Row1.Cells = ("b", "12")
Row2.Cells = ("a", "23")
Rows.Sort(0) would result in Row2 being first in the Rows list. What would be the best way of going about implementing this?
Thanks
Are class methods convenience methods i.e. part of the framework e.g. +(id)alloc and instance methods are those that were implemented by the developer?
I can't seem to understand the difference between instance methods and class methods.
Sometimes I watch screen casts where someone is using text mate.
I'm a rails developer, so these are rails screen casts.
They'll type something like:
def
for example
and "end" will automatically appear underneath.
I do have the bundle for Rails enabled - why doesn't this happen for me?
Thanks!
We are developing a very complex eCommerce portal using asp.net c# and the client asked us to make the documentation very similar (look & feel) with ebay api documentation http://developer.ebay.com/DevZone/shopping/docs/CallRef/GetSingleItem.html
Do you have any idea what kind of tool they are using and if not do you know anything that can be configured to produce a similar result ?
Thank you in advance !
Andrew
On the developer.paypal.com i login using my ID. When i click on Applications-My App i see the following error
We’re sorry, but something went wrong. Please try again. [Error code:
LVAPPSGET400-20140608081651]
When i click on create apps and try to create an app it gives the following error
We’re sorry, but something went wrong while creating the application.
Please try again.
I could not find how to contact paypal to get this resolved so i thought i come to stackoverflow. please help
First off these questions are related but do not fix my problem:
http://stackoverflow.com/questions/2499934/
http://stackoverflow.com/questions/652836/
I have installed Visual Studio Web Developer Express Edition 2010, then I installed MVC 2. Now I can successfully run a MVC 2 application, however I have to do the manual imports of the namespaces and stuff.
How can I install the templates?
Looking for the things you install every time you do a fresh build and use either frequently or infrequently but it may be very novel and obscure and have a lot of value to a C++ developer's toolbox.
If we compare Windows and Web applications against following criteria
Insight of .NET and OS
Design Patterns
Logic development
Development of a fresher into a good developer
which one is better.
Hi all,
I am a seasoned .net developer and using VS.net all the time. Now, I would like to learn Ruby on Rails using emacs. Since I'm pretty new to Linux, it would be great if someone show me step by step tutorial to setup emacs for RoR develpment.
Should multiple developers work within the same branch, and update - modify - commit ? Or should each developer have his/her own each branch exclusively? And how would sharing branches impact an environment where you are doing routine maintenance as opposed to unmaintained code streams? Also, how would this work if you deploy each developers work as soon as it is done and passes testing (rapidly, as opposed to putting all of their work into a single release).
Does anyone know a good step by step tutorial for using sqlite on Android?
I've found this: http://developer.android.com/guide/topics/data/data-storage.html#db and it ok to start with, but then it wants me to jump into other source code then its difficult to follow.
I've tried others on the web, one from screaming penguin and that just kept causing errors with JVM.
Advice greatly appreciated.
I need to:
Create database, with several tables (auto id, declare type)
update
get
Is there a good way to get Facebook Connect onto a Silverlight page? All I really need is simple authorization/registration. I've looked into the facebook developer toolkit, but the documentation is more or less non-existent for Silverlight, and I didn't really get anywhere with it.
Is there a good tutorial or a working library for adding Facebook Connect into a Silverlight app? Or is the best way to run Silverlight in Windowwless mode with HTML overlayed on top?
I've seen developers use various methods to prevent spam on a basic html contact form
Method 1 is where the developer uses a Captcha image and Method 2 where only a Question is asked eg. Are you Human? with a radio button.
Which one is the better one to use and why?
Where can I find the values that inputType can have?
I'm aware of http://developer.android.com/reference/android/text/InputType.html, but how should the values look like in layout xml files?
I am interested in learning Objective C so I can develop for the iPhone and Mac. I am a web developer with lots of experience with HTML, CSS, Javascript, and PHP, but I have no knowledge at all of C or Objective C. What is the fastest and easiest way for me to learn Objective C? Can you recommend any good resources for getting started?
Hi there,
Is there a way to change the name that displays on the AppStore, rather than the name associated with the credit card/apple ID associated with the developer programme?
For example, if my name on my credit card was foo, and the name on the apple ID was foo, but I actually want the name displayed on the AppStore (i.e. next to my App's name and details) to be bar.
BTW: The programme is individual.
Many thanks,
Jack
What I want to do is provide some public static fields that will be used as instances of an interface implementation and have intellisense pick them up when the interface is a method argument.
The idea is to have it look like an enum to the developer. I reference Color because basically this is the behavior I want, I just don't know how to replicate it.