Best APEX developing practices?

Hello,
I have a simple question - What are the best APEX developing practices in regards to developing workspaces ?
There are two ways to develop in APEX (when you create an application for internal use, of cause) :
One is to have a workspace per Application - Meaning that you have Developing, Test and Production Application in the same Workspace, and this Workspace would be reserved to one application only. The advantage of this approach is that it is easy to move ready pages (or even the whole application) from Developing to Production - You can simply copy ready pages from one application to another.
The other one is to have a Workspace per Environment - Meaning that you have all your Production applications in one Workspace and all the Development application in another Workspace. In this case, when you have to move a page to Production, you have to export it, and import it to another Workspace. The advantage of this approach is security - you don't work in production...
So I wanted to ask APEX gurus - What is your opinion on that? Are there any Oracle standards for developing in APEX? What is your best working experience in regards to developing applications in APEX, etc..??
Thank you!

Hi Sloger
Keep it simple DEV, TEST and PROD are on separate database instances, preferably on separate servers.
If you only have one box, then develop your app on your PC using XE.
You can have the same workspace id on multiple databases, allowing you to promote between databases easily using SQL*Plus.
As far as on app per workspace, that's entirely up to you.
Multiple applications in a single workspace work very well - after all this is how the APEX team builds the Application Builder.
Regards
Mark
demo: http://apex.oracle.com/pls/otn/f?p=200801 |
blog: http://oracleinsights.blogspot.com |
book: https://www.packtpub.com/oracle-application-express-4-0-with-ext-js/book

