N
N
nak-alexey2018-02-15 11:33:38
JavaScript
nak-alexey, 2018-02-15 11:33:38

How to make framework7 work without a server?

Hello! I want to create a smartphone app on cordova with framework7 styles. It will work without the Internet, there will be only a few pages. I like how the elements are styled in this framework, but the problem is that it loads pages with ajax requests. How can I change the framework or set up pages to load without a server?

Answer the question

In order to leave comments, you need to log in

11 answer(s)
N
Nikolay RYZHOV, 2018-03-12
@Stendel

You will succeed, you will register routers, without being tied to the server, that is, locally, like

routes: [
        {
            name: 'main',
            path: '/main/',
           url: './pages/main.html'
        }, 
        {
            name: 'begin',
            path: '/',
            url: './index.html'
        } 
    ]

Cordova will pack all the folders into one apk, which will then be unpacked on the mobile and voila, requests will go locally without the Internet

E
Evgeny Yablokov, 2012-08-12
@angelform

For virtual machines, you can use Parallels for Mac. The license is paid, but Windows is well integrated there. Parallels does not cancel the ability to install Linux in virtual machines.
RAM, if possible, add. The bigger, the better. New aimags will probably come out without a sidirom. The case will probably shrink because of this, but I think an SSD can be added.
On the official website, in the store: store.apple.com/us/configure/MC814LL/A ? in the maximum configuration I got Summary $3,486.00 :) This is without NAS, TC, ATV, etc. If possible, take it :) There is 16Gb RAM, 2Tb SATA + SSD, ATI graphics 2GB. I think you have enough :)

A
Anatoly, 2012-08-12
@taliban

Why would you want to change your computer? You have a very productive system, change the awl for soap.

G
Gosha Arinich, 2012-08-11
@goshakkk_reborn

I have a 13" Macbook Air and a 27" Thunderbolt Display - IMO the best solution. Air is lightweight, thin - easy to carry anywhere. (The resolution on a 13" air, by the way, is more than on a 13" firmware.) The Thunderbolt display is also cool - 2560x1440, IPS, the MacBook can charge. If finances allow, buy it - you will not regret it.

G
Gosha Arinich, 2012-08-11
@goshakkk_reborn

1nd1go , the laptop update was this summer. The next, I believe, in a year it is necessary to wait.

V
Vyacheslav Slinko, 2012-08-12
@KeepYourMind

> because vmware and other delights
Do you have vmware on the poppy?
I wonder what you think of other charms on Windows?

@
@Twitt, 2012-08-12
_

If you are a designer or a photographer, take a macbook about retina, if you just use it, then probably not a Mac Mini, but a Mac Pro. (not to be confused with macbook pro)

M
mentatxx, 2012-08-12
@mentatxx

Get a mac mini.
I have a monitor with two inputs - on one computer with Windows Windows, on the other - mac mini.
Convenient to switch.

G
ggagnidze, 2012-08-12
@ggagnidze

If macmini, then server. If you don’t play games, then you don’t need a video card, and the processors are more powerful there + raid1 helps. At the very Air + monitor. And macmini downloads torrents and stores music and videos for the home library. If something very complicated needs to be done (for example, video editing), I do it on macmini through the built-in vnc. And so Air is enough.

E
Evgeny Yablokov, 2012-08-12
@Gular

Generally speaking, depending on what tasks, if we consider the realities.
If, in addition to some business, there is a desire and funds, take a top-end iMac. True, they do not have Retina yet. If it's not that important to you, fine. But I would recommend waiting for the end of autumn - perhaps this year they will still release new iMacs, then take it. If there are components that you want to improve, for example, an SSD, please ask at the time of purchase.

D
dsd_corp, 2012-08-12
@dsd_corp

I have an MBP'17-2011 upgraded to 16GB RAM.
an average of 120 chrome tabs in three fullscreen windows, a virtual machine with Windows in parallel (sometimes two at the same time - 32 and 64 bits), XCode, all sorts of Skype and other common software.
works without problems at all. The main thing is perhaps to get more memory, and everything is fine. the standard maximum of 8GB can be ignored - 16GB is supported without problems.
and I haven't gotten around to upgrading the screw to the SSD yet. everything will probably fly there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question