I'm writing a class to handle a memcached object. The idea was to create abstract class Cachable and all the cachable objects (such as User, Post, etc) would be subclasses of said class.
The class offers some method such as Load() which calls the abstract function LoadFromDB() if the object is not cached, functions to refresh/invalidate...
I've been creating more and more systems recently and I find more and more planning and preparation I do before starting the project.
I determine what libraries or frameworks I will be using, what languages, the basic architecture of how the site will flow, etc.
I've also heard of other design processes such as hanging styrofoam balls ...
Coffeescript looks pretty cool. Has anyone used it? What are its Pros & Cons?
...
I'm trying to see what a certain webpage would look like if I replaced a certain image with another. Rather than upload the image, edit the site, etc, each time I tweak it, I'd like to know if there's a way to change the image in the page to my local version while viewing the remote page.
I use Firebug for debugging web development usua...
I have the following HTML code:
<style type="text/css">
.submitbutton{margin-left:-2px;padding:1px}
</style>
...
<form>
...
<input class=submitbutton type=submit value="Create Listings" />
</form>
In Firefox, the input button has more padding than in Chrome.
Any ideas why?
UPDATE: If you're wondering why I have the negative margi...
Hey,
Here's my problem:
I have two frames, one on top of the other. The top one contains the menu and the drop-down part of the menu gets covered by the lower frame. How would I go about fixing this?
Side question: should I use frames or iframes?
Thanks in advance,
Matt
...
We are currently evaluating Web servers for an embedded device. We have laid down the evaluation criteria for things like HTTP version, Security, Compression etc.
On the embeddable side, we have identified the following criteria:
Memory footprint
Memory management (support for plugging in a custom memory manager)
CPU usage
Thread u...
what does "one-document-per-URL paradigm" mean with reference to web development..
...
I would like to code a little web site that will contain several sections like "Home", "Gallery", "Contact Us", "FAQs", and so on.
I thought to do this in one HTML by putting each section in a div and show only one div per time (using Javascript / jQuery), based on the chosen menu button.
Alternatively, I could create a separate HTML p...
How can I do this task automatically. I need to change source order of the divs, which has same id in above 100 pages.
I created an example:
This is default condition
<div class="identification"> <div class="number">Number 1</div> </div>
<div class="identification"> <div class="number">Number 2</div> </div>
<div class="identificat...
Hello. I'm looking for a critical review of RapidWebDev.
Has anybody out here used it? Should it be considered for serious web application development? I found one comparison and the claims are tall. I only worry that the architecture shouldn't be limiting.
...
We want to AutoLogin feature to allow user directly login using link into our Web Application. What is the best way achieve this?
We have following approches in our mind.
1) Store user credentials(username/password) in cookie. Send cookie for authentication.
e.g. http: //www.mysite.com/AutoLogin (here username/password will be passed ...
I'm working with C# and WPF and I would like to study something related to web programming. I already know HTML and CSS, and since I'm working with WPF, I am wondering if going into Silverlight is a good choice to start web developing. Can it be a substitute of server-side programming languages, like PHP or ASP .NET?
What do you suggest?...
I understand that calling the home page index.html is a convention. Is that right ?
Does this name has any special meaning (maybe for search engines) ?
...
i am making style sheet for a website. css style name should be related to website or content?
my website is about web development.is that right to use style name-
#web-development-header
.web-development-company-london-content
or should use
#header
.content
is css style name can help for seo?
...
hi!
I have me own xamp server on my office and I developed an intranet witch clients can access through client.com domain... I have an index.php with header("location:ipadress") .
i was wondering if it is possible to redirect cliente to my office ip adress but mantain my domain name in the browser like http://intranet.client.com
is t...
How to find-out which url is accessed from which IP address/Country using Google analytic.
I found the country list and visit count. how do i know which URL visited from that country.
...
I am writing a web service in PHP for the first time and had ran into some security problems.
1) I am planning to hash passwords using md5() before I write them to the database (or to authenticate the user) but I realize that to do that, I would have to transmit the password in plaintext to the server and hash it there.
Because of thi...
Hi Guys,
I need to build a scalable single sign-on mechanism for multiple sites. Scenario:
Central web application to register/manage account (Server in Europe)
Several web applications that need to authenticate against my user database (Servers in US/Europe/Pacific region)
I am using MySQL as database backend. The options I came up ...
<?php
$data = array('foo'=>'bar',
'baz'=>'boom',
'cow'=>'milk',
'php'=>'hypertext processor');
echo http_build_query($data);
/* Output:
foo=bar&baz=boom&cow=milk&php=hypertext+processor
*/
How to do similar thing in javascript,say, get the query string from the array ,and convert the arr...