Similar Messages

  • Best GUI development practices.

    Hello,
    I have been playing around with Swing components and designing smaller projects. Recently, I started working on a fantasy football manager program. I sent it to a friend, and he runs a different resolution than I do. Many of my buttons and things weren't showing up on his screen. This is not what I was expecting.
    How do I manage to keep everything looking right no matter what the resolution? I want my components to be laid out the same way on a 800x600 screen as on a 1920x1080 screen. I want to be able to see all of the components. I want the components to shrink, stay-readable, and fit on the screen.
    My idea so far is to take in the users resolution in the beginning and then adjust all of the components sizes and positions to a percentage of the available resolution.
    Am I going at this wrong? Is this already somehow implemented and I'm just missing it?

    supermancc0386 wrote:
    My idea so far is to take in the users resolution in the beginning and then adjust all of the components sizes and positions to a percentage of the available resolution.
    Am I going at this wrong? Is this already somehow implemented and I'm just missing it?Yes, you're going about it wrong. Read this: [Using Layout Managers|http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html]. You should never manually assign sizes and locations for components, for the reasons you've already witnessed, plus more (e.g. localization, though that may not be a concern for our particular case).
    Anyway, the learning curve for layout managers is pretty steep, but it's well worth the effort. Then your GUI will look right no matter how the user resizes the window. You can also post here with questions when you're having trouble with a particular layout (being sure to include an SSCCE).
    Good luck!

  • Online place for EP Development Practice

    Hi All,
    Is there any Online place for EP Development Practice?
    Regards,
    Ganga

    Hi Ganga,
    The best option would be to download the [Trial version |http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/50c58b14-da6d-2a10-ca94-a3c0937828d6] and start exploring the Portal features. You can also go through the [help|help.sap.com] and lots of other training materials/ articles available on SDN
    @Prasanna,
    RAC is meant for ISVs and I don't think it is for individiuals to evaluate any ECC or Netweaver component.
    Regards,
    Nikhil

  • SQL Injection threat with APEX developed applications

    We are using a tool, HP WebInspect, to scan some of our APEX developed applications for web application security testing and assessment. We are getting some critical and high vulnerabilities identified (see below) and would like to know if someone else has encoutered these and to determine a solution, whether it be a setting/settings within APEX or is it more related to the application and the way it was developed.
    Critical:
    Possible SQL Injection
    File Names: • https://xxx.edu:443/pls/apex/f?p=4550:1:36080644498857::NO:4::&success_msg=If+7
    77-777-1911form%40value777.com+exists+in+our+records'+OR%2cwe+will+send+the+workspace+name
    s+associated+with+this+email+address.+If+you+are+having+problems+receiving+the+workspace+name
    s%2cplease+contact+your+administrator.%2fC34A0EF5494AB92C95AA4D0F7BF52332%2f
    • https://busaff-test.utdallas.edu:443/pls/apex/f?p=4550:1:36080644498857::NO:4::&success_msg=If+7
    77-777-1911form%40value777.com+exists+in+our+records%2cwe%2bwill%2bsend%2bthe%2bworkspace
    %2bnames%2bassociated%2bwith%2bthis%2bemail%2baddress.%2bIf%2byou%2bare%2bhaving%2bprob
    lems%2breceiving%2bthe%2bworkspace%2bnames'%2bOR%2cplease+contact+your+administrator.%2fC3
    4A0EF5494AB92C95AA4D0F7BF52332%2f
    High:
    Possible Username or Password Disclosure
    File Names: • https://xxx.edu:443/pls/apex/f?p=104:101:1328157658320206:&notification_msg=Invali
    d%20Login%20Credentials/156F2A38AC41E25732821ABED8AA98B6/
    • https://xxx.edu:443/pls/apex/f?p=104:101:2360963243212364&notification_msg=Invali
    d%20Login%20Credentials/156F2A38AC41E25732821ABED8AA98B6/

    You can help us by telling us your first name, putting it into your profile, and by selecting a friendlier handle.
    The details you showed indicate no SQL injection possibilites whatsoever. The "Critical" examples also are unrelated to Application Express applications that you may have developed (application 4550 is the login application for the product itself and should rarely be used by end users in production environments).
    Scott

  • Which PL/SQL developer tool is best to develop the PL/SQL program?

    Hi, all, who know which PL/SQL developer tool is best to develop the PL/SQL program? it is jdeveloper or designer or third party developer tool? please let me know, Thanks!

    To be honest , I have been using only Notepad or
    a simple Textpad ..to this date.
    While these tools may be of help in indenting and beautification of code, I feel you lose your debugging skills and forget the SQL-PL/SQL syntax with them.
    Cheers
    Ashwin N.

  • Web Service Best and Worst Practices within Oracle SOA Suite

    Hi All,
    Has anybody got a single document that concisely details the best and worst practices around the design of web services for oracle SOA and BPEL.
    I'm interested the following aspects
    1. Level of Granularity
    2. Level of Reuse
    3. BPEL orchestration. numbers of BPEL process vs services
    4. Transport choices...SOAP vs REST vs Big Services etc
    5. Activity Monitoring with BAM
    6. Future proofing of signatures and ongoing maintenance and process change
    I'm constructing a document myself to share on this forum, but i'd be very interested to use the wisdom of others if somebody has done this before...
    Thanks in advance :)

    This is a question best answered by your Oracle reseller or Oracle account manager to give you all the details but I hope this brief answer helps:
    - The Unified Business Process Management Suite (BPM Suite 11g) includes: BPM Studio, BPM Composer, BPMN Service Engine and Workflow Extensions, BPM Process Spaces, and BPM Process Analytics.
    - BPM Suite 11g requires the licensing of SOA Suite 11g for Oracle Middleware which requires a license for WebLogic Suite.
    - You can license SOA Suite 11g now and license BPM Suite 11g later.
    Since the products are layered, I don't see this cutting into SOA sales at all. My personal view is that BPM on top of SOA is brilliant since it provides easy integration between human and automated tasks, builds on many of the SOA concepts that are key for a successful BPM implementation (functional, not the Oracle product), and uses the same IDE. The synergies extend past easy use of services; the same business rules and human workflow components are used between both products.

  • Can Active Directory authenticate to the APEX development environment

    Greetings,
    Environment:
    Apex Version 4.0.2
    Database Version: 11.2.0.1
    Weblogic 10.3.3
    Apex Listener
    Is it possible to use Active Directory to authenticate access to the APEX development environment? I have all individual application using Active Directory authentication, but I can’t find a way to incorporate Active Directory to access the development environment.
    Thanks
    Larry

    Larry,
    no, you cannot change the way the APEX Application Builder authenticates its users.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Which tool is the best to develop stored procedure?

    Hello everyone,
    which tool is the best to develop and debug stored procedure in oracle9i/10g?
    Thanks

    > Now i am using sqlplus to develop procedures. But I can not debug them.
    How do you debug??
    Bad programmers tend to need and use a debugger a lot.
    I learned to program back when you were only allowed 3 compiles and link due to mainframe CPU costs. The 3rd build was the production one. If you could not cut it, you could not become a Programmer. (back then it still carried a lot of meaning and yes, people spoke of Programmers using capitals)
    If you need to debug your code regularly, then you have a more serious problem. A problem of not writing PROPER MODULARISED code. A problem of not tackling programming problems LOGICALLY - by reducing the complex problem into a set of smaller problems and solving each of those in turn.
    Having to trace code step by step, insert break points, and all that... Debugging must be an exception. If it is not, you must seriously consider your programming techniques and better your design skills. Get back to programming 101 fundamentals.

  • Competition for the best apex-site ?

    Hi,
    can a competition be started for the best apex-site ?
    choosen by visitors of this forum.
    once a year (for example).
    Leo

    You can also check out AppsHosting's hosted ApEx environment. Developers can sign up for a free account in a secure ApEx 3.0 environment hosted by AppsHosting.

  • APEX - developing an iSQL replacement.

    Hey Guys,
    I'm currently looking for a piece of software which allows to perfrom some free SQL's over http (like iSQL did some time ago).
    Because it seems, that there's nothing available on market, we wan't to try it with APEX.
    APEX itself delivers the "SQL Commands" application within the "SQL Workshop", which would be more than sufficient.
    Unfortuanelly this isn't a app which can be used by any user, authenticating before using it. It seems that's only usable by APEX developer and admins,
    not by anyone who's owning an database account.
    My general question: Do you think it is possible to develop an own application which provides an similar funtionality?
    And if yes: do you maybe have some initial hints for me how to accomplish?
    Google and co. doesn't help, I'm also doesn't relly know what to search there...
    Many, many thanks in advance,
    Mirko

    Hi Peter,
    thanks for the hint. Ive already done this. Result: The schema which is related to the workspace lacks a lot of privileges to run this application.
    With some efforts I got it, but know this workspace has for example "execute all procedures" privs (like FLOWS_%), what's not acceptable.
    The code isn't really helpful. I'm completely new to APEX until yesterday, and misses many basics like "what is a region"..
    But you are also of the oppinion, that it may or most likely would work and we should keep moving this way?
    Hi Ben,
    we are aware of this and we are also unhappy with this, but it's an unavoidable customer request.
    The login to APEX should be done with the database accounts. In other words: only some select privs should left.
    That must be ensured by the (to me unknown) APEX authentication mechanism.
    Hi all,
    do you know any other possibilities or ready APEX applications, which can be used for this?
    Thanks all of you,
    Mirko

  • ApEx Development Team: tab clear cache - new feature?

    Hi ApEx Development Team!
    I searched the forum and found, that many have (had) the same problem like me:
    Why isn't it possible to clear the cache by clicking on a tab? Why is it only possible for parent tabs?
    Wouldn't it be a nice feature for the next version of ApEx? This feature exists already, only not for the standard tabs...
    Regards,
    Sofie

    taepodong wrote:
    Apologies to dig up old thread but I ran into this problem and thought I'd share my solution as well (for search engine)There is no point in doing this. There are thousands of threads in this forum that are unanswered, or contain solutions that are suboptimal or that have been superseded. They can't all be updated "for search engine"...
    1) Edit the tab property where you want your page's cached removed. In My case it I had a tab pointing to page 6 and I needed page 6's cache cleared when I clicked on it.
    2) Edit the condition for the tab deisplay --> Function returning boolean.
    3) In the function body put the following code:
    begin
    if :APP_PAGE_ID != 6 THEN
    apex_application.clear_page_cache(6);
    END IF;
    RETURN TRUE;
    end; The expression will always evaluate to true, and will clear cache from page 6 if clicked from any other page that is not page 6.
    However if you want to apply condition to the page as well. (say and admin page based on :APP_USER property) then wrap the return true in another If-statement as well.I subscribe to the old-school idea that state-changing side-effects in functions are evil. Using Condition code in this unexpected way will make an application much harder to debug and maintain. If I came across this in an application I was working on I'd refactor it.
    Scott posted the correct way to do this above (post of 26-Mar-2008 23:00&mdash;not marked as helpful/correct as this was before the forum had this feature): Clear cache using an On-Submit Application Process that is conditional on the <tt>:REQUEST</tt> value set by the relevant tab(s).

  • Future prospectus of APEX  Developer

    HI All,
    Since 6 months i have been working as an APEX developer(SQL and PL/SQL)
    and i'm planning to learn DBA
    I'm bit confused to take my carrier with APEX development .
    Could any one help me with this..
    My questions are as shown below
    1)What is the demand in the market comparatively DBA and other Developers.
    2)how can i grow competitively in this field.
    Kindly help me with this.
    Based on your opinions i ll be taking the next step.
    Edited by: Basva on Feb 16, 2011 6:03 AM
    Edited by: Basva on Feb 16, 2011 6:19 AM
    Edited by: Basva on Feb 17, 2011 6:07 AM

    HI All,
    Since 6 months i have been working as an APEX developer(SQL and PL/SQL)
    and i'm planning to learn DBA
    I'm bit confused to take my carrier with APEX development .
    Could any one help me with this..
    My questions are as shown below
    1)What is the demand in the market comparatively DBA and other Developers.
    2)how can i grow competitively in this field.
    Kindly help me with this.
    Based on your opinions i ll be taking the next step.
    Edited by: Basva on Feb 16, 2011 6:03 AM
    Edited by: Basva on Feb 16, 2011 6:19 AM
    Edited by: Basva on Feb 17, 2011 6:07 AM

  • Preventing automatic log out from Apex Developer session

    Hello,
    I've noticed that I am frequently being logged out of my Apex Developer session whenever I am tryng to 'return' to application builder after running/testing my application (using Apex Developer). It seems quite random as to whether it happens or not, but since migrating to Apex v4.2 it appears to be happening more frequently ( based on my first week of using this version). Is there any setting that can be applied to prevent this happening or to extend the timeout/inactivity period before it does happen,
    thanks in advance,
    Kevin.

    Login as INTERNAL / ADMIN and go to Manage Instance > Security. There, you can define the maximal
    Maximum Session Length in Seconds      
    The help says:
    "Enter a positive integer to control how many seconds an application session is allowed to exist. This setting is superceded by the application level setting. Leave the value null in order to revert to the default value of 8 hours (28800 seconds). Enter 0 to have the session exist indefinitely. This session duration may be superseded by the operation of the job that runs every hour which deletes sessions older than 12 hours."
    and the
    Maximum Session Idle Time in Seconds
    The help says:
    "Enter a positive integer to control how many seconds a session may remain idle for Oracle Application Express applications. This setting is superceded by the application-level setting. Leave the value null in order to revert to the default value of 1 hour (3600 seconds). Set to 0 to prevent session idle time checks from being performed."
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • APEX Developer Competition 2009 Winners

    Hi forum users,
    Check out the winners of APEX Developer Competition 2009 held by ORACLE Inc..
    Links: http://www.oracle.com/technology/products/database/application_express/html/comp_winners.html
    Regards,
    Tajuddin

    Tajuddin,
    Will you share your "ABC School Management System" publicly for learning purpose as I want to see your extra effort on this application.
    Waiting of your positive reply,
    Regards,
    Muhammad Yousuf.

  • What is the best way to practice SQL language?

    I’m new in database world and want to practice SQL language. I’ve been playing around with Oracle XE, but I realized it’s not very practical to play around with SQL using XE since its sql editor is not user friendly to debug the script. I’m trying to build schemas from scratch and play around with it using SQL. What is the best way to do this?
    Thanks in advance

    Valerie Debonair wrote:
    I’m new in database world and want to practice SQL language. I’ve been playing around with Oracle XE, but I realized it’s not very practical to play around with SQL using XE since its sql editor is not user friendly to debug the script. I do not think that is a valid criticism at all. The basic tools needed to learn SQL is SQL*Plus and a willingness to learn.
    There is no "+debugging+" for SQL either... except to break it into simpler steps, testing that... and perhaps using "+explain plan+" to get the execution plan.
    Granted that SQL*Plus is not the best tool for displaying data... but then learning SQL should be done using small data sets (not too many columns and few rows) - as even a small data set can represent all the data model complexities needed for learning SQL.
    The examples you use, the test tables and the practical exercises used in the learning process are by far more important how "pretty" the tool being used is.
    FWIW, I do 99% of all my SQL work and PL/SQL development using SQL*Plus - it is a very capable tool.

