SitePoint Sponsor

User Tag List

Page 3 of 3 FirstFirst 123
Results 51 to 62 of 62
  1. #51
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by hongnk
    Yes that's possible but you still lose things like a:hover, a:active... So I think just leave it to designer. If no-scripting support is mandatory then he's not allowed to use link button.
    Fine. I just figured that in an argument about style vs. function that function would win out, namely that my code works with javascript disabled. I think that's worth sacrificing :hover type functionality.

  2. #52
    SitePoint Enthusiast
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mlemos
    Actually, if you just think for instance of regular expression based validation rules, most people with only presentation design knowlegde will get knots on the brain just trying to understand the regular expression language syntax, even more trying to define non-trivial regular expressions all by themselves.
    the designer does not need to know regexp. he just need to add a <validator> tag somewhere in the page (where to display the error message), programmer will edit the pattern either on the page or in code.

    Quote Originally Posted by mlemos
    I don't know if .NET really can provide all that the forms class provides. What I asked and it seems you moved away from the question, is in terms of forms management, what does the ASP.NET provides that the PHP solutions don't and would consist in an advantage of using the ASP.NET approach?
    The only advantage is that I can write little code. There's nothing asp.net can do but php can't (my engine is a clear example).

  3. #53
    SitePoint Member
    Join Date
    Mar 2004
    Location
    USA
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Use it inside Visual Studio

    If you are doing ASP.Net and Php, please check out VS.Php. This is a Php integration package for Visual Studio. Learn more about it here: http://www.jcxsoftware.com/vs.php

  4. #54
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I completely disagree. Validation rules are part of the Model and not of the View in a MVC approach. Presentation designers should never need to know and understand how to implement validation rules because it is not their competence, just like presentation design is not the competence of programmers, unless you are on a single person project or your project structure is so bad that you can't split competences.
    Agreed. There's some interesting thoughts here regarding Java Server Faces (Sun's response to ASP.NET);

    What’s not so great (in my view) is that the current design of the JSF validation tags assigns the responsibility for defining field validations to the page author. To validate a field value, the pages author “registers the validator on a component by nesting the validator's tag within the component's tag" (excerpt from the JSF tutorial).

    This bothers me because it requires the page author to have knowledge about a field’s meaning in order to select the correct validation tag.
    ASP.NET has validation controls and JSF has followed suit.

  5. #55
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by HarryF
    Can I just throw in that that's not what WACT is about.
    Thats cool , & I do not suggest that frameworks & OOP are of no value just perhaps oft-misused in the interpreted world of PHP, & in that vein

    ASP.NET in PHP is possible! ..

    begs the possible alternate suffix 'but why would you' (a view I hold for creating cloned JAVA libraries in PHP) , again no disrespect intended to the writers of such code , I just have to chuck in my 2c.

    Your code snippet is of interest as I have similar looking routines , the difference being that my version will output PHP/HTML (and supporting classes for common routines(paging etc)) to be uploaded and parsed instead of being used at runtime themselves , this of course can be messy (ok it is) and has several drawbacks , however absolutely none at the most important (IMO) time, runtime.

    Quote Originally Posted by hongnk
    Yes there is trade off for speed but not very much when application grows big.
    big is not the issue , server-load & resource usage is the issue , optimizers and cacheing can mostly overcome this , if so then all is well ,though that would be more of interest to those with control over their hosting/hardware than the 'average' PHP user.

    Hopefully your code will be run millions of times for every time you have to code it , so I prefer to give execution preference in terms of performance.

  6. #56
    SitePoint Enthusiast
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by firepages
    but why would you
    I'd answered before: I have a need for it.

    Quote Originally Posted by firepages
    Hopefully your code will be run millions of times for every time you have to code it , so I prefer to give execution preference in terms of performance.
    I was talking about 1 month vs 6 month development, not just a few hours difference of typing code.

  7. #57
    SitePoint Addict
    Join Date
    Apr 2002
    Posts
    330
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hongnk
    the designer does not need to know regexp. he just need to add a <validator> tag somewhere in the page (where to display the error message), programmer will edit the pattern either on the page or in code.
    You are still missing the point. What you are saying is that to added or update a validation rule you need a graphic designer to edit the scripts.

    What I am telling you is that is counterproductive (not to say more expensive) in a project where the graphic designer and the programming developer is not the same person.

    This is why it is a good idea to completely split the presentation logic from the application logic so graphic designers and programming developers do not have to interfere in each other work and the whole project develops much faster.
    Manuel Lemos

    Metastorage - Data object relational mapping layer generator
    PHP Classes - Free ready to use OOP components in PHP

  8. #58
    SitePoint Guru
    Join Date
    May 2003
    Location
    virginia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I feel bad for adding to the "off-topic-ness"... But in all of the years I've been doing web production work, I've never seen a real, working and practical situation where: the designer never touches "code" and the programmer never touches "design". I think that in the real world, both sides need (or should) know a little about both.

    Matt

    EDIT: of course for the design end of things, I'm talking about presentation logic (not application).

  9. #59
    SitePoint Enthusiast
    Join Date
    Dec 2004
    Location
    CA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is an excellent project, but where is the code. k-edge.com is down, maybe temporarily maybe permanently.

    If someone has the code and post it here or on a website, I would greatly appreciate.

    Thanks

  10. #60
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    naperville
    Posts
    189
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by firepages
    Thats cool , & I do not suggest that frameworks & OOP are of no value just perhaps oft-misused in the interpreted world of PHP, & in that vein

    ASP.NET in PHP is possible! ..

    begs the possible alternate suffix 'but why would you' (a view I hold for creating cloned JAVA libraries in PHP) , again no disrespect intended to the writers of such code , I just have to chuck in my 2c.

    Your code snippet is of interest as I have similar looking routines , the difference being that my version will output PHP/HTML (and supporting classes for common routines(paging etc)) to be uploaded and parsed instead of being used at runtime themselves , this of course can be messy (ok it is) and has several drawbacks , however absolutely none at the most important (IMO) time, runtime.


    big is not the issue , server-load & resource usage is the issue , optimizers and cacheing can mostly overcome this , if so then all is well ,though that would be more of interest to those with control over their hosting/hardware than the 'average' PHP user.

    Hopefully your code will be run millions of times for every time you have to code it , so I prefer to give execution preference in terms of performance.
    I have to agree as well -asp.net provides different functionality in many regards then PHP. If I wanted to use .net templates, I would use .NET - they are native, so theres a speed boost, and I can take advantage of all the asp.net functions.

    I use PHP templates - I think they're easier to use then any other of the php-template engine solutions. Learning the basic PHP structures only takes a few seconds - if, while, foreach. A lot of designers have basic PHP skills as well. THis makes PHP templates (html with basic PHP for looping and conditionals) particualrily useful since theres little to no learning curve.

    Theres a substantially higher learning curve using both the backend and the template-end of your system - this must be taken into account for production time.

    You mentioned theres a five month difference in production time between your engine and any others - I dont even see how this is possible. Given the same site, why would choice of engine make a 5 month difference? Would you please elaborate?

  11. #61
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    Norway
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by okanturk
    This is an excellent project, but where is the code. k-edge.com is down, maybe temporarily maybe permanently.

    If someone has the code and post it here or on a website, I would greatly appreciate.

    Thanks
    It has been down for a few months now, so it seems permanently.

    I have the code somewhere, but not at this computer.

    However, a similar project called Prado exists. It can be found here:
    http://www.xisc.com/

  12. #62
    SitePoint Enthusiast
    Join Date
    Dec 2004
    Location
    CA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Stream
    It has been down for a few months now, so it seems permanently.

    I have the code somewhere, but not at this computer.

    However, a similar project called Prado exists. It can be found here:
    http://www.xisc.com/
    Thanks a lot Stream, I would appreciate if you make that code available.

    What do you guys think about these type of projects and I wonder why these projects are not more popular. I know WACT is quite well known, but not popular enough imho.


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
  •