+MMS2 product.
[www.jankratochvil.net.git] / product / mms2 / Index.pm
diff --git a/product/mms2/Index.pm b/product/mms2/Index.pm
new file mode 100644 (file)
index 0000000..de809eb
--- /dev/null
@@ -0,0 +1,167 @@
+# $Id$
+# Main page of 'product::mms2'
+# Copyright (C) 2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+package product::mms2::Index;
+require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
+our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+our $CVS_ID=q$Id$;
+use strict;
+use warnings;
+
+use My::Web;
+
+
+our @ListItem=(
+               "name"=>"MMS2",
+               "priority"=>100,
+               "icon"=>"icon.jpeg",
+               "summary"=>"Alternative center for cheaper mobile phones multimedia messages (MMS)",
+               "description"=>sub { return <<"HERE"; },
+<p>You can use MMS messages for a price slightly higher than regular SMS
+message, depending on the GPRS data price plans of your country.
+Service is suitable to coexist with existing GSM networks MMS services.</p>
+<p><b>LOOKING FOR AGENTS:</b> Would you like revenue share of this service deployed
+even for your country? Do not miss the chance - @{[ a_href '/product/mms2/#agent','checkout more!' ]}</p>
+HERE
+               );
+
+sub handler
+{
+Wuse 'product::Lib';
+my $W=product::Lib->init(
+               "css_push"=>"/product/mms2/Index.css",
+               );
+
+my $ListItem=product::Lib->name_to_hashref("mms2");
+
+
+# <caption/> would get wrapped to the image width.
+print <<"HERE";
+<h1>@{[ product::Lib->title($ListItem) ]}</h1>
+
+<p>Currently supported client mobile phones of the country: <i>Czech Republic</i></p>
+<table border="0" class="margin-center td-center">
+       <tr><td>@{[
+               img 'web-screenshot256.png','www.mms2.org web link',
+                               "a_href"=>'http://www.mms2.org/'
+               ]}</td></tr>
+       <tr><td style="font-size: xx-large;">@{[ a_href 'http://www.mms2.org/','www.mms2.org web link' ]}</td></tr>
+</table>
+HERE
+
+print <<"HERE";
+<h2 id="agent">Revenue share from MMS in your country</h2>
+
+<p>This calculation is based on an assumption price for sending 1 MMS message
+(<b>MMS_price</b>) is constant. In some countries the MMS messages are exactly
+for the price of the GPRS data transfer itself - there definitely does not make
+any sense to deploy this custom MMS center called <b>MMS2</b>:</p>
+
+<table border="0" class="margin-center"><tr><td>
+       min(<b>SMS_price</b>, EUR <b>0.04</b>) + 20 * <b>1KB_GPRS_price</b> + <b>income</b>
+                       &lt; <b>MMS_price</b>
+</td></tr></table>
+
+<p>Each MMS transaction requires 1 notificating binary SMS and usually about 20
+KB of GPRS transferred data. Please note there is generally no possibility to
+use any free or cheap SMS gateways as they cannot pass arbitrary binary
+data. MMS transaction scheme:</p>
+
+@{[ centerimg "mms-xfer.svg","MMS Transaction" ]}
+
+<p>I am also interested in SMS prices valid for sending messages to the
+countries worldwide substantially below the currently available sending for the
+price EUR 0.04.</p>
+
+<p>Your deployment of <b>MMS2</b> will need to cover at least very detailed
+local price plans analysis, appropriate kind of service marketing and basic
+service deployment testing. Currently already covered countries:
+<i>Czech</i>,
+<i>Japan</i>.
+Do not hesitate to contact me: @{[ a_href 'mailto:mms2@jankratochvil.net' ]}</p>
+
+<p>Do you consider MMS dead? The service really did not reach the expectation
+but it is usually caused at least by its current exaggerated prices trying to
+cover its expensive development. With the proper international cooperation and
+this service framework with low investition costs it may undercut even the
+prices of your local <b>SMS</b> prices! Currently it already can equal the MMS
+price to the usual SMS price due to different available SMS service prices.</p>
+
+
+<h2>Any disadvantages?</h2>
+
+<p>The cooperation with existing MMS center is the major problem although it
+should be acceptably resolved for the target customers of this alternative
+center <b>MMS2</b>. It cannot be deployed with official MMS centers
+interconnecting contract with existing operators as the fees for MMS
+termination in the 'legacy' MMS center would inhibit any competitive prices of
+the MMS service itself offered by this alternative center <b>MMS2</b>. It may
+be different in your country, though - check yourself, please</p>
+
+<p>Currently deployed service is based on:</p>
+
+<table border="1" class="delivery-method">
+       <tr>
+               <th>Originating Mobile</th>
+               <th style="font-weight: bold;">&mdash;&gt;</th>
+               <th>Recipient Mobile</th>
+               <th>Develivery Method</th>
+       </tr>
+       <tr id="a_table">
+               <td>Legacy operator's center</td>
+               <td class="sign">&mdash;&gt;</td>
+               <td>Legacy operator's center</td>
+               <td>(legacy, not <b>MMS2</b> related)</td>
+       </tr>
+       <tr id="b_table">
+               <td><b>MMS2</b> service</td>
+               <td class="sign">&mdash;&gt;</td>
+               <td>Legacy operator's center</td>
+               <td><b>MMS2</b> initiated WAP-Push</td>
+       </tr>
+       <tr id="c_table">
+               <td>Legacy operator's center</td>
+               <td class="sign">&mdash;&gt;</td>
+               <td><b>MMS2</b> service</td>
+               <td><b>operator</b> initiated text SMS</td>
+       </tr>
+       <tr id="d_table">
+               <td><b>MMS2</b> service</td>
+               <td class="sign">&mdash;&gt;</td>
+               <td><b>MMS2</b> service</td>
+               <td><b>MMS2</b> native MMSE delivery</td>
+       </tr>
+</table>
+
+<p>WAP-Push type delivery for non-<b>MMS2</b> recipients includes information
+on subscribing the cheaper <b>MMS2</b> provider thus the friends really wanting
+to save on MMS messages cost will all move to the alternative <b>MMS2</b>
+services while utilizing the standard (MMSE) native MMS messages delivery.</p>
+
+<p>In the case the customer is already subscribed to the alternative
+<b>MMS2</b> center and it is sent MMS message via the legacy operator's MMS
+center it will get delivered generally only as text SMS message with web pickup
+instructions. This is the only serious drawback of this <b>MMS2</b>
+services.</p>
+
+HERE
+
+
+exit;
+}
+1;