Software Development

Developing with OpenSource and Microsoft Technologies

PHP SDK for Windows Azure

leave a comment »

As part of Microsoft’s commitment to Interoperability, this open source project is an effort bridge PHP developers to Windows Azure. PHPAzure is an open source project to provide software development kit for Windows Azure and Windows Azure Storage – Blobs, Tables & Queues

  • Overview
    • Enables PHP developers to take advantage of the Microsoft Cloud Services Platform  – Windows Azure.  
    • Provides consistent programming model for Windows Azure Storage (Blobs, Tables & Queues)
  • Features
    • PHP classes for Windows Azure Blobs, Tables & Queues (for CRUD operations)
    • Helper Classes for HTTP transport, AuthN/AuthZ, REST & Error Management
    • Manageability, Instrumentation & Logging support
    • Support for storing PHP sessions in Azure Table Storage.
    Logical architecture

    PHP SDK for Windows Azure provides access to Windows Azure’s storage, computation and management interfaces by abstracting the REST/XML interface Windows Azure provides into a simple PHP API.

            phpAzure
             
            Deployment scenarios

            An application built using PHP SDK for Windows Azure can access Windows Azure’s features, no matter if it is hosted on the Windows Azure platform or on an in-premise web server.

            deployment_scenario

             

            Download it from http://phpazure.codeplex.com/

            Written by mredison

            August 20, 2009 at 10:46 pm

            Posted in PHP, Windows Azure

            Bing continues to gain ground against Google

            leave a comment »

            Working together in online search, Microsoft and Yahoo are betting that they can pose a more serious threat to Google in the most lucrative part of the Internet advertising market.

            Microsoft’s search engine — renamed Bing as part of a June overhaul — ended July with a 8.9 percent share in the United States, up from 8.4 percent in the previous month, according to comScore Inc. Just before Bing’s debut, Microsoft’s search market share stood at 8 percent.

            Google retained a commanding U.S. lead at 64.7 percent through July, down from 65 percent in June, comScore said. Yahoo’s market share dipped to 19.3 percent in July from 19.6 percent in June.

            Well, in my opinion this is really a battle, you can check the search results and compare between these giants

            http://www.bing-vs-google.com/

            Written by mredison

            August 18, 2009 at 4:06 am

            Posted in Bing, Google, Microsoft

            Microsoft , PHP, and Open Source: A Pragmatic Alliance

            with one comment

            Microsoft has recently intensified its investment in interoperability with open source
            technologies in a variety of ways, not least of which is its support of PHP in Windows
            Server, the SQL Server database system, and other products such as the Expression
            Web development tool. While Microsoft’s efforts are motivated by the desire to break
            adoption barriers for its Windows platform, the company is building bridges to the
            world of open source in a way that many of its customers and partners welcome.

            Scripting languages such as Unix shells as well as the sophisticated Perl played an important role in the early evolution of the Internet, but a much simpler alternative, called PHP, eventually came to rule the genre as the key glue that binds many of the Internet’s new applications.

            Microsoft was able to offer an alternative architecture from the early days with its Active Server Pages (ASP) technology, which later evolved to the more flexible and more complex ASP.NET. However, .NET is officially
            supported only on Windows, and a great deal of the world’s Web serving runs on Linux and Unix, where PHP has become the de facto alternative. It was thus only a matter of time before Microsoft cast a bigger net to better support PHP and other open source technologies. The research into Microsoft’s efforts in this area has
            revealed the following:

            • The latest release of Internet Information Services (IIS7) runs PHP faster and
              with more scale due to the implementation of a FastCGI gateway. This feature is
              also available as an add-on on IIS6.
            • A new Microsoft SQL Server driver for PHP is available to support more native
              features in the SQL Server database and to increase overall performance and
              reliability of PHP applications wishing to use SQL Server as the database.
            • PHP is competently supported by Expression Web 3, one of Microsoft’s offerings
              targeted at Web designers and developers.
            • Microsoft has begun to contribute to open source projects and to expand its
              ecosystem to open source communities that want to use non-Microsoft tools and
              frameworks that interoperate with the Microsoft Web platform.
            • Microsoft’s main play into cloud services with its Azure operating

            What else have done Microsoft to interoperate with Open Source Technologies??

            Written by mredison

            August 6, 2009 at 3:25 am

            Posted in Microsoft, Open Source

            How to install JDK in Linux

            leave a comment »

            A classmate has told me that he had problems installing JDK in Linux, we just need to install them in the right way, these are the steps:

            1.- Create a folder in your system, and then enter into a terminal.

            [edison@localhost ~]$ su 
            Password: 
            [root@localhost edison]# cd /home 
            [root@localhost home]# cd edison 
            [root@localhost edison]# cd Java

             

            Download JDK 6 and put it inside the folder you have created.

            [root@localhost JAVA]# chmod +x jdk-6u14-linux-i586.bin 
            [root@localhost JAVA]# ./jdk-6u14-linux-i586.bin
            
            [root@localhost JAVA]# JAVA_HOME="/home/edison/JAVA/jdk1.6.0_14" 
            [root@localhost JAVA]# PATH=${PATH}:jdk1.6.0_14/bin
            

             

            If we put the java –version command to verify wheter we have done it fine.

            [root@localhost JAVA]# java –version

            Result:

            java version "1.6.0_14"

            Java(TM) SE Runtime Environment (build 1.6.0_14-b08)

            Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)

            We can also use to verify.

            root@localhost JAVA]# javac

            🙂

            Written by mredison

            August 2, 2009 at 1:44 pm

            Posted in Linux

            How to show a XML File in Java

            leave a comment »

            It’s very simple, we need to use a Transformer object, that can transform a source tree into a result tree. And XML Parsers to process the XML document.

            package javasample_01;
            
            import java.io.*;
            import javax.xml.parsers.*;
            import org.w3c.dom.*;
            import org.xml.sax.*;
            import javax.xml.transform.*;
            import javax.xml.transform.dom.DOMSource;
            import javax.xml.transform.stream.StreamResult;
            
            public class Main {
            
             /**
             * https://opensw.wordpress.com Mredison@2009
             */
             public static void main(String[] args) throws IOException{
            
             BufferedReader _bf = new BufferedReader(new InputStreamReader(System.in));
             // System.out.print("Nombre del XML: ");
             // String _archivoXML = _bf.readLine();
             String _archivoXML = "Empleados.xml";
             File _archivo = new File(_archivoXML);
            
             //Si el archivo existe
             if(_archivo.exists()){
            
             try{
             DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
             // Usar el factory para crear un constructor
             DocumentBuilder _constructor = factory.newDocumentBuilder();
             Document doc = _constructor.parse(_archivoXML);
            
             Transformer _transformer = TransformerFactory.newInstance().newTransformer();
             _transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "systmId");
            
             Source _recurso = new DOMSource(doc);
             Result _resultado = new StreamResult(System.out);
             _transformer.transform(_recurso, _resultado);
             System.out.println();
            
             }
             catch(SAXException e)
             {
             System.err.println(e.getMessage());
             }
             catch(TransformerConfigurationException e)
             {
             System.err.println(e.getMessage());
             }
             catch(ParserConfigurationException e)
             {
             System.err.println(e.getMessage());
             }
             catch(TransformerException e)
             {
             System.err.println(e.getMessage());
             }
             }
            
             else{
             System.out.print("Archivo No Encontrado");
             }
            
             }
            
            }
            
            

            javaAndXML_01

            Written by mredison

            July 27, 2009 at 6:08 am

            Posted in Java

            Microsoft Contributes Linux Drivers to Linux Community

            leave a comment »

             

            REDMOND, Wash., July 20, 2009 — Today, in a break from the ordinary, Microsoft released 20,000 lines of device driver code to the Linux community. The code, which includes three Linux device drivers, has been submitted to the Linux kernel community for inclusion in the Linux tree. The drivers will be available to the Linux community and customers alike, and will enhance the performance of the Linux operating system when virtualized on Windows Server 2008 Hyper-V or Windows Server 2008 R2 Hyper-V.

            microsoftandlinux 

            Today we’re releasing Linux device driver code to the Linux kernel community. This is a significant milestone because it’s the first time we’ve released code directly to the Linux community. Additionally significant is that we are releasing the code under the GPLv2 license, which is the Linux community’s preferred license.”

            What motivated Microsoft to do this? …

            Read the Complete News

            Written by mredison

            July 27, 2009 at 4:49 am

            Posted in Linux, Microsoft

            A real software development process

            leave a comment »

             

            Click to expand it.software_development

            How we can chance this process? . Any Comments?

            Written by mredison

            July 26, 2009 at 3:12 pm