|
|
 |
Re: FN-FORUM: .Net Form Posting - Vaguely OT
date posted 25th February 2008 17:34
Alex Townsend wrote:
>
> Phillip Healey wrote:
>>> Can you put the paypal buttons outside the main form? Do they need
>>> to be alongside other input controls or could you keep the main form
>>> small to store the viewstate and whatever other transient data and
>>> then put the buttons outside of that?
>>>
>>
>> Not really. Im storing the cart items as cookies then retrieving them
>> as a
>> page displaying the cart contents. Then adding information such as
>> delivery
>> details. So this all need verification when the submit button is
>> clicked.
>>
>> If this delivery info passes verification, i want to submit the
>> contents of
>> the cart (cookies) as a form to Paypal, using a form which allows you
>> to add
>> multiple items and display them as a full cart inventory on the paypal
>> invoicing page.
>>
>> Thus there is a cross-over between my code and the Paypal code / forms.
>>
>> So it would seem i need to programmatically add the Paypal form.
>> Somehow!????????
>>
>>
> This is *not* intended to start another .NET vs PHP thing - but it
> does go some way to displaying why I really don't want to work with
> .NET if possible.
>
> As Phil says, this is something that should be easy and yet (it seems
> to be) that it's being made exponentially harder *by* .NET. Or am I
> missing the point here? The entire thing of making the entire page a
> form, and not being able to handle multiple forms seems (again, to me)
> to be just a massive clusterf**k.
>
> I think I'll stick with PHP for a while yet. :-)
>
It's like any platform, once you understand the way of working that
works in alignment with the design of the platform it's pretty easy to
work with. If you don't it's hard. Asp.net has one very flexible form
rather than lots of inflexible ones - lets face it your users are only
ever going to work with one form per page at a time anyways. Mostly it's
pretty convenient, sometimes it's a bit awkward, but there are some
solid re-use advantages to a bunch of the stuff it does and it works
around the whole page state thing very nicely.
I'm not overly enamoured with it, although I have loads of experience
with the platform, but if you understand it well enough it's certainly
the equal of any other web plaform. Except Rails, obviously, that has no
equals- only imitators :-D
-ben
-ben
|
 |
|