Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1665 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

How do you feel about people being able to view your source code?

Thread title: How do you feel about people being able to view your source code?
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
05-09-2005, 02:01 AM
#1
DateinaDash is offline DateinaDash
Status: The BidMaster
Join date: Nov 2004
Location: England
Expertise:
Software:
 
Posts: 10,821
iTrader: 0 / 0%
 

DateinaDash is on a distinguished road

  Old  How do you feel about people being able to view your source code?

I was just wondering how you feel (as a designer) about other web users being able to view your source code through the web browser. We all take time to code our websites just for someone without the knowledge or skills required to nab it at the click of a few buttons.

Why do browsers including this function? Do you think the ability to view html source will ever be done away with? Would it bring any real benefits if it were? I must admit, sometimes I do poke around in other sites code, just to see how certain things are done.

Your thoughts on this issue are appreciated.

05-09-2005, 02:28 AM
#2
xdoomx is offline xdoomx
Status: Member
Join date: Feb 2005
Location: Quebec, Canada
Expertise:
Software:
 
Posts: 441
iTrader: 1 / 100%
 

xdoomx is on a distinguished road

Send a message via AIM to xdoomx Send a message via MSN to xdoomx

  Old

It's always nice to see how other people have done things, I personally don't care if people wanna have a look at my sources, in fact I find it pretty stupid to have those Javascripts that disable right clicking.

05-09-2005, 02:53 AM
#3
unclekyky is offline unclekyky
unclekyky's Avatar
Status: Junior Member
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 43
iTrader: 0 / 0%
 

unclekyky is on a distinguished road

  Old

i don't care if people look at my HTML, its the PHP coding i don't want anyone to see.

and browsers will always have the viewsource. even if IE stops supporting it, poeple can do simple HTTP requests and get the code (if they couldn't, then browsers wouldn't work).

05-09-2005, 03:06 AM
#4
sysblnk is offline sysblnk
Status: I love this place
Join date: Mar 2005
Location:
Expertise:
Software:
 
Posts: 640
iTrader: 0 / 0%
 

sysblnk is on a distinguished road

  Old

I think it's actually a great tool for all designers until a certain point. I often spend time looking at source codes to see how things are done. I think it's a great way to learn. The golden rule here is to never copy the code and use it as your own, but theres no harm in learning.

05-09-2005, 03:19 AM
#5
Paul is offline Paul
Status: I love this place
Join date: Apr 2005
Location: Canada
Expertise:
Software:
 
Posts: 723
iTrader: 0 / 0%
 

Paul is on a distinguished road

  Old

I think it is benificial to be able to view the code. As pointed out by sysblnk, it is a great way to learn new things. What would you want to hide (html documents)?

05-09-2005, 08:24 AM
#6
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

I've been designing for over 5 years now and I still see the odd design feature that makes me view their source

The main thing I view source for though, is for my own designs.

I don't mind people viewing my coding, what I do mind is exact replica's of my code. Each page I design is my unique expression of HTML and CSS, and that expression is actually copywritable. My code layouts are copyright to me.

05-09-2005, 01:56 PM
#7
Koobi is offline Koobi
Koobi's Avatar
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 312
iTrader: 0 / 0%
 

Koobi is on a distinguished road

  Old

I don't mind it if someone views my source. It just sucks when they copy your code...but I guess in a way it balances out since they don't gain anything by it.




Originally Posted by Robson
Do you think the ability to view html source will ever be done away with? Would it bring any real benefits if it were?
I don't think they will disallow browsers from displaying the source in plain text. Even if they did, there's numerous ways around it. Even if no-cache headers were sent to the browsers, there's numerous ways to retrieve the X/HTML code....unless of course they encrypted the XHTML while letting the browser interpret it (there still would be ways of cracking this because what man makes, man can break )


I wrote a little snippet a while back to hide your CSS from public view (of course there's a million ways to go around this issue but this snippet is meant to be educational. I don't think people should actually hide their CSS)

Here's the link if anyone's interested:
http://www.koobi-studio.com/download...ppets/hideCss/

That won't work with IE though because IE loads CSS from cache which is the wrong thing to do. I can fix it by adding no-cache headers but I'm too lazy to just add those 3-4 lines of text :P

05-09-2005, 02:46 PM
#8
Travis is offline Travis
Status: Member
Join date: Jul 2004
Location:
Expertise:
Software:
 
Posts: 445
iTrader: 0 / 0%
 

Travis is on a distinguished road

  Old

Being able to view the site's source is definately a good tool. Back when I first learn't HTML this was was one of the most important tools for me in learning how to code HTML.

The problem we face today is that browsers today interperoate HTML, XHTML and CSS in different ways even still with the big push for standards and accessability. Ideally if a coder was to code this page it would look pretty much the same no matter who the coder is. The problem is that this does not work in theory and coders have to find ways to get around browser problems. This is the only time I think you can see some form of creativity and difference coming on to the code and I don't think it's a big deal that others can see this code and learn from it.

05-09-2005, 02:51 PM
#9
Koobi is offline Koobi
Koobi's Avatar
Status: Member
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 312
iTrader: 0 / 0%
 

Koobi is on a distinguished road

  Old

Originally Posted by Travis
The problem we face today is that browsers today interperoate HTML, XHTML and CSS in different ways even still with the big push for standards and accessability. Ideally if a coder was to code this page it would look pretty much the same no matter who the coder is. The problem is that this does not work in theory and coders have to find ways to get around browser problems.
I agree with you there. I think this came about during the browser wars and due to sloppy coding habits.
I think a browser should be like an XML parser; if the page is not a valid X/HTML document, it should not render the page, it should display an error instead.

If this was the case then all pages on the web would be X/HTML valid and the internet would be a LOT more efficient. Search engines would be a LOT more effective which in turn would make us a LOT more efficient. Data exchange will also be a LOT more efficient.




This is the case with anything. If there's a common standard/protocol to exchange data/information, things would be a LOT more efficient. That is common sense.

05-10-2005, 12:30 AM
#10
rjerina is offline rjerina
Status: Member
Join date: May 2005
Location: Cleveland, OH
Expertise:
Software:
 
Posts: 114
iTrader: 0 / 0%
 

rjerina is on a distinguished road

  Old

like someone else said here, i dont mind people seeing my html coding. it's my perl/php i dont want them to see

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed