Hello,
I have been coding a site in pure HTML/CSS - using no server-side language.
I was wondering if anyone had any feedback - is there anything that you would change etc...?
Many Thanks,
J
View Site
Where I can download source codes of sites on clear OOP without Frameworks or Cms? For best studying system of OPP and with perfect code where should I focus my coding style? I can learning only on examples of code whatever but i dont need script I need all site code entirely with Database data and with setting up Apache. Thanks everyone. Sorry by my English ))
P.S can you advice to me what Projects with advantages? Exactly ;p
I'm putting in some effort to learn Python, and I am paying close attention to common coding standards. This may seem like a pointlessly nit-picky question, but I am trying to focus on best-practices as I learn, so I don't have to unlearn any 'bad' habits.
I see two common methods for initializing a dict:
a = {
'a': 'value',
'another': 'value',
}
b = dict(
a='value',
another='value',
)
Which is considered to be "more pythonic"? Which do you use? Why?
What are the advantages and differences between the below two coding styles...
public void HelloWorld () {
private string _hello;
public string Hello {
get
{
return _hello;
}
set
{
_hello = value;
}
}
}
or
public void HelloWorld () {
public string Hello { get; set; }
}
My preference is for short simple code, but interested to hear opinions as I see many developers who insist on the long route.
I am learning php, trying to use the fopen() function.
The php file I am coding is in this directory /domains/xxxxx.com.au/public_html/phpfile.php
What path do I specify for the file to be opened, the example I am looking at is based on a server on a pc where this is the file path $filename = "c:/newfile.txt"; not an online server.
I just discovered the NSRect helper functions in NSGeometry.h (i.e. NSMidX, NSMaxX, etc...)
These would have made some repetitive coding much easier. I knew about NSMakeRect, NSMouseInRect, NSOffsetRect and many others but somehow missed the functions that aid in recalculating NSRect geometry.
I want to declare an Array and all items present in the ListBox Should Be deleted irrespective of the Group name present in the ListBox. can any body help me coding in Python. I am using WINXP OS & Python 2.6.
What uses of the goto statement do you consider acceptable? I am discussing some coding guidelines for C embedded work, and wondering if there are cases where goto is the cleanest way to do things.
Lets assume that a rule (or rule of thumb, anyway), has been imposed in my coding environment that any method on a class that doesn't use, modify, or otherwise need any instance variables to do its work, be made static. Is there any inherent compile time, runtime, or any other disadvantage to doing this?
Hi folks!
We're searching for information on how to format instances of java.util.Calendar and more general information and coding hints regarding transition from using java.util.Date to java.util.Calendar.
best,
phil
hey folks
i am coding opera recovery tool in my delphi
i am using c++ which is already exist
http://pastebin.com/ViPf0yn6
but i didnt get whats DES_KEY_SZ in that code .
i think they are present in des.h ,but i couldnt found same des.pas :(
can any one help me please
regards
How do I get intellisense to pop up while I am coding? I know it pops up when I start typing a known type e.g.:
if I type NSS it will finish it for me NSString.
How do I get it to give me a bunch of options like in Visual Studio e.g.:
if I type NS I want to see what my options are like NSString, NSInteger etc?
And if I have not typed anything I still want a bunch of options like all the instance variables etc.
HI guys,
We always in our projects implement our own custom login by coding (login, recover, change,...), ASP.NET already have it, but the team leader always ask for a custom login.
I need someone to clarify to me as he is not arguable.
thanks
What is the best way or recommended best practice in the flow of database driven asp.net web application? I mean the Database first or coding first or side by side?
I'd like to see what a website is sending when I submit a form.
Using Firebug I can see that it is regular POST form.
I'm interested in the coding of the form fields.
Thanks in advance!
I am working on the project that is based on symfony (doctrine) with use of a facebook api. I really want to get the description of architecture of in terms of some diagrams, so What steps(in terms of types of diagrams) should I take first before coding ?
Hi all,
I am using WordPress Version 2.9.2 for my blog.when i am trying to include a database connection in one of my plug-in which is not working properly.Which did not get the database connection.But in all other directory it is possible to use a common connection.So,now I am using manual coding in all of my plug-in file.Any ways to getting a common connection in all of my plug-in.Help me please...
Im a Newbie to PHP and FBML(Facebook Markup Language).....so now im coding a Facebook app so I need to get profile picture and friend name when I select a name from FB:Friend Selector
Select a Friend <fb:friend-selector uid="exclude_ids" name="pal" idname="friend_sel" />
I use exclude_ids to see all friends in my selector so how to get profile picture? I can get name from this but how to get the profile pic large?
Possible Duplicate:
Hidden Features of Java
Just want to know any hidden/very rarely used features of java which are not so dominant in coding.
Like i found the ?? operator in c#
Some times while coding i'm sucking at some point. I couldn't come out of the problem easily and this ate plenty of time. Is it this is happening to all? If it is what is the solution and how to approach this problem.
Hi again, here is my coding which gives me the error 'warning: unknown conversion type character 0x20 in format'
int subtotal;
long long a,b,c,d,e,f,g,h,i,j,k,l,m;
subtotal = (1*(a+c+e+g+i+k))+(3*(b+d+f+h+j+l));
printf(" = %d % 10 = %d; (10 - %d) % 10 = %lld\n", subtotal,subtotal%10,subtotal%10,m);
any idea why this is wrong?
Hi All,
I am creating application using jquery in asp.net. I am displaying images(664 x 428) with fade effect using cycle plugin and also a gif file outside the control.
Problem:
The gif file animation is working only if i pause the cycle fade effect the gif file animation is working.
Coding:
$('#mainBanner').cycle({
fx: 'fade',
continuous: true,
speed: 7500,
timeout: 55000,
pause: 1,
sync: 1
});
<img src="Images/HomePageImages/scan.gif" alt="" width="124" border="0" height="124" />
In the code I am writing I need a foo(int, char*) and a foo(int, int) functions.
If I was coding this in C++ I would use templates. Is there any equivalent for C? Or should I use void pointers? How?
Thanks.
Lets say I have
class Person
{
public Person(int age, string name)
{
Age = age;
Name = name;
}
public int Age{get;set}
public string Name{get;set}
}
and I would like to create a method that accepts a string that contains either
"age" or "name" and returns an object with the value of that property.
Like the following pseudo code:
public object GetVal(string propName)
{
return <propName>.value;
}
How can I do this using reflection?
I am coding using asp.net 3.5, c# 3.5
So basically I would like somehow that given an audio file as input (most likely mp3 or I can use some audio engine that will handle other types too) from my computer to control some LED lights so they will be something like an oscilloscope, like the one in winamp.
What would I need to be able to do this? I'm interested in building thing up all by myself, coding, hardware, etc..
I'm going with C++ on Windows.