Swapping between client database and web database

Hi i have completed tutorials etc so can now create the
sqlite database for my application which is downloaded by the user
and will run on thier desktop so i am calling it the "client
database" which contains data they are working with but there is
another database containing identical tables which i am calling the
"global database" the idea of this is to transfer data between the
different clients and backup that information.
so i am looking for a tutorial or a sample app where the app
takes information from a web based database and copy's that rob
into a sqlite database on the clients machine?
this is the main problem im having and seen people mentioning
blaze DS and stuff like that, ideally i wouldn't like to use PHP
but atm is looking like i may have to.
i will sell my soul to anyone who can help with this lol
(also i am using FLEX 3.0)

Hi,
Yes, if you use LCDS everything is there already for you, so
that you can complete this application in very less time. Since you
want to use PHP, you can use Zend PHP, which will support Remoting
using AMF. Using Zend PHP, write PHP classes which will help you to
synchronize data between server and client and just invoke those
from your Flex application when required.
Hope this helps.

Similar Messages

  • How can i make a connection between an application and a database over net

    dear sir
    how can i make connection between an appliction and a database over internet while the client side appliction is behind proxy and firewall
    for example how the live update of norton antivirus makes connection to the data server to make comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

    The ability to do so depends entirely on the JDBC driver implementation having some proxy method. It needs to recognize the HTTP or SOCKS proxy and use them to connect, and the firewall and proxy need to allow those specific port connections.
    To the best of my knowledge, all of these update utilities, e.g. live update for Netscape, Norton, etc., do not connect directly to the database. As it is, no sane security person would allow a database to be exposed to the Net. Rather, they connect using HTTP or HTTPS, which normally traverses firewalls just fine, to connect to a Web or application server on the far end. That application server then parses the request and retrieves whatever it needs to from the database.
    In other words, you cannot have a 2-tier client/server application. You need a 3-tier application:
    your client -> Web/app server -> database
    where the connection from your client to the Web/app server is over http or https through the firewall and proxies.
    Hope this helps.
    Avi
    dear sir
    how can i make connection between an appliction and a
    database over internet while the client side
    appliction is behind proxy and firewall
    for example how the live update of norton antivirus
    makes connection to the data server to make
    comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

  • COMPLEX PARTITIONING between an EXCEL and a DATABASE (Datasource)

    I want to make a complex partitioning between an excel and a Database.
    *In the Excel File :
    - I have the Data summarized at Month Level,
    -Time sales is between 1993 UNTIL 1996.
    *In the Database:
    -I have my DB Source at Day Level .
    -Time sales is between 1993 until NOW.
    In the BMM:
    -In my Database's SALES LOGICAL TABLE SOURCE Content:
    I put in WHERE SECTION :
    " CAST ( EXTRACT( YEAR FROM TRANSACCIONAL."".OLTP.ORDER_HEADER.ORDERED_DATE) AS INTEGER ) > 1996"
    To constraint the data from 1996 until NOW.
    -And I specify at the level content:
    To SALES LOGICAL TABLE SOURCE EXCEL FILE: MONTH DAY LEVEL
    To SALES LOGICAL TABLE SOURCE DB : DAY LEVEL
    I want to make a COMPLEX PARTITIONING(Value-Based and Level-Based).
    When I try to make the query:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14023] None of the fact sources for Times.Calendar_year_cal_year_code are compatible with the detail filter []. (HY000)
    SQL Issued: SELECT Times.Calendar_year_cal_year_code saw_0, Sales.Amount_sold saw_1 FROM "Sales BI DataMart" ORDER BY saw_0
    Can any1 help me?
    Thanks in advance..

    Hi,
    Actually value based partitioning works fine on the data sources which are stored on RDBMS. I haven't try it with a excel source. There is a detailed description in the link below.
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    Hope this helps,
    Cheers.
    Cuneyt

  • Data sync between on-premise and azure database

    HI, I am not able to setup data sync between my on-premise database and azure database. Following is the error I am getting after it ran for almost 36 hours...
    Sync failed with the exception "GetStatus failed with exception:Sync worker failed, checked by GetStatus method. Failure details:An unexpected error occurred when applying batch file C:\Resources\directory\4c6dc848db5a4ae88265ee5aa1d44f40.NTierSyncServiceWorkerRole.LS1\DSS_7b1d73b4-d125-466f-94ab-eaa4553ea0ae\ed19f805-3d50-466a-96b3-861c4f22d8a4.batch.
    See the inner exception for more details.Inner exception: Failed to execute the command 'UpdateCommand' for table 'dbo.Transactions'; the transaction was rolled back. Ensure that the command syntax is correct.Inner exception: SqlException Error Code: -2146232060
    - SqlError Number:10054, Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) "    For more information,
    provide tracing ID ‘e6a1fad1-f995-4ffe-85db-0c6dc02423f1’ to customer support.

    Hi, sorry it has been a long time since your last post. Are you still using SQL Data Sync and hitting any issue which we could help with?
    Linda

  • Replicating data between oracle9i(source) and 10g database

    sucessfully replicated data between source and target in 10g
    Now I have to replicate the data between oracle9i(source) and 10g database(Target) please help me to solve this issue

    sucessfully replicated data between source and target in 10g What sort of Replication you talking about ? Is it Object level , Schema level or DB Level ?
    Now I have to replicate the data between oracle9i(source) and 10g database (Target) please help me to solve this issue
    http://www.freelists.org/archives/oracle-l/08-2005/msg01260.html
    Hare Krishna
    Alok

  • Replicating data between oracle9i(source) and 10g database(Target)

    sucessfully replicated data between source and target in 10g
    Now I have to replicate the data between oracle9i(source) and 10g database(Target)
    please help me to solve this issue

    sucessfully replicated data between source and target in 10g What sort of Replication you talking about ? Is it Object level , Schema level or DB Level ?
    Now I have to replicate the data between oracle9i(source) and 10g database (Target) please help me to solve this issue
    http://www.freelists.org/archives/oracle-l/08-2005/msg01260.html
    Hare Krishna
    Alok

  • Difference between Transaction database and relational database

    Whats the Difference between Transaction database and relational database ??

    'Transaction' refers to the usage of a database.  'Relational' refers to the way in which a given database stores data.
    A 'transaction database' (or operational database) could be relational, hierarchical, et al.  A transaction database supports business process flows and is typically an online, real-time system.  The way in which that data is stored is typically
    based on the application(s).  Companies often have multiple 'transaction databases'.
    An 'operational data store' (ODS) is an integrated view or compilation of transaction data.
    The you get into data warehouse databases, where the transaction data is optimized for querying, reporting, and analysis activities.

  • How to conncet mysql database and oracle database 11g2 on linux 5.4

    Hi,
    Can anyone help me to connect mysql server database to Oracle
    database on Linux OS?
    I have done all things, but I am getting a problem in installing dg4odbc
    driver on Oracle database. In a simple word, I don't know how to create
    listener between mysql database and Oracle database.
    If anyone knows that please help me in configuring dg4odbc for Oracle. OS
    -Linux 5.4 and refer any doc or link.
    oracle 11g2 11.2.0.1
    i follow the metalink id - 466228.1 ( but cant successed).
    Thanks and regards,
    pritesh ranjan

    hi pl z clear me it is required to install manully the dg4odbc driver for oracle to connect MySQL server database. because in my $ORACLE_HOME/hs/admin/initdg4odbc.ora is present automatically.
    details of the initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysql_odbc
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib/libmyodbc5w.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    set LD_LIBRARY_PATH=/usr/lib
    # Environment variables required for the non-Oracle system
    #set HOME=/home/oracle
    ~
    ~
    ~
    "initdg4odbc.ora" 20L, 437C
    details of the listener.ora file
    DG4ODBC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA=(SID=dg4odbc))
    (HS=OK)
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = ORCL)
    ADR_BASE_DG4ODBC = /u01/app/oracle
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pritesh11gprim.oracle.com)(PORT = 1521))
    ADR_BASE_ORCL = /u01/app/oracle
    "listener.ora" [readonly] 37L, 779C 35,0-1 85%
    details of tnsname.ora file
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    DG4ODBC =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=DG4ODBC))
    (HS=OK)
    MYSQL =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=MYSQL))
    (HS=OK)
    when i m going to start the listener it could not be started..
    details of the mysql server database
    [root@pritesh11gprim ~]# mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 2
    Server version: 5.6.10 MySQL Community Server (GPL)
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    mysql>
    mysql> show databases;
    | Database |
    | information_schema |
    | demo |
    | mysql |
    | performance_schema |
    | pritesh |
    | test |
    6 rows in set (0.01 sec)
    if any where i m wrong then plz suggest me......
    thanks & regards
    pritesh ranjan

  • Which difference parallel database and RAC database

    Hi Experts,
    I saw some document about parallel database and RAC database.
    My boss confused these two product.
    which difference between parallel database and RAC database?
    does parallel database is a "old RAC"?
    Thanks
    Jim

    RAC is the new name with many features for old depreciated Oracle Parallel Server (OPS).
    It was avialable till 8i, since 9i it is called RAC.
    Regards
    Edited by: skvaish1 on Mar 30, 2010 12:59 PM

  • What is the relation between adobe forms and web dynpro

    hi
    what is the relation between adobe forms and web dynpro

    Hi Jyothsna,
    Adobe forms are advanced to smartforms and scripts.
    Adobe forms are much easier than smartforms they are online forms.
    they can be developed online.
    Adobe forms : This is another SAP tool designed to create your own forms. The transaction for this is SFP.
    How to use them: You can create a sales order form in adobe form and send to the sales reps. Sales reps can fill this form when they are not connected to internet / SAP system. Once they connect to SAP just send an e-mail to a specific user id in outlook. You got to customize and code how do you want to process once you receive this form. This enables you to create orders even when you are not connected to the system. Hence no data loss. This is not how i used though :-). This is just my idea.
    What is the difference between Adobe forms and smart forms / scripts.
    Smart forms / scripts are used to show the data in SAP. Most likely you will use these to print / display some kind of reciepts / forms. Many companies must be using this for hard copies / ALE / EDI or to transfer data from SAP to others.
    Adobe forms are used to post data into SAP from SAP too.  So this has an additional feature compared to smartforms.
    Please check this link
    http://www.erpgenie.com/index.php?option=com_content&task=view&id=600&Itemid=77
    Web dynpro in one of the component in NETWEAVER.
    Web Dynpro is the SAP NetWeaver programming model for user interfaces and provides support when developing the Web representation of business applications. The Web Dynpro model is based on the Model View Controller paradigm, and has the following features that build on the classic dynpro model:
    ·        Clear separation of business logic and display logic
    ·        Uniform metamodel for all types of user interfaces
    ·        Execution on a number of client platforms.
    ·        Extensive platform independence of interfaces
    please check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Best regards,
    raam

  • Create Temporary databases and Permanent databases

    Hi,
    How to configure or setup Temporary databases and Permanent databases ?
    Need separate steps to install or setup Temporary / Permanent databases
    Windows 2003 & 32 bit OS and 8 GB RAM
    In web site http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21633/comp.htm#CHDBEDHC
    it is said as it is configured with DSN (Data Source Name)
    but to how to setup Temporary databases and Permanent databases
    Note:Oracle database has not been installed,only Oracle TimesTen has been installed.
    Temporary databases are not stored to disk.
    Permanent databases are stored to disk automatically through a procedure called checkpointing.
    I need to keep the data in memory and need to pass the data to another server via replication or some other way.
    Thanks!

    Hi,
    You dont need to install something. You need to configure your DSN only.
    For creating Temporary database you should set up the Temporary DSN parameter (http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21633/using.htm#BCGJAJDI).
    If you want using Permanent database just uncheck Temporary DSN parameter.
    Temporary databases are not stored to disk. Permanent databases are stored to disk automatically through a procedure called checkpointing. No. TimesTen databases (Permanent and Temporary) store data in memory. It is the main purpose. Permanent db saves a copy of data on disk only for recovery purpose. Temporary db doesnt do it.
    regards,
    Gennady

  • Difference between client proxy and server proxy

    hi all,
    could u explain me the differences between client proxy and server proxy,
    regards,
    AVR

    Hi AV,
    simple search in sdn may answer your question,
    There are two type of Proxy's in ABAP and JAVA(Clinet and Server),
    Clinet ABAP proxy used to send message from ANY SAP System to Integration server,in this case XI adapter not required .
    Server ABAP proxy used to send messages from Intergration server to any SAP System,in this case XI Adapter required.
    How to implement ABAP proxy comunication refer below link
    http://wiki.sdn.sap.com/wiki/display/stage/ABAPproxyproviderimplementationand+testing
    The sama way Client JAVA proxy used to send message to Integration sever from any Web Application ,
    Server JAVA proxy used to send messages to any destination system ,in both cases XI adapter required.
    refer below link
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab&overridelayout=true
    Regards,
    Raj

  • Correlation between BI developer and Web Analyst?

    These days, I'm studying to become a business intelligence developer and today I'm reflecting If I need necessary knowledge as a web analyst.
    My question is.
    Is there a correlation between BI developer and web analyst If yes, should I also gain skills as a web analyst?

    Hi Sakura,
    The largest part of any analyst role is understanding the clients needs / business requirements and being able to help translate those requirements into functional specifications. The best analysts I have worked with are the ones that know the product
    and what it can do. In addition, we will see more business intelligence applications deliver or render results to the web enabled portals like SharePoint 2013.
    As a developer the more you understand a clients needs and are able to meet those needs either OOB, third party, or custom code the more valuable you will become in being able to know where the holes are and being able to fill them,
    -Ivan
    -Ivan

  • What is difference between Site template and web template

    What is difference between Site template and web template

    Both are almost same, are you referring to Site Definitions vs web template?, if so, refer to the following post
    http://blogs.msdn.com/b/vesku/archive/2011/07/22/site-definitions-vs-web-templates.aspx. 
    --Cheers

  • What's the difference between client combo and server combo? Also, what would happen if I install both?

    what's the difference between client combo and server combo? Also, what would happen if I install both?

    One is for the base version of the Mac OS, the other is for the Server version. You can only install the one that matches your system.

Maybe you are looking for

  • Dns for vpn server

    I would like to set up vpn connection with mac mini server, mountain lion. I am a beginner but could understand the most of the part but DNS address part. Can anyone tell me what address should I use for the DNS part? Well, is it even possible to set

  • Finder crashes when I try to open my external USB HDD

    Hello all. I have been experiencing issues with my external USB HDD (WD Passport) and my Macbook Pro (Summer 2012) for some time. It looks that the HDD shows up on the desktop when I connect it but when I try to open the My Passport icon on the deskt

  • BAPI for Scheduling Agreement

    any bapi for updating scheduling agreement ME38 txn i have checked bapi BAPI_AGREEMENT_MAINTAIN but how to maintatin schedulines over there

  • Multiselect values in "current values" on form load

    Hi, I have a multi select field for 30 roles in the form. Now, i want 28 roles to appear on the right hand side (current Roles) on form load and the rest 2 to appear under available Roles. How can i do this? Please let me know. Thanks,

  • Openbox randomly closes xterm windows

    I just installed arch on my desktop computer after using it on my laptop for a few months and decided to install openbox as my wm.  Unfortunately, I'm running into an extremely strange bug. When I open xterm from the openbox right-click menu, the win