Maybe you are looking for

  • Is there a way to tell what folders/images I placed in my trash today?   specifically by date of entry into trash?

    I inadvertently deleted 6 folders from picasa which also deleted them from my Mac.  i have so many items in my trash that I do not know which they were....is there any way to track what items I placed in my trash only on today's date?  since I have n

  • How to import all of DV tape from camcorder with iDVD not just 1st session

    We're trying to lift the video off a Sony DV camera via firewire onto a mac mini, the recorded material is in several sessions of recording. Using iDVD's OneStep DVD this first session is imported from the camera and a DVD created with several loops

  • Safari history problem

    I am running Safari 7.1 on an iMac with OS 10.9.5 and my history is not being cleared as I have set up in Safari preferences. I have set up that it should be cleared after 1 day. It's not doing this, but I can clear out the history manually. Any sugg

  • Rolling 12 month report using FR

    Hi All, Could you all advice me on how I can create a 12 month rolling report using Financial Reports? Basically what we need is a report where we would be able to see across years, so for example if I were in March and running this report, I'd be ab

  • Oracle Workshop for WebLogic is slow

    Hi I am using Oracle Workshop for WebLogic Version: 10.3 & Build id: 1137967 on Windows7 32-bit OS with 4GB RAM It is too slow when creating/updating proxy message flow. Is there any settings to change? Thnak you Edited by: user11310683 on 9/10/2011