SitePoint Sponsor

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 60
  1. #26
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ciwan View Post
    It is not a form and it is not a value from a URL.

    It is a Simple Click on a Button. hehe See why I say ASP.NET is much easier when it comes to Button Clicks.
    It's fine but... You should also learn what is actually happening, what a form is, how it works, what Post variables are, how to pass parameters in the url in an http get request, etc. This is all the stuff that underlies what you're doing, and if you don't know it you're limited in what you can achieve.

    It's also quite important in terms of SEO to be using the right kind of request. I'm fixing up a site at the moment which uses a post request to paginate news items. This means the URL is the same for each page of news so their old content isn't getting indexed and they're not ranking. I see this sort of stuff all the time from ASP developers.

    Simple is good but you really really need to know what's being simplified

  2. #27
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I like the much in php but I dislike the framework by third parties.

  3. #28
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When it comes to Forms I fully understand how the $_POST and $_GET work.

    I've watched many tutorials on this, from KillerPHP.com and many other sites that offer PHP video tutorials.

    But >> Isn't this different ? Isn't a button click different from a Form and how to process a form ?

  4. #29
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,026
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ciwan View Post
    No we don't sadly !! The Lecturers decided to teach us ASP.NET cause they say the Industry has higher demand for ASP.NET developers than they do PHP ones !!
    Why does this remind me of the old quip "Those who can, do. Those who can't, teach." Your teachers are out of touch - PHP has about 3 times the market presence that ASP.NET does. Hell, Java has more presence than all .NET deployments combined.

    What is more than likely is your institution is bought and paid for by Microsoft and they are telling that lie to prevent biting the hand that feeds.

  5. #30
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ouch !! haha

    It could be true .. I don't know .. I'm just a little ant trying to learn both.

  6. #31
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ciwan View Post
    When it comes to Forms I fully understand how the $_POST and $_GET work.

    I've watched many tutorials on this, from KillerPHP.com and many other sites that offer PHP video tutorials.

    But >> Isn't this different ? Isn't a button click different from a Form and how to process a form ?
    A button is a form element. It has to live inside a form to work (unless you're using some fancy-shmancy ajaxy javascript). The ASP sites I've seen wrap the whole page in a form, and button clicks submit that form. Check your html on one of your sites and see if I'm right

  7. #32
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by goldfidget View Post
    A button is a form element. It has to live inside a form to work (unless you're using some fancy-shmancy ajaxy javascript). The ASP sites I've seen wrap the whole page in a form, and button clicks submit that form. Check your html on one of your sites and see if I'm right
    I am still getting my head around ASP.NET. The wrapping the whole thing in a form, comes down to the author does not know how to code, and is using a WYSIWYG editor, or there is something wrong with the code, so when it hits the server, the server is like elephino (Source), and wraps it all in a form.
    Ryan B | My Blog | Twitter

  8. #33
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rguy84 View Post
    ...the server is like elephino (Source), and wraps it all in a form.
    I miss that show too

  9. #34
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @GoldFidget: you are right, the whole thing is wrapped inside a form element. When we were first introduced to ASP. NET I actually asked my lecturer why this form element was here !! He said just ignore it and do the work as if it is not there !!! Lol I didn't like it, but then I thought > if it works nicely > let it be.

    By the way I still haven't built anything in ASP, we're still being introduced to it.

  10. #35
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ciwan View Post
    @GoldFidget: you are right, the whole thing is wrapped inside a form element. When we were first introduced to ASP. NET I actually asked my lecturer why this form element was here !! He said just ignore it and do the work as if it is not there !!! Lol I didn't like it, but then I thought > if it works nicely > let it be.

    By the way I still haven't built anything in ASP, we're still being introduced to it.
    So now you know how it works

    You'll also often find a bunch of hidden input fields like viewstate which lets you track sessions across multiple forms. You wouldn't know unless you looked for them and it would seem like it just works by magic. On the internet, nothing is magic, and everything is

  11. #36
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have actually talked to a couple of businesses regarding this and they said they DO NOT CARE about ASP.NET OR PHP. lol which I found surprising at first.

    They said " We want something that just works and does what it is suppose to at decent speed, also looks good and user friendly "

    These sort of discussions only go o. Between us code geeks. Business doesn't give a crap hehe

  12. #37
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ciwan View Post
    I have actually talked to a couple of businesses regarding this and they said they DO NOT CARE about ASP.NET OR PHP. lol which I found surprising at first.

    They said " We want something that just works and does what it is suppose to at decent speed, also looks good and user friendly "

    These sort of discussions only go o. Between us code geeks. Business doesn't give a crap hehe
    Yep, they just want the job done. If you're a freelancer doing a small CMS, for me, it's Wordpress all the way.

  13. #38
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by goldfidget View Post
    Yep, they just want the job done. If you're a freelancer doing a small CMS, for me, it's Wordpress all the way.
    That's true, but Visual Studio also makes things easier for the developer espeically for maintenance later on.

  14. #39
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ciwan View Post
    @GoldFidget: you are right, the whole thing is wrapped inside a form element. When we were first introduced to ASP. NET I actually asked my lecturer why this form element was here !! He said just ignore it and do the work as if it is not there !!! Lol I didn't like it, but then I thought > if it works nicely > let it be.

    By the way I still haven't built anything in ASP, we're still being introduced to it.
    Forms can cause issues with accessibility. So depending on how the page is and who it is for, just going with "oh it looks fine" could wind you up in a world of hurt.
    Ryan B | My Blog | Twitter

  15. #40
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rguy84 View Post
    Forms can cause issues with accessibility. So depending on how the page is and who it is for, just going with "oh it looks fine" could wind you up in a world of hurt.
    Do you mean forms in ASP.NET? What issues with accessibilty are you talkining about, could you give me an example?

  16. #41
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rguy84 View Post
    Forms can cause issues with accessibility. So depending on how the page is and who it is for, just going with "oh it looks fine" could wind you up in a world of hurt.
    I was thinking more of " Oh it WORKS fine " << After doing a lot of testing of course

    But I know what you mean, every project needs careful planning and thought.

  17. #42
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    CS - If the whole page is wrapped in a form tag vs just the log in part (for example) can cause issues
    Ryan B | My Blog | Twitter

  18. #43
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm interested in this.

    What sort of issues RGuy ?

  19. #44
    SitePoint Wizard rguy84's Avatar
    Join Date
    Sep 2005
    Location
    Durham, NC
    Posts
    1,659
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    well this is totally off topic. Screen readers have a 'forms mode' which it can only really interact with form elements. google forms mode, then start up a thread in the accessibility forum.
    Ryan B | My Blog | Twitter

  20. #45
    SitePoint Enthusiast Ciwan's Avatar
    Join Date
    May 2010
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    ahh Ok, so it is about Screen Readers.

    You're Right sorry > totally off topic.

  21. #46
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rguy84 View Post
    well this is totally off topic. Screen readers have a 'forms mode' which it can only really interact with form elements. google forms mode, then start up a thread in the accessibility forum.
    Do you mean that ASP.NET could break accessbility?

  22. #47
    SitePoint Enthusiast
    Join Date
    Nov 2010
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I like everything in php. There is nothing to dislike about in it.

  23. #48
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by CS Geek View Post
    Do you mean that ASP.NET could break accessbility?
    It's also just not right. A form is a form, a webpage is a webpage. It's just not semantic damn it!

  24. #49
    SitePoint Zealot
    Join Date
    Sep 2010
    Location
    Brighton, UK
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by softaculous View Post
    I like everything in php. There is nothing to dislike about in it.
    That's a very lovely attitude

  25. #50
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by goldfidget View Post
    It's also just not right. A form is a form, a webpage is a webpage. It's just not semantic damn it!

    And what about JSP? I do not have a background about it, is it the same?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •