Slashdot Mirror


Miguel de Icaza Debates Avalon with an Avalon Designer

Karma Sucks writes "In an interesting debate with a Microsoft employee, Miguel points out some crucial flaws in Microsoft's Avalon strategy. Perhaps the most shocking revelation is the absolutely horrendous inheritence hierarchy exposed by the Avalon API. Miguel himself is clearly not amused, saying 'We do not want to waste our time with dead-end APIs as we are vastly under-resourced, so we must choose carefully.'"

10 of 419 comments (clear)

  1. first postage! by Anonymous Coward · · Score: -1, Offtopic

    here comes timbuktoo!

    1. Re:first postage! by Anonymous Coward · · Score: -1, Offtopic

      Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.

      Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.Microsoft should follow the lead of the FGOSS community and just ignor that Spanish airhead and GNOME-ruiner.

      Welcome
      lter encountered.
      Your comment violated the "postercomment" compression filter. Try less whitespace and/or less repetition. Comment aborted.
      ur comment violated the "postercomment" compression filter. Try le Welcome to Slashdot

      Please provide feedback below:

      7 Name:

      Email:

      Comment:

      Note the action element of the tag points to form.py/email. We are going to create a file called form.py, like this:

      import smtplib

      WEBMASTER = "webmaster" # webmaster e-mail
      SMTP_SERVER = "localhost" # your SMTP server

      def email(req, name, email, comment):

      # make sure the user provided all the parameters
      if not (name and email and comment):
      return "A required parameter is missing, \
      please go back and correct the error"

      # create the message text
      msg = """\
      From: %s
      Subject: feedback
      To: %s

      I have the following comment:

      %s

      Thank You,

      %s

      """ % (email, WEBMASTER, comment, name)

      # send it out
      conn = smtplib.SMTP(SMTP_SERVER)
      conn.sendmail(email, [WEBMASTER], msg)
      conn.quit()

      # provide feedback to the user
      s = """\

      Dear %s,

      Thank You for your kind comments, we
      will get back to you shortly.

      """ % name

      return s

      When the user clicks the Submit button, the publisher handler will load the email function in the form module, passing it the form fields as keyword arguments. It will also pass the request object as req.

      Note that you do not have to have req as one of the arguments if you do not need it. The publisher handler is smart enough to pass your function only those arguments that it will accept.

      The data is sent back to the browser via the return value of the function.

      Even though the Publisher handler simplifies mod_python programming a great deal, all the power of mod_python is still available to this program, since it has access to the request object. You can do all the same things you can do with a ``native'' mod_python handler, e.g. set custom headers via req.headers_out, return errors by raising apache.SERVER_ERROR exceptions, write or read directly to and from the client via req.write() and req.read(), etc.

      Read Section 6.1 Publisher Handler for more information on the publisher handler.

      Previous Page Up One Level Next Page Mod_python Manual Contents Index
      Previous: 3. Tutorial Up: 3. Tutorial Next: 3.2 Quick Overview of Release 3.1.3, documentation updated on February 17, 2004. t aborted.

  2. move along nothign to see here? by n08ody · · Score: -1, Offtopic

    been trying to read more for a few minutes. first time i see that mesg instead of the story.

  3. first by Anonymous Coward · · Score: -1, Offtopic

    post

  4. PLEASE STOP WITH THE SENSELESS LINKS ALREADY by null+etc. · · Score: -1, Offtopic

    This is a call to arm, sent out to all sensible /.ers. PLEASE, DO NOT embed senseless links within your story submission. It goes against the ethics of every data purist out there to have to mouse over words like "interesting" and "debate", carefully examining the status bar URL, to find out WTF that link points to. Enough already.

  5. I hereby announce... by sploo22 · · Score: -1, Offtopic

    In the finest tradition of Slashdot...

    PWN3D!

    --
    Karma: Segmentation fault (tried to dereference a null post)
  6. Re:Don't look a gift horse in the mouth by melgeroth · · Score: 0, Offtopic

    That's off topic.

  7. Re:Miquel de Icaza is a terrorist sympathizer... by Anonymous Coward · · Score: 0, Offtopic

    When I first read this I said "huh" but then I see that Miquel De Icaza supports the Palestinean intifada, including all its violence. He has a link on his website to pro-intifada web sites.

  8. Re:Miquel de Icaza is a terrorist sympathizer... by easter1916 · · Score: -1, Offtopic

    One could say the same about anyone who supports any group involved in conflict, including those who "support our troops".

  9. PDF like? by Da+VinMan · · Score: 0, Offtopic

    I don't know anything about Quartz, so this has piqued my curiosity. By "PDF-like", do you mean to say that Quartz is based on Postscript? And it's fast???

    Now, THAT would be a thing to behold.

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!