Tagged Questions
25
votes
15answers
2k views
What shall I include in a 10 week web technologies course?
In September I will be teaching a university module on web technologies. This session will be available to 1st year (freshman) students who don't necessarily have any programming knowledge or know ...
11
votes
4answers
8k views
Which is better: to include HTML inside PHP code or outside it?
Look at this:
<?php
echo "Hello World";
?>
<br />
<?php
echo "Welcome";
?>
And now look at this:
<?php
echo "Hello World";
echo "<br />";
echo "Welcome";
?>
Which ...
10
votes
6answers
755 views
How do you deal with web designers who are too afraid to read and touch PHP code?
I've been hired to make a website and am working with a designer (who happens to be the guy who is in contact with the client and hired me, so no, I can't kick his ass out =) ) who's too afraid to ...
8
votes
12answers
890 views
What are some good ways for an intermediate programmer to build skills?
Preface: I work mostly in Python, and Web Dev languages (HTML, CSS, Javascript and Jquery, PHP)
I'm proficient at coding but I want to get better. In larger more advanced projects my programming ...
8
votes
3answers
795 views
How to properly validate your code?
I have about 4000 lines of code for a web-application in JavaScript / PHP / CSS / HTML. How can I test it properly?
I only support the latest version of IE and Safari. I've worked out all the bugs. ...
7
votes
5answers
2k views
PHP, HTML, Javascript and writing good practices
I realized I have to write down a convention specification about HTML, JavaScript and PHP coding for me and my team.
In web development, just like in C++, I'm definitely a fan of indentation and ...
6
votes
7answers
716 views
What should someone learn to become a great web-app builder by 2015 [closed]
My brother just started learning some html/css at school and he loves it. He asked me to give my advice on what languages to learn in order to build great web-apps by the time he leaves school. (2015 ...
6
votes
2answers
498 views
Correct echoing of html in js?
A colleague and I were discussing how to echo HTML inside of javascript code. Specifically, in a situation similar to this:
new Element('div', {
html: '{long string of HTML goes here!}'
...
5
votes
2answers
381 views
When should I start the server side coding?
I am creating a website, where users can upload their own videos. So far I am just building the main structure with HTML and CSS. Is it a better practice to write server-side code before the site ...
4
votes
1answer
428 views
Is there a way to prevent the editing of HTML and CSS contents in a page using Firebug-like tools?
Is there a way to prevent the editing of HTML and CSS contents in a page using Firebug-like tools?
I found that some users are editing some values in hidden fields and some contents which written ...
4
votes
1answer
899 views
Build tools for php, html, css, js web app development
What are some recommendations for a build tool that would allow me to upload changes to a web server or a repository and minify the js and css automatically, and possibly even run Closure compiler on ...
3
votes
5answers
636 views
Is it advisable to force your web server to parse HTML files for PHP code?
I can't remember what site I glanced over and picked up that tidbit, but someone suggested that you should keep PHP parsing to .PHP files, and not modify one's webserver's htaccess to include PHP ...
3
votes
1answer
515 views
Benefits of setting PHP memory_limit to lower value for specific PHP script?
I need to execute just few lines of PHP code on every single page of my website. This PHP code does not require more than 4MB memory. That is why i want to allocate just 4MB memory to all pages by ...
3
votes
5answers
418 views
How to get into web coding?
I don't know how to get into this area, or more specifically, become a website maker.
Here's what I now
html
some java script
C#
and a little of everything else (php, css, xhtml, ect.)
I've been ...
3
votes
3answers
2k views
How do I prevent useless content load on the page in responsive design?
In responsive design, elements are hidden in the page with @media queries and display: none in CSS.
Ok.
In my design however browsers that have less than 800px in width should avoid loading some ...
3
votes
1answer
643 views
Reverse horizontal and vertical for a HTML table
There is a two-dimensional array describing a HTML table. Each element of the array consists of:
the cell content
rowspan
colspan
Every row of this two dimensional array corresponds to <td> ...
2
votes
3answers
197 views
Web Page Execution Internals
My question is what is the subject area that covers web page execution/loading.
I am looking to purchase a book by subject area that covers when things execute or load in a web page, whether it's ...
2
votes
2answers
267 views
HTML in docblock comments?
In the PEAR standards there is no reference to HTML, if its allowed or not.
http://pear.php.net/manual/en/standards.sample.php
But I see some people use HTML tags like <kbd> and stuff..
So is ...
2
votes
3answers
146 views
Can display issues affect SEO?
Can website display issues on certain platforms affect a website's search rankings and potentially hinder any SEO efforts?
1
vote
8answers
495 views
Should PHP view files be called something other than '.php'?
By default, any file that PHP touches is usually suffixed with .php. It's universally understood by Apache / Nginx as the default for PHP files and most setups expect PHP files to end in this ...
1
vote
3answers
2k views
What scripting languages can be embedded within HTML?
Most of scripting languages (like Pythong, Perl, etc) generates the whole HTMLfile. However, PHP code can be embedded within html codes. PHP will process only code between <?php ?> tags and ...
1
vote
2answers
150 views
Separating php and html code [closed]
What is the industrial practice on how to separate html and php code in a web project? Using echos to generate html is considered bad but what is the standard way to achieve the sought separation? ...
1
vote
1answer
170 views
Is learning different programming languages from different categories good? [closed]
I have read some posts regarding learning different programming languages or not. Most of the answers indicate that learning more than one programming language increase our horizon as a programmer and ...
1
vote
1answer
639 views
Twitter in app browser + user agent string
Recently (I believe some weeks ago) with the latest update of the Twitter app for iOS, all links found inside tweets are opened in Twitter's build-in browser. My question is how to find Twitter's ...
1
vote
3answers
569 views
Generating presentation elements with Javascript vs PHP
What are the pros and cons of generating dynamic pages with javascript vs doing it in PHP?
As an example, I want to display certain records from some database in a table and I'm considering the ...
0
votes
2answers
221 views
How to explain to my manager the importance of separation of concerns?
I'm an extremely novice web programmer working at a 2 person shop building websites, and we're in the process of writing a simple website template system in PHP from scratch. My manager is entirely ...
0
votes
0answers
21 views
Deleting dynamic elements from a database
I have a select dropdown, with '+' and '-' buttons that add and remove items before submission.
I would like to be able to remove the elements with the '-' button after they have been added to the ...
0
votes
0answers
20 views
Can't post data to php, Can't see why [migrated]
I have some data from a form that is being sent to a php script to send an email, it is from a template but I think it is wrong. I have isolated the part of the code that is to blame. The specific ...
0
votes
1answer
142 views
Website File and Folder Structure
I am having a problem learning how proper website structure should be. And by that I mean how to code the pages and how folder structure should be.
Currently I am navigating around my website using ...
-1
votes
2answers
150 views
Where do I start to build this? [closed]
I'm a real estate professional and part of my job is to scan a database day in and day out searching for properties for a prospective investor buyer to purchase. I am pretty sure a program can be made ...
-1
votes
2answers
158 views
How i may develop in php and html? [closed]
I am learning php from the internet on codeacademy.com. I have also learned html and css but the problem that i dont know how can i build a complete website then !
I study everything on its side. But ...
-2
votes
1answer
106 views
Develop a website using mustache.js and PHP [closed]
I'm thinking of building a website using mustache.js to render the website and having PHP as the backend. The PHP will then mainly contain queries to the database and some SESSION checkings.
...